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.
Registry Hive | HKEY_LOCAL_MACHINE |
Registry Path | SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services |
Value Name | AVCHardwareEncodePreferred |
Value Type | REG_DWORD |
Enabled Value | 1 |
Disabled Value | 0 |