en-US windows computer

Specify thumbprints of certificates representing trusted .rdp publishers

Verified with Windows 11 26H2 — updated on November 10, 2026 Supported on: At least Windows Vista with Service Pack 1

Windows 11 26H2

Path in the GPO console

Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Connection Client

Registry

HKLM SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services

MDM / Intune (CSP)

./Device/Vendor/MSFT/Policy/Config/ADMX_TerminalServer/TS_CLIENT_TRUSTED_CERTIFICATE_THUMBPRINTS_1
Device Since Windows 10, version 2004 with KB5005101 [10.0.19041.1202] and later | Windows 10, version 20H2 with KB5005101 [10.0.19042.1202] and later | Windows 10, version 21H1 with KB5005101 [10.0.19043.1202] and later | Windows 11, version 21H2 [10.0.22000] and later Official mapping (Microsoft Learn)

Microsoft Learn documentation Mapping data: Microsoft Learn (CC BY 4.0)

Options

Comma-separated list of trusted certificate thumbprints (prefix with sha256:, sha384:, or sha512:):
TrustedCertThumbprints text

Description

This policy setting allows you to specify a list of certificate thumbprints that represent trusted Remote Desktop Protocol (.rdp) file publishers. SHA-256, SHA-384, and SHA-512 thumbprints are supported. SHA-1 thumbprints are deprecated: SHA-1 is no longer considered secure and support for SHA-1 thumbprints will be disabled by default in an upcoming security update. Administrators should migrate all thumbprint entries to SHA-256 or stronger as soon as possible. Thumbprints may be prefixed with the hash algorithm used to produce them. Supported prefixes are "sha256:", "sha384:", and "sha512:" (case-insensitive). For example: sha256:AB0356F2... If no prefix is specified, the entry is treated as a legacy SHA-1 thumbprint. If you enable this policy setting, any certificate with a thumbprint that matches a thumbprint on the list is trusted. If a user tries to start an .rdp file that is signed by a trusted certificate, the user does not receive any warning messages when they start the file. If you disable or do not configure this policy setting, no publisher is treated as a trusted .rdp publisher. Notes: You can define this policy setting in the Computer Configuration node or in the User Configuration node. If you configure this policy setting for the computer, the list of certificate thumbprints trusted for a user is a combination of the list defined for the computer and the list defined for the user. This policy setting overrides the behavior of the "Allow .rdp files from valid publishers and user's default .rdp settings" policy setting. If the list contains a string that is not a certificate thumbprint, it is ignored. See https://go.microsoft.com/fwlink/?LinkId=2368223 for more information.

Export Builder

BETA

Configure the state, scope and options, then generate .reg, PowerShell, Intune and SCCM outputs — or add the setting to a multi-setting collection.

These exports write the registry — this is not a managed GPO. ⓘ

.reg file

Windows Registry Editor Version 5.00

; Exported from gporais.com
; Policy: Specify thumbprints of certificates representing trusted .rdp publishers
; State: Enabled
; Supported on: At least Windows Vista with Service Pack 1

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services]
"TrustedCertThumbprints"=""
More formats (PowerShell, Intune, SCCM)

PowerShell

# Exported from gporais.com
# Policy: Specify thumbprints of certificates representing trusted .rdp publishers
# State: Enabled
# Supported on: At least Windows Vista with Service Pack 1

$path = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'TrustedCertThumbprints' -Value '' -Type String

Building a multi-setting collection? Add this setting and generate combined .reg / PowerShell / GPO scripts.

Open the Builder

Embed this policy on your site

What to embed
Theme

Adds one script line: the theme follows your site’s appearance and the height fits the content. If your site blocks scripts, the embed follows the visitor’s system theme.

Preview