Use WDDM graphics display driver for Remote Desktop Connections
Utiliser le pilote d'écran WDDM pour les connexions Bureau à distance
Explanation
This policy setting lets you enable WDDM graphics display driver for Remote Desktop Connections.
If you enable or do not configure this policy setting, Remote Desktop Connections will use WDDM graphics display driver.
If you disable this policy setting, Remote Desktop Connections will NOT use WDDM graphics display driver. In this case, the Remote Desktop Connections will use XDDM graphics display driver.
For this change to take effect, you must restart Windows.
Ce paramètre de stratégie vous permet d'activer le pilote d'affichage graphique WDDM pour les connexions Bureau à distance.
Si vous activez ce paramètre de stratégie ou si vous ne le configurez pas, les connexions Bureau à distance utilisent le pilote d'affichage graphique WDDM.
Si vous désactivez ce paramètre de stratégie, les connexions Bureau à distance n'utilisent pas le pilote d'affichage graphique WDDM. Dans ce cas, les connexions Bureau à distance utilisent le pilote d'affichage graphique XDDM.
Vous devez redémarrer Windows pour que cette modification prenne effet.
Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services- Value name
fEnableWddmDriver
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_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_SERVER_WDDM_GRAPHICS_DRIVER
$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 'fEnableWddmDriver' -Value 1 -Type DWordDisable
# Disable: TerminalServer/TS_SERVER_WDDM_GRAPHICS_DRIVER
$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 'fEnableWddmDriver' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": TerminalServer/TS_SERVER_WDDM_GRAPHICS_DRIVER
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services'
Remove-ItemProperty -Path $k -Name 'fEnableWddmDriver' -ErrorAction SilentlyContinue