none
Manage Core Server 2012 Hyper-V in a workgroup from Windows 8

    Question

  • I have been unable to remotely manage Hyper-V in my Core install of Server 2012 from a Windows 8 machine. Both belong to a workgroup.

    I followed the instructions here: http://technet.microsoft.com/en-us/library/jj647785.aspx

    On the Windows 8 machine I also ran the Windows PowerShell cmdlet: Set-Item WSMan:\localhost\Client\TrustedHosts -Value <RemoteServerName> -Concatenate

    as specified here: http://technet.microsoft.com/en-us/library/jj647788.aspx

    I was still unable to connect to the server using any MMC snap-ins even after enabling remote management. Eventually I completely disabled the firewall on the server, which allowed some snap-ins to work, however the Hyper-V Management snap-in refuses to connect, giving a permission error.


    • Edited by sdfsaasgafg Sunday, September 09, 2012 5:12 PM Fixed link
    Sunday, September 09, 2012 5:43 AM

All replies

  • Same issue here, my Win 8 machine however is part of a domain, the Hyper-V machine when in workgroup mode cannot be managed, when I join it to the domain, it's fully manageable.
    Sunday, September 09, 2012 1:22 PM
  • Hi,

    Based on my testing, it will work in a domain but not in a workgroup.

    Please disable anti-virus software and see if you get the same issue.

    By the way, please try the HVremote tool.

      • HVRemote reduces the manual configuration steps needed for Hyper-V Remote Management down to a few simple commands.
      • HVRemote can diagnose common configuration errors.
      • HVRemote is locale neutral, although output is in English only.
      • HVRemote can configure all combinations of workgroup and domain joined clients and servers.


    For more details, check the article.

    http://archive.msdn.microsoft.com/HVRemote

    Best regards,

    Monday, September 17, 2012 5:45 AM
    Moderator
  • I've heard of HVRemote, but have never used it and didn't know if it worked under Server 2012 or if it was even still needed.

    I will try it.

    Monday, September 17, 2012 1:43 PM
  • http://publicjotting.blogspot.nl/2012/06/hyper-v-server-2012-and-remote-hyper-v.html

    Hyper-V Server 2012 and remote hyper-v management in a workgroup (on windows 8 client)

    For the Windows Hyper-V Server 2012 (=core)

        Enable remote config (sconfig.cmd option 4)
        Add a local administrator  (sconfig.cmd option 3)
            with same username and password as you are using on the Windows 8 Client
            with other username and password (on client you need to use

            cmdkey /add:<ServerName> /user:<UserName> /pass:<password>  

    For other remote admin like Event Viewer, Volume Management etc. some firewall rules need to be enabled:


    netsh advfirewall firewall set rule group="Remote Administration" new enable=yes
    netsh advfirewall firewall set rule group="File and Printer Sharing" new enable=yes
    netsh advfirewall firewall set rule group="Remote Service Management" new enable=yes
    netsh advfirewall firewall set rule group="Performance Logs and Alerts" new enable=yes
    Netsh advfirewall firewall set rule group="Remote Event Log Management" new enable=yes
    Netsh advfirewall firewall set rule group="Remote Scheduled Tasks Management" new enable=yes
    netsh advfirewall firewall set rule group="Remote Volume Management" new enable=yes
    netsh advfirewall firewall set rule group="Remote Desktop" new enable=yes
    netsh advfirewall firewall set rule group="Windows Firewall Remote Management" new enable =yes
    netsh advfirewall firewall set rule group="windows management instrumentation (wmi)" new enable =yes
    sc config vds start= auto
    net start vds


    (for readonly remote device manager I enabled GPO "Allow remote access to the Plug and Play interface", but still got an error trying to open a remote device manager)
    For the Windows 8 Client

        Install Hyper-V Client Tools using "Turn Windows Feature on or off" (win-Q, search on "control panel", etc.)
        Start component services config (win-Q, search on "DCOMCNFG", right click and select "Run as administrator"
        Select "Console Root > Component Services > Computers > My Computer"
        Right click and select properties
        Select the tab "COM Security"
        Click on "Edit Limits" for the Access Permissions
        Allow remote access by setting the checkmark for the "ANONYMOUS LOGON"

    For other remote admin like Event Viewer, Volume Management etc. you also need to open firewall on client using script above.

    Tested this on the RC version of both server and client.
    • Proposed as answer by LuckyLuke900 Wednesday, January 09, 2013 8:04 PM
    Sunday, November 18, 2012 8:10 PM
  • Firewall Rules in German:

    netsh advfirewall firewall set rule group="Windows-Remoteverwaltung" new enable=yes
    netsh advfirewall firewall set rule group="Datei- und Druckerfreigabe" new enable=yes
    netsh advfirewall firewall set rule group="Remotedienstverwaltung" new enable=yes
    netsh advfirewall firewall set rule group="Leistungsprotokolle und -warnungen" new enable=yes
    Netsh advfirewall firewall set rule group="Remote-Ereignisprotokollverwaltung" new enable=yes
    Netsh advfirewall firewall set rule group="Remoteverwaltung geplanter Aufgaben" new enable=yes
    netsh advfirewall firewall set rule group="Remotevolumeverwaltung" new enable=yes
    netsh advfirewall firewall set rule group="Remotedesktop" new enable=yes
    netsh advfirewall firewall set rule group="Windows-Firewallremoteverwaltung" new enable =yes
    netsh advfirewall firewall set rule group="Windows-Verwaltungsinstrumentation (WMI)" new enable =yes
    sc config vds start= auto
    net start vds

    Saturday, June 29, 2013 5:25 PM
  • This worked for me. Good job.
    Wednesday, April 02, 2014 6:15 PM
  • All,

    New 5nine Manager 5.0 for Hyper-V is available! http://www.5nine.com/5nine-manager-for-hyper-v-product.aspx

    New features include:

    •Replication to enable failover of production workloads to a secondary site for disaster recovery
    •Group operations for multiple VMs
    •Applications logs
    •Enhanced agentless anti-malware
    •Automated virtual machine (VM) provisioning
    •Enhanced cluster management
    VMs Guest connection views through FreeRDP or Microsoft controls
    •And much, much more...

    Tuesday, June 24, 2014 6:39 PM