Windows 10 how to set trusted host

ussnorway

Windows Forum Team
Staff member
Premium Supporter
Just a heads up, I run into an issue after the lastest patch stopped my hyper-v server from talking to my laptop... it appears that the basic
Code:
winrm set winrm/config/client '@{TrustedHosts="THE_NAME_OF_THE_SERVER"}'

no longer works and I had to go around it using
Code:
Get-Item WSMan:\localhost\Client\TrustedHosts
to see what host is trusted and
Code:
Set-Item WSMan:\localhost\Client\TrustedHosts -Value "name-of-host"
to set a new trusted hosts
... you of course still need to use an admin powershell...

note: that you will need to turn the Winrm service on before you can apply these codes but once you have your server set to be trusted then go ahead and turn that service back off... it's not actualy needed to manage a hyper-v by remote.
 
Back
Top