Difference between revisions of "Installing the Hyper-V Role"
(→Installing the Hyper-V Role) |
(→Installing the Hyper-V Role from the Command Prompt) |
||
Line 10: | Line 10: | ||
<pre> | <pre> | ||
− | servermanagercmd -install hyper-v | + | C:\Users\Administrator>servermanagercmd -install hyper-v |
.. | .. | ||
Revision as of 13:36, 6 January 2009
Microsoft Hyper-V is included as a standard feature of the 64-bit version Windows Server 2008 Standard, Enterprise and DataCenter editions. In addition, Hyper-V is available in both the full and core varients of these platforms. Hyper-V is not, however, installed and activated by default. The objective of this chapter, therefore, is to provide an overview of the steps involved in installing the Hyper-V role on a Windows Server 2008 system.
System Requirements
The remainder of this chapter assumes that a 64-bit edition of Windows Server 2008 is installed and running on a system with appropriate hardware to support hypervisor based virtualization. Detailed information on these requirements are outlined in the chapter entitled Hyper-V System Requirements.
Installing the Hyper-V Role from the Command Prompt
As previously mentioned, Hyper-V is provided by default with the 64-bit version of Windows Server 2008 Standard, Enterprise and Datacenter editions. Before it can be used, however, the Hyper-V role must installed. This process is achieved using the either the Server Manager tool, or via the command-prompt. To perform the installation at the command line, open a command prompt window with elevated privileges (right click on the command prompt icon in the Start menu and select Run as administrator from the resulting menu) and enter the following command:
C:\Users\Administrator>servermanagercmd -install hyper-v .. Start Installation... Warning: [Installation] Succeeded: [Hyper-V]. You must restart this server to fi nish the installation process. <100/100> Success: A restart is required to complete the installation.
Assuming this initial stage of the hyper-V installation process is successful, a reboot of the system will, as indicated by the above output, be necessary to complete the installation process.
Installing the Hyper-V Role using Server Manager
For those who prefer to using the graphical desktop environment to perform administrative tasks
Uninstalling the Hyper-V Role
C:\Users\Administrator>servermanagercmd -remove hyper-v .. Start Removal... Warning: [Removal] Succeeded: [Hyper-V]. You must restart this server to finish the removal process. <100/100> Success: A restart is required to complete the removal.