Install & Configure Hyper-V in Windows Server 2008 (64-bit) Core install

Installing and enabling the Hyper-V role in Windows Server 2008 Core installation (64-bit) takes a few commands from the command-line. Click here for a step by step procedure to install and configure on a Windows Server 2008 Full installation. If you have installed your Windows Server 2008 from a recent media download or shipped by microsoft then chances are that you already have the Hyper-V Role installed on your system but not enabled yet.

To confirm run the following command and look for KB950050:

C:\Users\Administrator> wmic qfe list

If the update is not installed, download and install the KB950050 update as follows:

C:\Users\Administrator> wusa.exe Windows6.0-KB950050-x64.msu /quiet

Once installed, reboot your server and add the Hyper-V role as follows:

C:\Users\Administrator> start /w ocsetup Microsoft-Hyper-V

This should add the Hyper-V role onto your Windows Server 2008 Core installation. Reboot the server as follows for the Hyper-V installation to succefully complete and configure.

C:\Users\Administrator> shutdown /r /t 0

Remote Administration of Hyper-V

The Windows Server 2008 Core running the Hyper-V role now needs to be configured for remote administration so they can be remotely controlled from a Windows Vista or another Windows Server 2008 (32-bitor 64-bit) installation where the Hyper-V Management tools are installed.

The remote user should be a Local Administrator on the local system to administer the server. Add a user to the system and to the Administrator group as follows:

C:\Users\Administrator> net localgroup administrators /add <domain>\<user>

Firewall Rules to allow WMI

From an elevated command prompt (Run As admin, if not an administrator) type the following command:

C:\Users\Administrator> netsh advfirewall firewall set rule group="Windows Management Instrumentation (WMI)" new enable=yes

DCOM permission for remote User

Modify the DCOM permissions as follows to provide access to the remote user:

C:\Users\Administrator> net localgroup "Distributed COM Users" /add <domain_name>\<user_name>

where <domain_name>\<user_name> is the domain name and the username of the remote user.

Modify Authorization Policy

Log on to the computer on which you will run the Hyper-V management tools, using a domain account that is a member of the Administrators group on the computer running a Server Core installation.

Click Start, click Start Search and type azman.msc.

In the left pane, right-click Authorization Manager and click Open Authorization Store. Make sure that XML file is selected and type:

In the left pane, click Hyper-V services, and then click Role Assignments. Right-click Administrator, point to Assign Users and Groups, and then point to From Windows and Active Directory. In the Select Users, Computers, or Groups dialog box, type the domain name and user name of the user account, and then click OK. Close Authorization Manager.

WMI Permissions for CIMV2 & Virtualization Name spaces

Click Start, click Administrative Tools, and then click Computer Management. From the action menu, select the option "Connect to another computer" and connect to the server running Hyper-V role.

In the rightpane, click Services and Applications, right-click WMI Control, and then click Properties.

Click the Security tab. Click Root and then click CIMV2. Below the namespace list, click Security. In the Security for ROOT\CIMV2 dialog box, check to see if the appropriate user is listed. If not, click Add. In the Select Users, Computers, or Groups dialog box, type the name of the user and click OK.

On the Security tab, select the name of the user. Under Permissions for <user or group name>, click Advanced. On the Permissions tab, verify that the user you want is selected and then click Edit. In the Permission Entry for CIMV2 dialog box, modify three settings as follows:
• For Apply to, select This namespace and subnamespaces.
• In the Permissions list, in the Allow column, select the Remote Enable check box.
• Below the Permissions list, select the Apply these permissions to objects and/or containers within this container
only check box.

Click OK in each dialog box until you return to the WMI Control Properties dialog box.

Repeat the process for the Virtualization namespace

Restart the server for the changes to take effect.

Now, you are all set, install the required update package as follows based on your operating system from which you would want to connect to the Hyper-V Server.

For Windows Server 2008 (seperate versions available for 32-bit & 64-bit), click here

For Windows Vista 32-bit, click here

For Windows Vista 64-bit, click here

Technorati : , ,
Del.icio.us : , ,
Zooomr : , ,
Flickr : , ,


0 Response to "Install & Configure Hyper-V in Windows Server 2008 (64-bit) Core install"

Post a Comment