diff --git a/guest_server/RDPTweaks.reg b/guest_server/RDPTweaks.reg new file mode 100644 index 00000000..08bdb1e3 --- /dev/null +++ b/guest_server/RDPTweaks.reg @@ -0,0 +1,31 @@ +Windows Registry Editor Version 5.00 + + ; Additional RDP performance tweaks + [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations] + "DWMFRAMEINTERVAL"=dword:0000000f + + [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Dwm] + "OverlayMinFPS"=dword:00000000 + + [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile] + "SystemResponsiveness"=dword:00000000 + + [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermDD] + "FlowControlDisable"=dword:00000001 + "FlowControlDisplayBandwidth"=dword:00000010 + "FlowControlChannelBandwidth"=dword:00000090 + "FlowControlChargePostCompression"=dword:00000000 + + [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp] + "InteractiveDelay"=dword:00000000 + + [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters] + "DisableBandwidthThrottling"=dword:00000001 + "DisableLargeMtu"=dword:00000000 + + [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services] + "bEnumerateHWBeforeSW"=dword:00000001 + "fEnableVirtualizedGraphics"=dword:00000001 + "SelectTransport"=dword:00000002 + "AVCHardwareEncodePreferred"=dword:00000001 + "VGOptimization_CaptureFrameRate"=dword:0000003c diff --git a/guest_server/install.bat b/guest_server/install.bat index d3d9a1b7..69333d82 100644 --- a/guest_server/install.bat +++ b/guest_server/install.bat @@ -5,8 +5,9 @@ set TIME_SYNC_SCRIPT_PATH=%INSTALL_DIR%\scripts\time-sync.bat set NSSM_PATH=%INSTALL_DIR%\nssm.exe set OEM_DIR=C:\OEM -:: Registry tweaks -reg import "%OEM_DIR%\RDPApps.reg" +:: Setup RDP Applications and Tweaks +reg import "%OEM_DIR%\RDPApps.reg" +reg import "%OEM_DIR%\RDPTweaks.reg" :: Create install directory if it doesn't exist if not exist "%INSTALL_DIR%" mkdir "%INSTALL_DIR%"