Open in the explorer

Enable RemoteFX encoding for RemoteFX clients designed for Windows Server 2008 R2 SP1

Activer le codage RemoteFX pour les clients RemoteFX conçus pour Windows Server 2008 R2 SP1

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_SERVER_LEGACY_RFX

Explanation

This policy setting allows you to configure graphics encoding to use the RemoteFX Codec on the Remote Desktop Session Host server so that the sessions are compatible with non-Windows thin client devices designed for Windows Server 2008 R2 SP1. These clients only support the Windows Server 2008 R2 SP1 RemoteFX Codec.If you enable this policy setting, users' sessions on this server will only use the Windows Server 2008 R2 SP1 RemoteFX Codec for encoding. This mode is compatible with thin client devices that only support the Windows Server 2008 R2 SP1 RemoteFX Codec.If you disable or do not configure this policy setting, non-Windows thin clients that only support the Windows Server 2008 R2 SP1 RemoteFX Codec will not be able to connect to this server. This policy setting applies only to clients that are using Remote Desktop Protocol (RDP) 7.1, and does not affect clients that are using other RDP versions.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de configurer le codage des graphiques pour utiliser le codec RemoteFX sur le serveur Hôte de session Bureau à distance afin que les sessions soient compatibles avec des périphériques client léger autres que Windows conçus pour Windows Server 2008 R2 SP1. Ces clients ne prennent en charge que le codec RemoteFX de Windows Server 2008 R2 SP1. Si vous activez ce paramètre de stratégie, les sessions des utilisateurs sur ce serveur n’utilisent que le codec RemoteFX de Windows Server 2008 R2 SP1 pour le codage. Ce mode est compatible avec les périphériques client léger qui ne prennent en charge que le codec RemoteFX de Windows Server 2008 R2 SP1. Si vous désactivez ou ne configurez pas ce paramètre de stratégie, les clients légers autres que Windows qui ne prennent en charge que le codec RemoteFX de Windows Server 2008 R2 SP1 ne peuvent pas se connecter à ce serveur. Ce paramètre de stratégie ne s’applique qu’aux clients qui utilisent le protocole RDP (Remote Desktop Protocol) 7.1 et il n’affecte pas les clients qui utilisent d’autres versions du protocole RDP.

Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
Value name
fEnableVirtualizedGraphics
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_LEGACY_RFX
$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 'fEnableVirtualizedGraphics' -Value 1 -Type DWord

Disable

# Disable: TerminalServer/TS_SERVER_LEGACY_RFX
$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 'fEnableVirtualizedGraphics' -Value 0 -Type DWord

Revert to "Not configured"

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

Availability