Remotely manage Hyper-V hosts with Hyper-V Manager

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

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:
    nable-WSManCredSSP -Role server
    
    
    
    
  4. Next, configure the computer you’ll use to manage the Hyper-V host.
  5. Open a Windows PowerShell session as Administrator.
  6. 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"
    
    
  7. You might also need to configure the following group policy:
  8. Computer Configuration > Administrative Templates > System > Credentials Delegation > Allow delegating fresh credentials with NTLM-only server authentication
  9. Click Enable and add wsman/fqdn-of-hyper-v-host.
  10. Open Hyper-V Manager.
  11. In the left pane, right-click Hyper-V Manager.
  12. Click Connect to Server. https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/manage/remotely-manage-hyper-v-hosts

留言

熱門文章