This guide provides steps to enable WinRM and add the name of a remote machine in the trusted hosts list on the server where Devolutions Server is hosted. WinRM transport ports are 5985 for HTTP and 5986 for HTTPS.
-
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, consult Enable Windows Remote Shell and Installation and configuration for Windows Remote Management.
-
Add the name of the remote machine in the trusted hosts list of the machine on which Devolutions Server is hosted. Here are the PowerShell commands,
-
To add all remote hosts at once:
Set-Item WSMan:localhost\client\trustedhosts -value *
-
To add all remote hosts from a specific domain to the trusted host list:
Set-Item WSMan:\localhost\Client\TrustedHosts *.yourdomain.local
-
To add one single host to the existing trusted host list:
Set-Item WSMan:\localhost\Client\TrustedHosts host.yourdomain.local -Concatenate
-