SHARE
TWEET

Ultimate_Tweak_by_St1cky_05-04-2018

a guest Apr 4th, 2018 465 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @Echo off
  2. color 0a
  3.  
  4. mode con:cols=220 lines=54
  5.  
  6. DATE /T
  7. Echo. ; ___________________________
  8. Echo. ;   !!! Tweaking Registry !!!
  9. Echo. ; ___________________________
  10. Echo. ; (  RUN AS ADMINISTRATOR! )
  11.  
  12.  
  13. Echo. ; ________________________________________
  14. Echo. ; Enable MSI-Mode for GPU-Processor!
  15. Echo. ; ----------------------------------------
  16. for /f %%i in ('wmic path win32_VideoController get PNPDeviceID ^| findstr /L "VEN_"') do REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\%%i\Device Parameters\Interrupt Management\MessageSignaledInterruptProperties" /v MSISupported /t REG_DWORD /d 00000001 /f
  17.  
  18.  
  19. Echo. ; ________________________________________
  20. Echo. ; SSD Tweaks and fastboot
  21. Echo. ; ----------------------------------------
  22. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters" /v EnablePrefetcher /t REG_DWORD /d 00000000 /f
  23. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters" /v EnableSuperfetch /t REG_DWORD /d 00000000 /f
  24. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters" /v EnableBoottrace /t REG_DWORD /d 00000000 /f
  25.  
  26.  
  27. Echo. ; ________________________________________
  28. Echo. ; Gaming Tweak - Network Throttling Index
  29. Echo. ; ----------------------------------------
  30. REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile" /v NetworkThrottlingIndex /t REG_DWORD /d 4294967295 /f
  31. REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile" /v SystemResponsiveness /t REG_DWORD /d 00000000 /f
  32.  
  33.  
  34. Echo. ; ________________________________________
  35. Echo. ; CountOperations
  36. Echo. ; ----------------------------------------
  37. ::This parameter allows you to turn off system and process level I/O counters. This counter affects system and disk counting of disk and network I/O requests.
  38. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\I/O System" /v CountOperations /t REG_DWORD /d 00000000 /f
  39.  
  40. Echo. ; ________________________________________
  41. Echo. ; Host Resolution Priority
  42. Echo. ; ----------------------------------------
  43. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider" /v LocalPriority /t REG_DWORD /d 00000004 /f
  44. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider" /v HostsPriority /t REG_DWORD /d 00000005 /f
  45. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider" /v DnsPriority /t REG_DWORD /d 00000006 /f
  46. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider" /v NetbtPriority /t REG_DWORD /d 00000007 /f
  47.  
  48. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\ServiceProvider" /v LocalPriority /t REG_DWORD /d 00000004 /f
  49. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\ServiceProvider" /v HostsPriority /t REG_DWORD /d 00000005 /f
  50. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\ServiceProvider" /v DnsPriority /t REG_DWORD /d 00000006 /f
  51. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\ServiceProvider" /v NetbtPriority /t REG_DWORD /d 00000007 /f
  52.  
  53.  
  54. Echo. ; ________________________________________
  55. Echo. ; WorkerThreads
  56. Echo. ; ----------------------------------------
  57. ::Increases the number of threads in the Delayed Work Queue.
  58. ::Threads in this queue have a lower priority and therefore a higher latency because they must compete with other processing for CPU time.
  59. ::Increasing this value may give better performance in some situations.
  60. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Executive" /v AdditionalDelayedWorkerThreads /t REG_DWORD /d 00000000 /f
  61. :: Optimized For I7 (try lower settings for lower CPUs example 2!)
  62. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Executive" /v AdditionalCriticalWorkerThreads /t REG_DWORD /d 00000006 /f
  63.  
  64.  
  65. Echo. ; ________________________________________
  66. Echo. ; Port Allocation
  67. Echo. ; ----------------------------------------
  68. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v MaxUserPort /t REG_DWORD /d 00065534 /f
  69. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v TcpTimedWaitDelay /t REG_DWORD /d 00000030 /f
  70.  
  71.  
  72. Echo. ; ________________________________________
  73. Echo. ; UDPIP Parameters
  74. Echo. ; ----------------------------------------
  75. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters" /v NegativeCacheTime /t REG_DWORD /d 00000000 /f
  76. ::If you do not want negative responses to be cached at all, set the value of NegativeCacheTime to 0.
  77. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters" /v NegativeSOACacheTime /t REG_DWORD /d 00000000 /f
  78. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters" /v NetFailureCacheTime /t REG_DWORD /d 00000000 /f
  79. ::all succeeding name queries fail instantly instead of timing out.
  80.  
  81.  
  82. Echo. ; ________________________________________
  83. Echo. ; TCPIP Parameters
  84. Echo. ; ----------------------------------------
  85. REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters /v DefaultTTL /t REG_DWORD /d 00000030 /f
  86. REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters /v SynAttackProtect /t REG_DWORD /d 00000000 /f
  87. REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters /v TcpMaxDataRetransmissions /t REG_DWORD /d 00000002 /f
  88. REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters /v DisableLargeMTU /t REG_DWORD /d 00000000 /f
  89. REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters /v DisableTaskOffload /t REG_DWORD /d 00000000 /f
  90.  
  91.  
  92. ::TCP parameters that can be adjusted for high throughput
  93. ::On a link with high bandwidth-delay product (for example, satellite links), there may be a need to increase the window size to above 64 K.
  94. ::For that, you need to enable TCP Options as specified in RFC 1,323 by appropriately setting the following registry entry:
  95. ::To enable window sizes of greater than 65,535, this registry entry should be set to 1 (one).
  96. ::After this change has been made, the registry entry controlling TCPWindowSize can be set to values larger than 64 K (up to 1 GB).
  97. Echo. ; ________________________________________
  98. Echo. ; Window Scaling
  99. Echo. ; ----------------------------------------
  100. REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters /v Tcp1323Opts /t REG_DWORD /d 00000001 /f
  101. ::The default for a gigabit interface is set to approximately 65,535! 16,384 for a 100 Mbps link
  102. REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters /v TcpWindowSize /t REG_DWORD /d 00065535 /f
  103.  
  104. Echo. ; ________________________________________
  105. Echo. ; Online Games - Tweak - !Nagle OFF!
  106. Echo. ; ----------------------------------------
  107. REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSMQ\Parameters /v TCPNoDelay /t REG_DWORD /d 0000001 /f
  108. REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSMQ\Parameters /v EnableICMPRedirect /t REG_DWORD /d 00000000 /f
  109. for /f %%i in ('wmic path win32_networkadapter get GUID ^| findstr "{"') do REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\%%i" /v TcpAckFrequency /t REG_DWORD /d 0000001 /f
  110. for /f %%i in ('wmic path win32_networkadapter get GUID ^| findstr "{"') do REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\%%i" /v TcpDelAckTicks /t REG_DWORD /d 0000000 /f
  111. for /f %%i in ('wmic path win32_networkadapter get GUID ^| findstr "{"') do REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\%%i" /v TCPNoDelay /t REG_DWORD /d 0000001 /f
  112.  
  113.  
  114. Echo. ; ________________________________________
  115. Echo. ; Gaming - Tweaks
  116. Echo. ; ----------------------------------------
  117. REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games" /v Affinity /t REG_DWORD /d 00000000 /f
  118. REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games" /v "Background Only" /t REG_SZ /d False /f
  119. REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games" /v "Clock Rate" /t REG_DWORD /d 00000100 /f
  120. REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games" /v "GPU Priority" /t REG_DWORD /d 0000008 /f
  121. REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games" /v "Priority" /t REG_DWORD /d 00000008 /f
  122. REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games" /v "Scheduling Category" /t REG_SZ /d High /f
  123. REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games" /v "SFIO Priority" /t REG_SZ /d High /f
  124.  
  125. REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games\DisplayPostProcessing" /v Affinity /t REG_DWORD /d 00000000 /f
  126. REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games\DisplayPostProcessing" /v "Background Only" /t REG_SZ /d True /f
  127. REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games\DisplayPostProcessing" /v "Clock Rate" /t REG_DWORD /d 00000100 /f
  128. REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games\DisplayPostProcessing" /v "GPU Priority" /t REG_DWORD /d 00000008 /f
  129. REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games\DisplayPostProcessing" /v "Priority" /t REG_DWORD /d 00000008 /f
  130. REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games\DisplayPostProcessing" /v "Scheduling Category" /t REG_SZ /d High /f
  131. REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games\DisplayPostProcessing" /v "SFIO Priority" /t REG_SZ /d High /f
  132.  
  133.  
  134. Echo. ; ________________________________________
  135. Echo. ; Black-Vipers-Windows-10-Services-Tweaked
  136. Echo. ; ----------------------------------------
  137. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\MapsBroker" /v Start /t REG_DWORD /d 00000004 /f
  138. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\iphlpsvc" /v Start /t REG_DWORD /d 00000004 /f
  139. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ALG" /v Start /t REG_DWORD /d 00000004 /f
  140. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\AppMgmt" /v Start /t REG_DWORD /d 00000004 /f
  141. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\PeerDistSvc" /v Start /t REG_DWORD /d 00000004 /f
  142. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\CertPropSvc" /v Start /t REG_DWORD /d 00000004 /f
  143. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\irmon" /v Start /t REG_DWORD /d 00000004 /f
  144. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\MSiSCSI" /v Start /t REG_DWORD /d 00000004 /f
  145. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\NaturalAuthentication" /v Start /t REG_DWORD /d 00000004 /f
  146. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Netlogon" /v Start /t REG_DWORD /d 00000004 /f
  147. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\RpcLocator" /v Start /t REG_DWORD /d 00000004 /f
  148. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\RetailDemo" /v Start /t REG_DWORD /d 00000004 /f
  149. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SCPolicySvc" /v Start /t REG_DWORD /d 00000004 /f
  150. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SNMPTRAP" /v Start /t REG_DWORD /d 00000004 /f
  151. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\wcncsvc" /v Start /t REG_DWORD /d 00000004 /f
  152. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\wisvc" /v Start /t REG_DWORD /d 00000004 /f
  153. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WinRM" /v Start /t REG_DWORD /d 00000004 /f
  154. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WwanSvc" /v Start /t REG_DWORD /d 00000004 /f
  155. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\XblAuthManager" /v Start /t REG_DWORD /d 00000004 /f
  156. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\XboxNetApiSvc" /v Start /t REG_DWORD /d 00000004 /f
  157. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SessionEnv" /v Start /t REG_DWORD /d 00000004 /f
  158. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\TermService" /v Start /t REG_DWORD /d 00000004 /f
  159. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\UmRdpService" /v Start /t REG_DWORD /d 00000004 /f
  160. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\AJRouter" /v Start /t REG_DWORD /d 00000004 /f
  161. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\BthHFSrv" /v Start /t REG_DWORD /d 00000004 /f
  162. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\bthserv" /v Start /t REG_DWORD /d 00000004 /f
  163. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\dmwappushsvc" /v Start /t REG_DWORD /d 00000004 /f
  164. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\HvHost" /v Start /t REG_DWORD /d 00000004 /f
  165. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\vmickvpexchange" /v Start /t REG_DWORD /d 00000004 /f
  166. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\vmicguestinterface" /v Start /t REG_DWORD /d 00000004 /f
  167. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\vmicshutdown" /v Start /t REG_DWORD /d 00000004 /f
  168. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\vmicheartbeat" /v Start /t REG_DWORD /d 00000004 /f
  169. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\vmicvmsession" /v Start /t REG_DWORD /d 00000004 /f
  170. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\vmicrdv" /v Start /t REG_DWORD /d 00000004 /f
  171. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SharedAccess" /v Start /t REG_DWORD /d 00000004 /f
  172. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\IpxlatCfgSvc" /v Start /t REG_DWORD /d 00000004 /f
  173. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SmsRouter" /v Start /t REG_DWORD /d 00000004 /f
  174. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\CscService" /v Start /t REG_DWORD /d 00000004 /f
  175. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SEMgrSvc" /v Start /t REG_DWORD /d 00000004 /f
  176. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\PhoneSvc" /v Start /t REG_DWORD /d 00000004 /f
  177. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SensorDataService" /v Start /t REG_DWORD /d 00000004 /f
  178. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SensrSvc" /v Start /t REG_DWORD /d 00000004 /f
  179. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SensorService" /v Start /t REG_DWORD /d 00000004 /f
  180. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ScDeviceEnum" /v Start /t REG_DWORD /d 00000004 /f
  181. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\TabletInputService" /v Start /t REG_DWORD /d 00000004 /f
  182. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WebClient" /v Start /t REG_DWORD /d 00000004 /f
  183. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WFDSConSvc" /v Start /t REG_DWORD /d 00000004 /f
  184. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\FrameServer" /v Start /t REG_DWORD /d 00000004 /f
  185. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\icssvc" /v Start /t REG_DWORD /d 00000004 /f
  186. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\xbgm" /v Start /t REG_DWORD /d 00000004 /f
  187. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\XblGameSave" /v Start /t REG_DWORD /d 00000004 /f
  188. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\lfsvc" /v Start /t REG_DWORD /d 00000004 /f
  189. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\NcdAutoSetup" /v Start /t REG_DWORD /d 00000004 /f
  190. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\NfsClnt" /v Start /t REG_DWORD /d 00000004 /f
  191. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WMPNetworkSvc" /v Start /t REG_DWORD /d 00000004 /f
  192. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WlanSvc" /v Start /t REG_DWORD /d 00000004 /f
  193.  
  194.  
  195. Echo. ; ________________________________________
  196. Echo. ; Cortana Disabled
  197. Echo. ; ----------------------------------------
  198. REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v AllowCortana /t REG_DWORD /d 00000000 /f
  199.  
  200.  
  201. Echo. ; ________________________________________
  202. Echo. ; Disable DVR Game Bar Feature Win10 Only!
  203. Echo. ; ----------------------------------------
  204. REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\GameDVR" /v AllowgameDVR /t REG_DWORD /d 00000000 /f
  205.  
  206.  
  207. Echo. ; ________________________________________
  208. Echo. ; Disable Timebroker reduce CPU usage
  209. Echo. ; ----------------------------------------
  210. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TimeBroker" /v Start /t REG_DWORD /d 00000004 /f
  211. REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TimeBrokerSvc" /v Start /t REG_DWORD /d 00000004 /f
  212.  
  213.  
  214. Echo. ; ______________________________________________________________________________________________
  215. Echo. ; Tweaking Network - Offload Settings ( RSC=Off; PCF=Off; Chimney=Off, RSS=ON, TaskOffload=On )
  216. Echo. ; Current Network Settings
  217. Echo. ; ----------------------------------------------------------------------------------------------
  218. powershell.exe Get-NetOffloadGlobalSetting
  219. powershell.exe Set-NetOffloadGlobalSetting -ReceiveSegmentCoalescing Disabled -PacketCoalescingFilter Disabled -Chimney Disabled -ReceiveSideScaling Enabled -TaskOffload Enabled
  220.  
  221.  
  222. Echo. ; ________________________________________
  223. Echo. ; Optimized Network Settings
  224. Echo. ; ----------------------------------------
  225. powershell.exe Get-NetOffloadGlobalSetting
  226. powershell.exe Get-NetTCPSetting -SettingName "Internet"
  227. powershell.exe Set-NetTCPSetting -SettingName "Internet" -InitialRtoMs 2000
  228.  
  229.  
  230. Echo. ; ________________________________________
  231. Echo. ; Tweaking Network - Adv. Adapter Settings
  232. Echo. ; Current Adv. Adapter Settings
  233. Echo. ; ----------------------------------------
  234. powershell.exe Get-NetAdapterAdvancedProperty -Name "Ethernet"
  235.  
  236.  
  237. ::Interrupt Moderation
  238. ::Some network adapters are capable of moderating how frequently they interrupt the host processors to indicate network activity (or its completion).
  239. ::Some network adapters are also capable of making such decisions in an adaptive manner, taking into account network and host-processor load.
  240. ::Moderating interrupts can often result in reduction in CPU load on the host, but unless interrupt moderation is performed intelligently and adaptively,
  241. ::the CPU savings may come at the cost of increases in latency.
  242. Echo. ; ________________________________________
  243. Echo. ; Tweaking Performance Settings - Low Latency
  244. Echo. ; ----------------------------------------
  245. powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *FlowControl -RegistryValue 3
  246. powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *InterruptModeration -RegistryValue 0
  247. powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword ITR -RegistryValue 0
  248. powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *LsoV2IPv4 -RegistryValue 0
  249. powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *LsoV2IPv6 -RegistryValue 0
  250. powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *PriorityVLANTag -RegistryValue 0
  251. powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword AdaptiveIFS -RegistryValue 0
  252.  
  253.  
  254. ::Offload Capabilities
  255. ::Offloading tasks can help lower CPU usage on the server, improving overall system performance. The Microsoft TCP/IP transport can offload one or more of the following tasks to a network adapter that has the appropriate task-offload capabilities:
  256. ::Checksum tasks.   The TCP/IP transport can offload the calculation and validation of IP and TCP checksums for sends and receives.
  257. ::IP security tasks. The TCP/IP transport can offload the calculation and validation of encrypted checksums for authentication headers (AH) and encapsulating security payloads (ESP). The TCP/IP transport can also offload the encryption and decryption of ESP payloads.
  258. ::Segmentation of large TCP packets. The TCP/IP transport supports large send offload (LSO). With LSO, the TCP/IP transport can offload the segmentation of large TCP packets.
  259. ::Stack offload. The entire network stack can be offloaded to a network adapter that has the appropriate capabilities.
  260.  
  261. ::Enable Offload Features
  262. ::It is almost always beneficial to turn on network adapter offload features.
  263. ::In some instances, however, the network adapter may not be powerful enough to handle the offload capabilities at high throughput.
  264. ::For example, enabling LSO can lower the maximum sustainable throughput on some network adapters.
  265. ::However, if the reduced throughput is not expected to be a limitation, offload capabilities should be enabled even for such network adapters.
  266. ::Note that some network adapters require offload features for send and receive paths to be independently enabled.
  267. Echo. ; ________________________________________
  268. Echo. ; Enabling... Offload Settings
  269. Echo. ; ----------------------------------------
  270. powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *IPChecksumOffloadIPv4 -RegistryValue 3
  271. powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *TCPChecksumOffloadIPv4 -RegistryValue 3
  272. powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *TCPChecksumOffloadIPv6 -RegistryValue 3
  273. powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *UDPChecksumOffloadIPv4 -RegistryValue 3
  274. powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *UDPChecksumOffloadIPv6 -RegistryValue 3
  275. powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *PMARPOffload -RegistryValue 0
  276. powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *PMNSOffload -RegistryValue 0
  277.  
  278.  
  279. Echo. ; ________________________________________
  280. Echo. ; Enabling... ReceiveSideScaling Settings
  281. Echo. ; ----------------------------------------
  282. powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *RSS -RegistryValue 1
  283. Echo. ; Trying... Highest RSSQueue Setting
  284. powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *NumRssQueues -RegistryValue 2
  285. powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *NumRssQueues -RegistryValue 4
  286.  
  287.  
  288. Echo. ; ________________________________________
  289. Echo. ; Tweaking WakeOn Settings
  290. Echo. ; ----------------------------------------
  291. powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *WakeOnMagicPacket -RegistryValue 0
  292. powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *WakeOnPattern -RegistryValue 0
  293.  
  294.  
  295. Echo. ; ________________________________________
  296. Echo. ; Tweaking ECO Settings
  297. Echo. ; ----------------------------------------
  298. powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword EEELinkAdvertisement -RegistryValue 0
  299. powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword EnablePME -RegistryValue 0
  300. powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword ReduceSpeedOnPowerDown -RegistryValue 0
  301. powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword ULPMode -RegistryValue 0
  302.  
  303.  
  304. Echo. ; ________________________________________
  305. Echo. ; Tweaking Other Settings
  306. Echo. ; ----------------------------------------
  307. powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword LogLinkStateEvent -RegistryValue 16
  308. powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *JumboPacket -RegistryValue 1514
  309.  
  310.  
  311. Echo. ; ________________________________________
  312. Echo. ; Optimized Adv. Adapter Settings
  313. Echo. ; ----------------------------------------
  314. powershell.exe Get-NetAdapterAdvancedProperty -Name "Ethernet"
  315.  
  316. pause.
  317.  
  318.  
  319. Echo. ";---------------------------------------------------------------|"
  320. Echo. ";                       Tweaking Completed                      |"
  321. Echo. ";           Please Restart the System to take Effect!           |"
  322. Echo. ";---------------------------------------------------------------|"
  323. pause.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top