Open in the explorer

Use hardware graphics adapters for all Remote Desktop Services sessions

Utiliser des cartes graphiques de matériel pour toutes les sessions des Services Bureau à distance

In Windows 10 1607, this policy replaces Terminalserver-Server/TS_DX_USE_FULL_HWGPU (moved to another file).

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Remote Desktop Services › Remote Desktop Session Host › Remote Session Environment FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Services Bureau à distance › Hôte de la session Bureau à distance › Environnement de session à distance
Supported on
At least Windows Server 2012, Windows 8 or Windows RT FR: Au minimum Windows Server 2012, Windows 8 ou Windows RT
ADMX file
TerminalServer.admx
Internal name
TerminalServer/TS_DX_USE_FULL_HWGPU

Explanation

This policy setting enables system administrators to change the graphics rendering for all Remote Desktop Services sessions.

If you enable this policy setting, all Remote Desktop Services sessions use the hardware graphics renderer instead of the Microsoft Basic Render Driver as the default adapter.

If you disable this policy setting, all Remote Desktop Services sessions use the Microsoft Basic Render Driver as the default adapter.

If you do not configure this policy setting, Remote Desktop Services sessions on the RD Session Host server use the Microsoft Basic Render Driver as the default adapter. In all other cases, Remote Desktop Services sessions use the hardware graphics renderer by default.

NOTE: The policy setting enables load-balancing of graphics processing units (GPU) on a computer with more than one GPU installed. The GPU configuration of the local session is not affected by this policy setting.

French text from Windows 11 26H2

Ce paramètre de stratégie permet aux administrateurs système de modifier l’affichage graphique pour toutes les sessions des Services Bureau à distance.

Si vous activez ce paramètre de stratégie, toutes les sessions des Services Bureau à distance utilisent le rendu graphique matériel plutôt que le pilote de rendu de base Microsoft comme adaptateur par défaut.

Si vous désactivez ce paramètre de stratégie, toutes les sessions des Services Bureau à distance utilisent le pilote d’affichage de base Microsoft comme adaptateur par défaut.

Si vous ne configurez pas ce paramètre de stratégie, les sessions des Services Bureau à distance sur le serveur hôte de Session Bureau à distance utilisent le pilote d’affichage de base Microsoft comme adaptateur par défaut. Dans tous les autres cas, les sessions des Services Bureau à distance utilisent le rendu graphique matériel par défaut.

Remarque : Le paramètre de stratégie permet à l’équilibrage de charge du traitement des unités (GPU) sur un ordinateur avec plusieurs GPU installées. La configuration du GPU de la session locale n’est pas affectée par ce paramètre de stratégie.

Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
Value name
bEnumerateHWBeforeSW
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_DX_USE_FULL_HWGPU
$k = 'HKLM:\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 'bEnumerateHWBeforeSW' -Value 1 -Type DWord

Disable

# Disable: TerminalServer/TS_DX_USE_FULL_HWGPU
$k = 'HKLM:\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 'bEnumerateHWBeforeSW' -Value 0 -Type DWord

Revert to "Not configured"

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

Availability