Advertisement
CodeMeRight

Windows-7-TcpIp-patch

Dec 11th, 2011
310
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.82 KB | None | 0 0
  1. CLS
  2. @ECHO OFF
  3. ECHO.
  4. ECHO *** Win7\Vista TCP/IP patch v1.0 15/12/2009 ***
  5. ECHO.
  6. ECHO Optimised Internet Settings
  7. ECHO.
  8. ECHO By CodeMeRight
  9. ECHO.
  10. ECHO.
  11. ECHO Use at your own risk. DO NOT COME BITCHING, IF THIS REGEDIT HACK DID NOT WORK FOR YOUR MACHINE OK.
  12. ECHO.
  13. ECHO N.B. Also It's a good Idea to back up your current registry settings
  14. ECHO before making any changes, so you can revert Back if you need to later.
  15. ECHO "GOTO START.TYPE " RUN " & IN RUN TYPE " regedit ". WHEN YOUR REGEDITER OPEN'S... CLICK " FILE " & THEN " EXPORT " & SAVE..
  16. ECHO.
  17. ECHO ------------------------------------------
  18. ECHO Type "Y" In " Lower Case " to optimize Vista TCP/IP settings
  19. ECHO Type "N" Also in " Lower Case " to cancel patch and exit
  20. ECHO ------------------------------------------
  21.  
  22. :LOOP
  23. SET /P choice1= Type Y or N and HIT YOUR ENTER KEY:
  24. IF /I "%choice1%"=="Y" GOTO TWEAK
  25. IF /I "%choice1%"=="N" GOTO CANCEL
  26. :: ELSE
  27. GOTO LOOP
  28.  
  29. :TWEAK
  30. @ECHO ON
  31. netsh int tcp set global rss=enabled
  32. netsh int tcp set global chimney=enabled
  33. netsh int tcp set global autotuninglevel=normal
  34. netsh int tcp set global congestionprovider=ctcp
  35. netsh int tcp set global ecncapability=disabled
  36. netsh int tcp set global timestamps=disabled
  37. @ECHO OFF
  38. cd %temp%
  39. ECHO >> Win7_Vista_TcpIp_Patch.reg Windows Registry Editor Version 5.00
  40. ECHO >> Win7_Vista_TcpIp_Patch.reg [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
  41. ECHO >> Win7_Vista_TcpIp_Patch.reg "QualifyingDestinationThreshold"=dword:00000003
  42. ECHO >> Win7_Vista_TcpIp_Patch.reg "EnableTCPA"=dword:00000001
  43. ECHO >> Win7_Vista_TcpIp_Patch.reg "Tcp1323Opts"=dword:00000001
  44. ECHO >> Win7_Vista_TcpIp_Patch.reg "TCPMaxDataRetransmissions"=dword:00000007
  45. ECHO >> Win7_Vista_TcpIp_Patch.reg "TCPTimedWaitDelay"=dword:0000001e
  46. ECHO >> Win7_Vista_TcpIp_Patch.reg "MaxMTU"=dword:00000598
  47. ECHO >> Win7_Vista_TcpIp_Patch.reg "DefaultRcvWindow"=dword:000185F8
  48. ECHO >> Win7_Vista_TcpIp_Patch.reg "DefaultTTL"=dword:00000040
  49. ECHO >> Win7_Vista_TcpIp_Patch.reg "SynAttackProtect"=dword:00000001
  50. ECHO >> Win7_Vista_TcpIp_Patch.reg [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider]
  51. ECHO >> Win7_Vista_TcpIp_Patch.reg "LocalPriority"=dword:00000004
  52. ECHO >> Win7_Vista_TcpIp_Patch.reg "HostsPriority"=dword:00000005
  53. ECHO >> Win7_Vista_TcpIp_Patch.reg "DnsPriority"=dword:00000006
  54. ECHO >> Win7_Vista_TcpIp_Patch.reg "NetbtPriority"=dword:00000007
  55. regedit /s Win7_Vista_TcpIp_Patch.reg
  56. del Win7_Vista_TcpIp_Patch.reg
  57. CLS
  58. ECHO.
  59. ECHO.
  60. ECHO * PATCH SUCCESFULLY FUCKING APPLIED *
  61. GOTO SUCCESS
  62.  
  63. :SUCCESS
  64. netsh int tcp show global
  65. ECHO.
  66. ECHO * Now launch your Dam browser and see if it has made any fucking improvement.At least allow for the ceache to REBUILD! *
  67. ECHO.
  68. @PAUSE
  69. EXIT
  70.  
  71. :CANCEL
  72. CLS
  73. ECHO.
  74. ECHO * PATCH CANCELLED BY USER,Fucking Yellow Belly *
  75. ECHO.
  76. @PAUSE
  77. EXIT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement