Advertisement
Guest User

asdasd

a guest
Jul 2nd, 2015
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.93 KB | None | 0 0
  1. :: (c) Speed Guide, Inc. - http://www.speedguide.net
  2. :: Use at your own risk. No warranty express or implied.
  3. :: Permission granted to copy, distribute and modify, provided
  4. :: this message is not removed.
  5. CLS
  6. @ECHO OFF
  7. ECHO *** OPTIMIZA TU CONEXION TCP/IP patch by 40 v1.5 2010-01-24 ***
  8. ECHO.
  9. ECHO This Patch optimizes Windows 7, 2008 Server and Vista
  10. ECHO TCP/IP settings for broadband. salido de :SpeedGuide.net.
  11. ECHO Use at your own risk. No warranty express or implied.
  12. ECHO.
  13. ECHO ------------------------------------------
  14. ECHO Letra "y" para optimizar TCP/IP internet
  15. ECHO Letra "q" para deshabilitar el reservado de banda para QoS
  16. ECHO Letra "d" restaurar ajustes por defecto
  17. ECHO Letra "n" para cancelar y salir
  18. ECHO ------------------------------------------
  19. :LOOP
  20. SET /P choice1= Elige la letra y,n,q, or d, y solo presiona ENTER:
  21. IF /I "%choice1%"=="Y" GOTO TWEAK
  22. IF /I "%choice1%"=="Q" GOTO QOS
  23. IF /I "%choice1%"=="D" GOTO DEFAULT
  24. IF /I "%choice1%"=="N" GOTO CANCEL
  25. :: ELSE
  26. GOTO LOOP
  27.  
  28. :TWEAK
  29. @ECHO ON
  30. netsh int tcp set heuristics disabled
  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 > SG_Vista_TcpIp_Patch.reg Windows Registry Editor Version 5.00
  40. ECHO >> SG_Vista_TcpIp_Patch.reg [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
  41. ECHO >> SG_Vista_TcpIp_Patch.reg "DefaultTTL"=dword:00000040
  42. ECHO >> SG_Vista_TcpIp_Patch.reg "EnableTCPA"=dword:00000001
  43. ECHO >> SG_Vista_TcpIp_Patch.reg "Tcp1323Opts"=dword:00000001
  44. ECHO >> SG_Vista_TcpIp_Patch.reg "TCPMaxDataRetransmissions"=dword:00000007
  45. ECHO >> SG_Vista_TcpIp_Patch.reg "TCPTimedWaitDelay"=dword:0000001e
  46. ECHO >> SG_Vista_TcpIp_Patch.reg "SynAttackProtect"=dword:00000001
  47. ECHO >> SG_Vista_TcpIp_Patch.reg "EnableDCA"=dword:00000001
  48. ECHO >> SG_Vista_TcpIp_Patch.reg [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider]
  49. ECHO >> SG_Vista_TcpIp_Patch.reg "LocalPriority"=dword:00000004
  50. ECHO >> SG_Vista_TcpIp_Patch.reg "HostsPriority"=dword:00000005
  51. ECHO >> SG_Vista_TcpIp_Patch.reg "DnsPriority"=dword:00000006
  52. ECHO >> SG_Vista_TcpIp_Patch.reg "NetbtPriority"=dword:00000007
  53. regedit /s SG_Vista_TcpIp_Patch.reg
  54. del SG_Vista_TcpIp_Patch.reg
  55. CLS
  56. ECHO * PATCH SUCCESFULLY APPLIED - PRESIONA ENTER PARA SALIR *
  57. GOTO SUCCESS
  58.  
  59. :QOS
  60. @ECHO OFF
  61. cd %temp%
  62. ECHO > SG_Vista_TcpIp_Patch.reg Windows Registry Editor Version 5.00
  63. ECHO >> SG_Vista_TcpIp_Patch.reg [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Psched]
  64. ECHO >> SG_Vista_TcpIp_Patch.reg "NonBestEffortLimit"=dword:00000000
  65. regedit /s SG_Vista_TcpIp_Patch.reg
  66. del SG_Vista_TcpIp_Patch.reg
  67. CLS
  68. ECHO * QOS PATCH SUCCESFULLY APPLIED - PRESIONA ENTER PARA SALIR *
  69. ECHO.
  70. ECHO * Visit SpeedGuide.net for more broadband info and tweaks *
  71. ECHO.
  72. @PAUSE
  73. EXIT
  74.  
  75. :DEFAULT
  76. @ECHO ON
  77. netsh int tcp set heuristics default
  78. netsh int tcp set global rss=default
  79. netsh int tcp set global chimney=default
  80. netsh int tcp set global autotuninglevel=normal
  81. netsh int tcp set global congestionprovider=default
  82. netsh int tcp set global ecncapability=default
  83. netsh int tcp set global timestamps=default
  84. @ECHO OFF
  85. cd %temp%
  86. ECHO > SG_Vista_TcpIp_Default.reg Windows Registry Editor Version 5.00
  87. ECHO >> SG_Vista_TcpIp_Default.reg [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
  88. ECHO >> SG_Vista_TcpIp_Default.reg "DefaultTTL"=-
  89. ECHO >> SG_Vista_TcpIp_Default.reg "EnableTCPA"=-
  90. ECHO >> SG_Vista_TcpIp_Default.reg "Tcp1323Opts"=dword:00000000
  91. ECHO >> SG_Vista_TcpIp_Default.reg "TCPMaxDataRetransmissions"=dword:000000ff
  92. ECHO >> SG_Vista_TcpIp_Default.reg "TCPTimedWaitDelay"=dword:ffffffff
  93. ECHO >> SG_Vista_TcpIp_Default.reg "SynAttackProtect"=-
  94. ECHO >> SG_Vista_TcpIp_Default.reg "EnableDCA"=-
  95. ECHO >> SG_Vista_TcpIp_Default.reg [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider]
  96. ECHO >> SG_Vista_TcpIp_Default.reg "LocalPriority"=dword:000001f3
  97. ECHO >> SG_Vista_TcpIp_Default.reg "HostsPriority"=dword:000001f4
  98. ECHO >> SG_Vista_TcpIp_Default.reg "DnsPriority"=dword:000007d0
  99. ECHO >> SG_Vista_TcpIp_Default.reg "NetbtPriority"=dword:000007d1
  100. ECHO >> SG_Vista_TcpIp_Default.reg [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Psched]
  101. ECHO >> SG_Vista_TcpIp_Default.reg "NonBestEffortLimit"=-
  102. regedit /s SG_Vista_TcpIp_Default.reg
  103. del SG_Vista_TcpIp_Default.reg
  104. CLS
  105. ECHO * VISTA/7 DEFAULT VALUES SUCCESFULLY APPLIED - PRESIONA ENTER PARA SALIR *
  106. GOTO SUCCESS
  107.  
  108. :SUCCESS
  109. netsh int tcp show global
  110. ECHO.
  111. ECHO * Visit SpeedGuide.net for more broadband info and tweaks *
  112. ECHO.
  113. @PAUSE
  114. EXIT
  115.  
  116. :CANCEL
  117. CLS
  118. ECHO * PATCH CANCELLED BY USER - PRESIONA ENTER PARA SALIR *
  119. ECHO.
  120. ECHO * Visit SpeedGuide.net for more broadband info and tweaks *
  121. ECHO.
  122. @PAUSE
  123. EXIT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement