Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

April 19, 2009 12:00 AM

Q. How do I allow users to manage Hyper-V remotely via the Hyper-V Microsoft Management Console snap-in?

Windows IT Pro
InstantDoc ID #101864
Rating: (0)

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

Related Reading

Videos:

Audio:


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.

Related Content:

ARTICLE TOOLS

Comments
    There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.