HyperV Client Configuration

with No Comments

Connect to a Windows 2016 or Windows 10 remote host outside your domain, or with no domain

First:

winrm quickconfig

To do this:

  1. On the Hyper-V host to be managed, open a Windows PowerShell session as Administrator.
  2. Create the necessary firewall rules for private network zones:

    Enable-PSRemoting
    
  3. To allow remote access on public zones, enable firewall rules for CredSSP and WinRM:
    Enable-WSManCredSSP -Role server
    

    For details, see Enable-PSRemoting and Enable-WSManCredSSP.

Next, configure the computer you’ll use to manage the Hyper-V host.

  1. Open a Windows PowerShell session as Administrator.
  2. Run these commands:
    Set-Item WSMan:\localhost\Client\TrustedHosts -Value "fqdn-of-hyper-v-host"
    
    Enable-WSManCredSSP -Role client -DelegateComputer "fqdn-of-hyper-v-host"
    
  3. You might also need to configure the following group policy:
    • Computer Configuration > Administrative Templates > System > Credentials Delegation > Allow delegating fresh credentials with NTLM-only server authentication
    • Click Enable and add wsman/fqdn-of-hyper-v-host.
  4. Open Hyper-V Manager.
  5. In the left pane, right-click Hyper-V Manager.
  6. Click Connect to Server.