Open in the explorer

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

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 2016, Windows 10 FR: Au moins Windows Server 2016, Windows 10
ADMX file
TerminalServer.admx
Internal name
TerminalServer/TS_SERVER_AVC444_MODE_PREFERRED

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.

French text from Windows 11 26H2

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
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_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 DWord

Disable

# 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 DWord

Revert 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

Availability