esSJae's Virtualization Blog

Virtualization and other IT topics

(Quick and Dirty) Managing Hyper-V Server 2012 from Windows 8

Posted by essjae on September 26, 2012

Update:  HVRemote is now updated and supported for Win8.x and 2012, 2012 R2.

This is what I did to get this working for a Windows 8 computer on a domain and a Hyper-V Server in a workgroup on a separate subnet.  In this case, Hyper-V Server 2012 (HVS2012) is running in a VM on Workstation 8 on the Windows 8 machine and using the “host only” VMware network.  This assumes you’ve installed and are at the “Server Configuration” window.

Note: I’ve found that seems to help is the use the same username and password that you’re using on the Win8 computer for the HVS2012 server.

  1. Select “7” to enable remote desktop, “E” to enable, “2” allow clients running any version
  2. From the cmd prompt: “netsh advfirewall set allprofiles state off”
  3. Set a static IP address on your local network
  4. Add an entry with the static IP from 3 above with the name of your HVS2012 server in your Win8 hosts file ( c:\windows\system32\drivers\etc\hosts )
    1. In my case, the entry was  hvs2012-2
  5. Verify you can ping the Hyper-V server via name from Win8
  6. Download hvremote from and put a copy on both Win8 and HVS2012, from Win8’s start screen type “\\hvs2012-2\c$
  7. Run the command’s from John’s 10-second guide for client-domain, server-workgroup
    Server Create a local account (eg “john”) Use net user /? or Computer Management (this is already done from installation, so we can skip it)
    Server Grant the user access cscript hvremote.wsf /add:accountname           ***use the account you created, preferably one that matches username and password to your domain joined Win8 client(You’ll get warnings/errors about running an unknown OS and the firewall not being active, we can ignore them for now)
    Client Allow Anonymous Logon remote DCOM access cscript hvremote.wsf /anondcom:grant(you need to open a cmd prompt “as administrator”)(you’ll get the warning again about the unknown OS, again ignore)
    Client Set credentials for local account  cmdkey /add:servername /user:servername\accountname /pass(replace servername with the HVS2012 server’s name and account name with the one we created above (again, matching your Win8’s if possible)
  8. On Win8, start Hyper-V Manager and click “Connect to Server…”
  9. Enter the name of the HVS2012 server and it should resolve and you should see this:

At some point, you should get a prompt from the Windows firewall about allowing traffic through for this.

For more options for server management, get the RSAT for Windows 8 here:  (there are still some issues with RSAT, like connectivity to Device Manager, Disk Management, remote PowerShell.)  When I’ve added my HVS2012 server to Server Manager I get a “Kerberos authentication error” but am able to open Users, Groups, Services, etc without issue from Computer Management.  Remote Desktop works also.  I’ve ran “winrm qc” on HVS2012 but it doesn’t seem to help.

I’m no Kerberos or Powershell guru so I’m open to any steps to move beyond this.

Since I created my install drive at 8GB, I added a 2nd disk for VMs.  See this page:

Note: when you set up a Virtual Network with only one NIC you’ll get an RPC error message in the Hyper-V Manager, if you close it out and restart it, you’ll likely need to re-add it to see it again.

End result: Windows 7 VM running on a HVS2012VM on VMware Workstation on Windows 8 with HVS2012 managed by the same Windows 8

2 Responses to “(Quick and Dirty) Managing Hyper-V Server 2012 from Windows 8”

  1. […] Server 2012 and Windows 8). I read up on a blog post from Virtual Machine MVP Steve Jain ( and tested this myself. Yes, there are warnings and errors which you can ignore, but it does work. […]

  2. […] by essjae on October 1, 2012 Following my recent “quick and dirty” post, here’s the official TechNet info on configuring and managing Hyper-V Server […]

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: