Windows 10 how to set trusted host


Windows Forum Team
Staff member
Premium Supporter
May 22, 2012
outback nsw
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
winrm set winrm/config/client '@{TrustedHosts="THE_NAME_OF_THE_SERVER"}'

no longer works and I had to go around it using
Get-Item WSMan:\localhost\Client\TrustedHosts
to see what host is trusted and
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.
Top Bottom