Thank you for your feedback.
Form temporarily unavailable. Please try again or contact docfeedback@servicenow.com to submit your comments.

Configure WinRM trusted hosts on MID Server

Log in to subscribe to topics and get notified when content changes.

Configure WinRM trusted hosts on MID Server

In environments using Windows Remote Management (WinRM), Discovery or Service Mapping can discover servers using the WinRM protocol. Add servers, which are part of WinRM, as trusted hosts on all MID Servers that Discovery or Service Mapping use for discovery.

Before you begin

Role required: mid_admin

About this task

MID Server cannot access servers using the WinRM protocol unless these servers are configured as trusted hosts for this MID Server.

Perform this procedure on each MID Server used by Service Mapping or Discovery.

Procedure

  1. On the MID Server, open the command-line shell.
  2. To add all servers to the TrustedHosts lists, run the following command:
    winrm s winrm/config/client @{TrustedHosts="*"}
  3. To add specific servers to the TrustedHosts list, run the command with the comma-separated hosts instead of the asterisk (*), for example:
    winrm s winrm/config/client @{TrustedHosts="serverA,serverB,serverC"}
Feedback