Policy
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.
PackMicrosoft Windows
CategoryWindows Components / Remote Desktop Services / Remote Desktop Session Host / Remote Session Environment
Policy ID
8dd7152ec222Internal name
TS_SERVER_AVC_HW_ENCODE_PREFERREDRegistry
Copy registry mappings
HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\AVCHardwareEncodePreferred (enabled) = 1
HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\AVCHardwareEncodePreferred (disabled) = 0Policy notes
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.
Related policies
Allow desktop composition for remote desktop sessionsAlways show desktop on connectionConfigure compression for RemoteFX dataConfigure image quality for RemoteFX Adaptive GraphicsConfigure RemoteFX Adaptive GraphicsDo not allow font smoothingEnable enhanced shell experience for RemoteAppEnable RemoteFX encoding for RemoteFX clients designed for Windows Server 2008 R2 SP1Enforce Removal of Remote Desktop WallpaperLimit maximum color depthLimit maximum display resolutionLimit number of monitorsPrioritize H.264/AVC 444 graphics mode for Remote Desktop ConnectionsRemove "Disconnect" option from Shut Down dialogRemove remote desktop wallpaperRemove Windows Security item from Start menuStart a program on connectionUse advanced RemoteFX graphics for RemoteAppUse hardware graphics adapters for all Remote Desktop Services sessionsUse WDDM graphics display driver for Remote Desktop Connections