Here's a list of registry keys and other settings that can be used to optimize Windows OS, TCP and other parameters. Please note that editing the registry can have serious consequences if not done correctly, so proceed with caution and make sure to back up your registry before making any changes.
-
Disable Windows Search Indexing:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Search
Set "SetupCompletedSuccessfully" to 0
-
Disable Superfetch:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters
Set "EnableSuperfetch" to 0
-
Disable Windows Defender:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender
Set "DisableAntiSpyware" to 1
-
Disable Windows Firewall:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess
Set "Start" to 4
-
Disable Windows Update:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU
Set "AUOptions" to 1
-
Disable Windows Error Reporting:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting
Set "DontShowUI" to 1
-
Disable Windows Telemetry:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DataCollection
Set "AllowTelemetry" to 0
-
Disable Windows Tips and Tricks:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
Set "ShowTips" to 0
-
Disable Windows Spotlight:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager
Set "SubscribedContent-3504038" to 0
-
Disable Windows Store:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsStore
Set "RemoveWindowsStore" to 1
-
Optimize TCP/IP Parameters:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
Set "TcpTimedWaitDelay" to 30
Set "GlobalMaxTcpConnections" to 5000
-
Increase File System Cache:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
Set "LargeSystemCache" to 1
-
Increase Paging File Size:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
Set "PagingFiles" to "C:\pagefile.sys 4096 4096"
-
Disable Windows Auto-Tuning:
netsh interface tcp set global autotuninglevel=disabled
-
Disable Nagle's Algorithm:
netsh interface tcp set global nagle=disabled
-
Enable Receive Side Scaling (RSS):
netsh interface tcp set global rss=enabled
-
Enable Timed Wait TCP Delay:
netsh interface tcp set global timedwait=30
-
Enable Window Scaling:
netsh interface tcp set global windowscale=enabled
-
Enable TCP Fast Open:
netsh interface tcp set global fastopen=enabled
-
Enable Selective Acknowledgement (SACK):
netsh interface tcp set global sack=enabled
Please note that some of these settings may not be recommended for all systems, and may cause compatibility issues or decreased performance in certain situations. Always test changes in a controlled environment before deploying them to production systems.