WinRM and trusted hosts list

This guide provides steps to enable WinRM and add the remote machine's names in the Trusted Hosts list on the server where Devolutions Server is hosted.

WinRM transport ports are 5985 for HTTP and 5986 for HTTPS.

  1. Ensure that WinRM is enabled on the remote machine where the local accounts are located. The winrm quickconfig command can be used to enable WinRM. For further details please see Enable Windows Remote Shell and Installation and configuration for Windows Remote Management.
  2. Ensure to add the remote machine's name in the trusted hosts list of the machine where Devolutions Server is hosted.
    1. To add all remote hosts, the PowerShell command is: Set-Item WSMan:localhost\client\trustedhosts -value *
    2. To add all remote hosts from a specific domain to the trusted host list: Set-Item WSMan:\localhost\Client\TrustedHosts *.yourdomain.local
    3. To add one single host to the existing trusted host list: Set-Item WSMan:\localhost\Client\TrustedHosts host.yourdomain.local -Concatenate
Give us Feedback