Prioritize H.264/AVC 444 graphics mode for Remote Desktop Connections
Hiérarchiser le mode graphique H.264/AVC 444 la priorité pour les connexions Bureau à distance
Explanation
This policy setting prioritizes the H.264/AVC 444 graphics mode for non-RemoteFX vGPU scenarios. When you use this setting on the RDP server, the server will use H.264/AVC 444 as the codec in an RDP 10 connection where both the client and server can use H.264/AVC 444.
Ce paramètre de stratégie hiérarchise le mode graphique H.264/AVC 444 pour les scénarios n'impliquant pas de processeur graphique virtuel RemoteFX. Lorsque vous utilisez ce paramètre sur le serveur RDP, le serveur utilise H.264/AVC 444 en tant que codec dans une connexion RDP 10 où le client et le serveur peuvent utiliser H.264/AVC 444.
Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services- Value name
AVC444ModePreferred
| 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_AVC444_MODE_PREFERRED
$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 'AVC444ModePreferred' -Value 1 -Type DWordDisable
# Disable: TerminalServer/TS_SERVER_AVC444_MODE_PREFERRED
$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 'AVC444ModePreferred' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": TerminalServer/TS_SERVER_AVC444_MODE_PREFERRED
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services'
Remove-ItemProperty -Path $k -Name 'AVC444ModePreferred' -ErrorAction SilentlyContinue