Configure H.264/AVC hardware encoding for Remote Desktop Connections

This policy setting lets you enable H.264/AVC hardware encoding support for Remote Desktop Connections. When you enable hardware encoding, if an error occurs, we will attempt to use software encoding. If you disable or do not configure this policy, we will always use software encoding.

If you set the encoding option to "Always Attempt", Remote Desktop will always try to use H.264/AVC hardware encoding when available, be aware that, for Windows Server running Hyper-V with RemoteFX vGPU enabled, the policy has to be set on the Hyper-V host machine.

If you set the encoding option to "Attempt only for RemoteFX vGPU virtual machines" be aware that, for Windows Server running Hyper-V with RemoteFX vGPU enabled, the policy has to be set on the Hyper-V host machine.

If you set the encoding option to "Attempt only for non-RemoteFX vGPU scenarios", Remote Desktop attempts to use hardware encoding for all scenarios except RemoteFX vGPU.

Supported on: At least Windows 10 Server, Windows 10 or Windows 10 RT
Prefer AVC hardware encoding:


  1. Always attempt
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
    Value NameAVCHardwareEncodePreferred
    Value TypeREG_DWORD
    Value1
  2. Attempt only for RemoteFX vGPU virtual machines
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
    Value NameAVCHardwareEncodePreferred
    Value TypeREG_DWORD
    Value2
  3. Attempt only for non-RemoteFX vGPU scenarios
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
    Value NameAVCHardwareEncodePreferred
    Value TypeREG_DWORD
    Value3


terminalserver.admx

Administrative Templates (Computers)

Administrative Templates (Users)