how to set trusted host

Discussion in 'Windows 10 Networking' started by ussnorway, Jan 24, 2016.

  1. ussnorway

    ussnorway Windows Forum Team
    Staff Member Premium Supporter

    Joined:
    May 22, 2012
    Messages:
    2,530
    Likes Received:
    314
    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.
     
  2. mattthumper

    mattthumper New Member

    Joined:
    Mar 10, 2016
    Messages:
    8
    Likes Received:
    0
    Thanks for the reply.
    Trying it now
     
    #2 mattthumper, Mar 11, 2016
    Last edited: Mar 11, 2016

Share This Page

Loading...