Open in the explorer

Allow .rdp files from unknown publishers

Autoriser les fichiers .rdp issus d’éditeurs inconnus

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_ALLOW_UNSIGNED_FILES_1

Explanation

This policy setting allows you to specify whether users can run unsigned Remote Desktop Protocol (.rdp) files and .rdp files from unknown publishers on the client computer.

If you enable or do not configure this policy setting, users can run unsigned .rdp files and .rdp files from unknown publishers on the client computer. Before a user starts an RDP session, the user receives a warning message and is asked to confirm whether they want to connect.

If you disable this policy setting, users cannot run unsigned .rdp files and .rdp files from unknown publishers on the client computer. If the user tries to start an RDP session, the user receives a message that the publisher has been blocked.

French text from Windows 11 26H2

Ce paramètre de stratégie permet de spécifier si les utilisateurs peuvent exécuter les fichiers .rdp (Remote Desktop Protocol) non signés ou issus d’éditeurs inconnus sur l’ordinateur client.

Si vous activez ce paramètre de stratégie ou ne le configurez pas, les utilisateurs peuvent exécuter les fichiers .rdp non signés ou issus d’éditeurs inconnus sur l’ordinateur client. Avant de démarrer une session RDP, l’utilisateur reçoit un message d’avertissement qui l’invite à confirmer qu’il souhaite bien se connecter.

Si vous désactivez ce paramètre de stratégie, les utilisateurs ne peuvent pas exécuter les fichiers .rdp non signés ou issus d’éditeurs inconnus sur l’ordinateur client. Si l’utilisateur tente de démarrer une session RDP, il reçoit un message qui l’avertit que l’éditeur a été bloqué.

Registry

HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
Value name
AllowUnsignedFiles
StateValue written
EnabledREG_DWORD = 1
DisabledREG_DWORD = 0

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_ALLOW_UNSIGNED_FILES_1
$k = 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowUnsignedFiles' -Value 1 -Type DWord

Disable

# Disable: TerminalServer/TS_CLIENT_ALLOW_UNSIGNED_FILES_1
$k = 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowUnsignedFiles' -Value 0 -Type DWord

Revert to "Not configured"

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

Availability