Skip to content

Instantly share code, notes, and snippets.

@PecceG2
Created August 11, 2021 22:13
Show Gist options
  • Save PecceG2/2bf00f71334cf19c2acb2467d6124cae to your computer and use it in GitHub Desktop.
Save PecceG2/2bf00f71334cf19c2acb2467d6124cae to your computer and use it in GitHub Desktop.
Remotely manage a out-of-domain Hyper-V Server
Hyper-V Server side (Powershell):
Enable-PSRemoting
Enable-WSManCredSSP -Role server
Client side:
Go to start menu -> Turn windows features on or off -> Enable "Hyper-V GUI Management Tools"
Go to start menu -> Open Powershell as Administrator:
Enable-PSRemoting
Set-Item WSMan:\localhost\Client\TrustedHosts -Value "HyperVServerDNS"
Enable-WSManCredSSP -Role client -DelegateComputer "HyperVServerDNS"
Open Group Policy Editor:
Go to: Computer Configuration, Administrative Templates, System, Credential Delegation
Turn on Allow delegating ¡¡FRESH!! credentials with NTLM-only server authentication and add your hyper-v-server DNS with wsman/ (example: wsman/HyperVServerDNS)
Run on PowerShell as Administrator:
gpupdate /force
Enjoy x2x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment