Optimize visual experience when using RemoteFX: registry value VGOptimization_CaptureFrameRate and 1 moreComputerHKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
- Policy ID
- TS_RemoteDesktopVirtualGraphics
- Scope
- Computer Configuration
- Supported on
- Windows 7 or Windows Server 2008 R2 (and their subsequent Service Packs) only
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Category
- Windows Components › Remote Desktop Services › Remote Desktop Session Host › Remote Session Environment › RemoteFX for Windows Server 2008 R2
Registry
VGOptimization_CaptureFrameRate
REG_DWORDComputer- Enabled value
- Depends on the option value
- Element
- Screen capture rate (frames per second):
| Item | Stored value |
|---|---|
| Highest (best quality) | 1 |
| Medium (default) | 2 |
| Lowest | 3 |
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Terminal Services\] ; Options (use only one) ; Highest (best quality) "VGOptimization_CaptureFrameRate"=dword:00000001 ; Medium (default) "VGOptimization_CaptureFrameRate"=dword:00000002 ; Lowest "VGOptimization_CaptureFrameRate"=dword:00000003
CMD
:: Options (use only one) :: Highest (best quality) reg add "HKLM\Software\Policies\Microsoft\Windows NT\Terminal Services\\" /v "VGOptimization_CaptureFrameRate" /t REG_DWORD /d 1 /f :: Medium (default) reg add "HKLM\Software\Policies\Microsoft\Windows NT\Terminal Services\\" /v "VGOptimization_CaptureFrameRate" /t REG_DWORD /d 2 /f :: Lowest reg add "HKLM\Software\Policies\Microsoft\Windows NT\Terminal Services\\" /v "VGOptimization_CaptureFrameRate" /t REG_DWORD /d 3 /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Terminal Services\' -Force | Out-Null # Options (use only one) # Highest (best quality) New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Terminal Services\' -Name 'VGOptimization_CaptureFrameRate' -PropertyType DWord -Value 1 -Force | Out-Null # Medium (default) New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Terminal Services\' -Name 'VGOptimization_CaptureFrameRate' -PropertyType DWord -Value 2 -Force | Out-Null # Lowest New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Terminal Services\' -Name 'VGOptimization_CaptureFrameRate' -PropertyType DWord -Value 3 -Force | Out-Null
VGOptimization_CompressionRatio
REG_DWORDComputer- Enabled value
- Depends on the option value
- Element
- Screen Image Quality:
| Item | Stored value |
|---|---|
| Highest (best quality) | 1 |
| Medium (default) | 2 |
| Lowest | 3 |
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Terminal Services\] ; Options (use only one) ; Highest (best quality) "VGOptimization_CompressionRatio"=dword:00000001 ; Medium (default) "VGOptimization_CompressionRatio"=dword:00000002 ; Lowest "VGOptimization_CompressionRatio"=dword:00000003
CMD
:: Options (use only one) :: Highest (best quality) reg add "HKLM\Software\Policies\Microsoft\Windows NT\Terminal Services\\" /v "VGOptimization_CompressionRatio" /t REG_DWORD /d 1 /f :: Medium (default) reg add "HKLM\Software\Policies\Microsoft\Windows NT\Terminal Services\\" /v "VGOptimization_CompressionRatio" /t REG_DWORD /d 2 /f :: Lowest reg add "HKLM\Software\Policies\Microsoft\Windows NT\Terminal Services\\" /v "VGOptimization_CompressionRatio" /t REG_DWORD /d 3 /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Terminal Services\' -Force | Out-Null # Options (use only one) # Highest (best quality) New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Terminal Services\' -Name 'VGOptimization_CompressionRatio' -PropertyType DWord -Value 1 -Force | Out-Null # Medium (default) New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Terminal Services\' -Name 'VGOptimization_CompressionRatio' -PropertyType DWord -Value 2 -Force | Out-Null # Lowest New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Terminal Services\' -Name 'VGOptimization_CompressionRatio' -PropertyType DWord -Value 3 -Force | Out-Null