Categories
Hyper-V Server 2019 Windows

Remotely managing Hyper-V server not on domain

So I decided to downsize my environment and got rid of my desktop, server and multiple other devices. So all I have now is my Alienware laptop and an old desktop I built with Server 1709 to play around with. Well since i no longer have a Domain, I was having major problems connecting to it remotely from my laptop.

Luckily I stumbled on to this post that walked me through the security setup and I’m now good to go.

Quick and Dirty commands but keep in mind this adds ALL to the trustedhosts. If you want to lock it down, change * to “FQDN-HyperV-Server”

On Hyper-V Server:

  • Open Powershell session as Admin
  • Enable-PSRemoting
  • Enable-WSManCredSSP -Role server

On Computer you want to manager Hyper-V Server from:

  • Start Windows Remote Management Service and set to automatic
  • Open Powershell session as Admin
  • Set-Item WSMan:\localhost\Client\TrustedHosts -Value *
  • Enable-WSManCredSSP -Role client -DelegateComputer *
  • 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.