A. For users to manage a Hyper-V server remotely, you need to configure Windows Management Instrumentation access, DCOM permissions, firewall exceptions on the server and the client, and Authorization Manager access (which I'll cover in detail in the next FAQ).
Fortunately, the Hyper-V Remote Management Configuration Utility (HVRemote), available from Microsoft allows you to give the appropriate permissions on the Hyper-V server to a specified user. Note that this utility makes the user an administrator of Hyper-V. If you don't want the user to have those permissions, you'll need to update manually after running the utility, as described in the next FAQ, and remove the user from the Administrator role assignment. You should read the help documentation on HVRemote for more details on the utility.
The only manual step you need to perform on the client is to enable the firewall exceptions. You can do this by running HVRemote on the client with the command "cscript hvremote.wsf /mmc:enable" or by running the command
netsh advfirewall firewall set rule group="Windows Management Instrumentation (WMI)" new enable=yes Netsh firewall add allowedprogram program=%windir%system32\mmc.exe name="Microsoft Management Console"
You also need to set the DCOM permissions on the server for Authenticated Users by launching dcomcnfg and expanding Component Services, then Computer, then My Computer. Under Properties, select the COM Security tab. Click Edit Limits... under Launch and Activation Permissions and add Authenticated Users and grant Remote Launch and Remote Activation permissions, as shown here. Also, click Edit Limits... under the Access Permissions section and ensure Remote Access is allowed for ANONYMOUS LOGON. You need to reboot the server for the DCOM changes to take effect.
Click to expand
- Q. What is Microsoft Enterprise Desktop Virtualization (MED-V)?
- Q. Why isn't virtualization supported for the Exchange Server 2007 Unified Messaging (UM) server role?
- Four for Free: No-Cost Virtualization Tools and Utilities
- More virtualization articles
- Perform a Physical to Virtual (P2V) Migration with SCVMM 2008
- Perform a Virtual to Virtual (V2V) Migration with SCVMM 2008
- Virtual Desktop Infrastructure Introduction
- Virtualization and Hyper-V Architecture Fundamentals
Check out hundreds more useful Q&As like this in John Savill's FAQ for Windows. Also, watch instructional videos made by John at ITTV.net.