Open in the explorer

Do not allow hardware accelerated decoding

Ne pas autoriser le décodage matériel accéléré

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Remote Desktop Services › Remote Desktop Connection Client FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Services Bureau à distance › Client Connexion Bureau à distance
Supported on
At least Windows Server 2016, Windows 10 FR: Au moins Windows Server 2016, Windows 10
ADMX file
TerminalServer.admx
Internal name
TerminalServer/TS_CLIENT_DISABLE_HARDWARE_MODE

Explanation

This policy setting specifies whether the Remote Desktop Connection can use hardware acceleration if supported hardware is available. If you use this setting, the Remote Desktop Client will use only software decoding. For example, if you have a problem that you suspect may be related to hardware acceleration, use this setting to disable the acceleration; then, if the problem still occurs, you will know that there are additional issues to investigate. If you disable this setting or leave it not configured, the Remote Desktop client will use hardware accelerated decoding if supported hardware is available.

French text from Windows 11 26H2

Ce paramètre de stratégie spécifie si la connexion Bureau à distance peut utiliser l'accélération matérielle si du matériel pris en charge est disponible. Si vous utilisez ce paramètre, le Client Bureau à distance utilise le décodage logiciel uniquement. Par exemple, si vous avez un problème dont vous soupçonnez qu'il peut être lié à l'accélération matérielle, utilisez ce paramètre pour désactiver l'accélération. Ensuite, si le problème persiste, vous saurez qu'il y a des problèmes supplémentaires à examiner. Si vous désactivez ce paramètre ou que vous ne le configurez pas, le Client Bureau à distance utilise le décodage matériel accéléré si du matériel pris en charge est disponible.

Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\Client
Value name
EnableHardwareMode
StateValue written
EnabledREG_DWORD = 0
DisabledREG_DWORD = 1

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

Disable

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

Revert to "Not configured"

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

Availability