Trusted Hosts

Policy ID
TrustedHosts
Scope
Computer Configuration
Supported on
At least Windows Vista
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Category
Windows Components › Windows Remote Management (WinRM) › WinRM Client

Description

This policy setting allows you to manage whether the Windows Remote Management (WinRM) client uses the list specified in TrustedHostsList to determine if the destination host is a trusted entity.

If you enable this policy setting, the WinRM client uses the list specified in TrustedHostsList to determine if the destination host is a trusted entity. The WinRM client uses this list when neither HTTPS nor Kerberos are used to authenticate the identity of the host.

If you disable or do not configure this policy setting and the WinRM client needs to use the list of trusted hosts, you must configure the list of trusted hosts locally on each computer.

Options

  • TrustedHostsList:
  • Syntax:
  • Configure the trusted hosts by a comma separated list
  • of host names. You can use wildcards (*) but only
  • one wildcard is allowed in a host name pattern.
  • Use "<local>" (case insensitive) is used to indicate
  • all host names that do not contain a period (.).
  • The list can be empty to indicate that no host is trusted.
  • Use asterisk (*) to indicate that all hosts are trusted.
  • If you use *, then no other pattern can appear in the list.
  • Examples:
  • *.mydomain.com indicates that all computer in mydomain.com are trusted
  • 2.0.* indicates that all IP addresses starting with 2.0. are trusted

Registry

ComputerHKEY_LOCAL_MACHINE
  • TrustedHosts-
  • TrustedHostsListREG_SZ

Other policies in the same category

View all policies in this category (7)