How to Remotely Administrate Hyper-V Server 2008 R2 in a Workgroup
// September 29th, 2009 // No Comments » // Uncategorized
One of the most annoying things with Microsoft is their model of authenticating outside of a domain. I found out the hard way when configuring Hyper-V Server 2008 R2 and trying to use the remote administration tools. I kept getting an error that I couldn’t connect to the Hyper-V Service. Here are the proper steps to get it working.
- Make sure to have a user account that is an administrator on the Hyper-V machine with th same user name that you are logged in with. If you are logged in locally as administrator (bad, bad, bad) on your desktop or laptop then make sure that the password matches on the Hyper-V server. This works even if you’re in a domain and the Hyper-V server is not.
- Install the Remote Administration Tools for Windows 7 or Vista. You can get the Windows 7 ones here: http://www.microsoft.com/downloads/details.aspx?FamilyID=48359dd2-1c3d-4506-ae0a-232d0314ccf6&displaylang=en or Vista ones here http://www.microsoft.com/downloads/details.aspx?FamilyId=9FF6E897-23CE-4A36-B7FC-D52065DE9960&displaylang=en .
- Once you install them you have to actually enable the remote administration tools so go to Control Panel and choose Programs and Turn Windows Features On or Off. Now scroll down and expand Remote Server Administration Tools and add the ones you want to enable by checking the boxes. The Hyper-V tools are located in the Role Adminstation Tools.
- Click Ok and let Windows Configure the installation of the tools.
- Now on the local Vista or Windows 7 machine click on Start and in the search type dcomcnfg and hit enter
- Expand Component Services until you see My Computer
- Now right-click on My Computer and go to properties
- Click on COM Security
- Under Access Permissions click on Edit Limits
- Click on ANONYMOUS LOGON and check the box for Remote Access and hit OK (this actually allows you to connect to the Hyper-V service on the remote server. This is the part that irritated me the most).
- Click OK twice and close Component Services
- Now go to Start – Administrative Tools and launch Hyper-V Manager (or create a custom MMC, whatever makes you happy)
- If prompted by the UAC click Yes.
- In the left pane right-click on Hyper-V Manager and choose Connect to Server.
- Type the name of the server you created and hit OK.
- You should now be able to successfully manage the server remotely. You can also use Computer Management and other MMC plugins for remote administration. Provided that you configured the firewall on the Hyper-V server to allow this administration.