Do not allow hardware accelerated decoding
Ne pas autoriser le décodage matériel accéléré
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.
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
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 0 |
| Disabled | REG_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 DWordDisable
# 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 DWordRevert 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