Specify thumbprints of certificates representing trusted .rdp publishers: registry value TrustedCertThumbprints (HKCU Terminal Services)UserHKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services

Policy ID
TS_CLIENT_TRUSTED_CERTIFICATE_THUMBPRINTS_2
Scope
User Configuration
Supported on
At least Windows Vista with Service Pack 1
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Category
Windows Components › Remote Desktop Services › Remote Desktop Connection Client

Registry

TrustedCertThumbprints

REG_SZUser
Enabled value
Depends on the option value
Element
Comma-separated list of trusted certificate thumbprints (prefix with sha256:, sha384:, or sha512:):
Value type
REG_SZ
Required
true
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services]

; Value names and types follow the ADMX. Replace <enter value> below with your own data
"TrustedCertThumbprints"="<enter value>"
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data

reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "TrustedCertThumbprints" /t REG_SZ /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data

New-Item -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'TrustedCertThumbprints' -PropertyType String -Value '<enter value>' -Force | Out-Null