Specify thumbprints of certificates representing trusted .rdp publishers: registry value TrustedCertThumbprints and 1 more (HKLM Terminal Services)ComputerHKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
- Policy ID
- TS_CLIENT_TRUSTED_CERTIFICATE_THUMBPRINTS_1
- Scope
- Computer 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_SZComputer- 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_LOCAL_MACHINE\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 "HKLM\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 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Force | Out-Null New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'TrustedCertThumbprints' -PropertyType String -Value '<enter value>' -Force | Out-Null
DisableSHA1CertThumbprints
REG_DWORDComputer- Checked
- 1
- Unchecked
- 0
- Element
- Do not allow SHA-1 thumbprints
- Value type
- REG_DWORD
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services] ; Options (use only one) ; Checked "DisableSHA1CertThumbprints"=dword:00000001 ; Unchecked "DisableSHA1CertThumbprints"=dword:00000000
CMD
:: Options (use only one) :: Checked reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "DisableSHA1CertThumbprints" /t REG_DWORD /d 1 /f :: Unchecked reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "DisableSHA1CertThumbprints" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Force | Out-Null # Options (use only one) # Checked New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'DisableSHA1CertThumbprints' -PropertyType DWord -Value 1 -Force | Out-Null # Unchecked New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'DisableSHA1CertThumbprints' -PropertyType DWord -Value 0 -Force | Out-Null