Open in the explorer

Specify thumbprints of certificates representing trusted .rdp publishers

Spécifier les empreintes numériques des certificats représentant des éditeurs .rdp approuvés

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Windows Components › Remote Desktop Services › Remote Desktop Connection Client FR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Services Bureau à distance › Client Connexion Bureau à distance
Supported on
At least Windows Vista with Service Pack 1 FR: Au minimum Windows Vista avec Service Pack 1
ADMX file
TerminalServer.admx
Internal name
TerminalServer/TS_CLIENT_TRUSTED_CERTIFICATE_THUMBPRINTS_2

Explanation

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. Users 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.

Note:

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.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de spécifier une liste d’empreintes de certificat qui déclarent les éditeurs approuvés de fichiers .rdp (Remote Desktop Protocol). Les empreintes SHA-256, SHA-384 et SHA-512 sont prises en charge. Les empreintes SHA-1 sont déconseillées : SHA-1 n’est plus considéré comme sécurisé et la prise en charge des empreintes SHA-1 sera désactivée par défaut dans une mise à jour de sécurité à venir. Les utilisateurs doivent migrer dès que possible toutes les entrées d’empreinte vers SHA-256 ou vers une version plus robuste.

Les empreintes peuvent être préfixées par l’algorithme de hachage utilisé pour les produire. Les préfixes pris en charge sont « sha256: », « sha384: » et « sha512: » (non sensibles à la casse). Par exemple : sha256:AB0356F2... Si aucun préfixe n’est spécifié, l’entrée est traitée comme une empreinte numérique SHA-1 héritée.

Si vous activez ce paramètre de stratégie, tout certificat dont l’empreinte correspond à une empreinte de la liste est approuvé. Si un utilisateur tente de démarrer un fichier .rdp signé par un certificat approuvé, il ne reçoit aucun message d’avertissement au démarrage du fichier.

Si vous désactivez ou ne configurez pas ce paramètre de stratégie, aucun éditeur n’est considéré comme éditeur approuvé de .rdp.

Remarque :

Vous pouvez définir ce paramètre de stratégie dans le nœud de configuration d’ordinateur ou dans le nœud de configuration d’utilisateur. Si vous configurez ce paramètre de stratégie pour l’ordinateur, la liste des empreintes de certificat approuvées pour un utilisateur est une combinaison de la liste définie pour l’ordinateur et de celle définie pour l’utilisateur.

Ce paramètre de stratégie remplace le comportement du paramètre de stratégie « Autoriser les fichiers .rdp issus d’éditeurs valides et les paramètres .rdp par défaut de l’utilisateur ».

Si la liste contient une chaîne qui n’est pas une empreinte numérique de certificat, elle est ignorée.

Consultez https://go.microsoft.com/fwlink/?LinkId=2368223 pour en savoir plus.

Registry

HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Enable

# Enable: TerminalServer/TS_CLIENT_TRUSTED_CERTIFICATE_THUMBPRINTS_2
$k = 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Comma-separated list of trusted certificate thumbprints (prefix with sha256:, sha384:, or sha512:)
Set-ItemProperty -Path $k -Name 'TrustedCertThumbprints' -Value '<value>' -Type String

Disable

# Disable: TerminalServer/TS_CLIENT_TRUSTED_CERTIFICATE_THUMBPRINTS_2
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": TerminalServer/TS_CLIENT_TRUSTED_CERTIFICATE_THUMBPRINTS_2
$k = 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services'
Remove-ItemProperty -Path $k -Name 'TrustedCertThumbprints' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Comma-separated list of trusted certificate thumbprints (prefix with sha256:, sha384:, or sha512:):Liste séparée par des virgules des empreintes numériques des certificats approuvés (préfixez par sha256:, sha384: ou sha512:) :TRUSTED_CERTIFICATE_THUMBPRINTSText boxtextTrustedCertThumbprintsREG_SZ
Required

Availability