The Broadband Guide
SG
search advanced
 search
FAQs Categories:

How to disable Windows Vista TCP/IP auto-tuning ?

Sometimes it is helpful to disable Windows Vista's autotuning of TCP/IP.

Some networking devices, such as SPI firewalls, some NAT routers, VPN endpoints, WiFi devices have problems with the way Windows Vista resizes the TCP Window. Possible symptomps include: web traffic ok, email timeouts on receiving only, slow or no network file server access, random network timeouts or connectivity problems, freezing or slow web browsing or VPN connections.

Note that disabling TCP Window autotunning limits the TCP Window to 65535, which may not be adequate for faster broadband internet connections.

To disable TCP/IP autotunning, in "Elevated" Command Prompt type:

netsh interface tcp set global autotuning=disabled

To verify that it is dsabled:

netsh interface tcp show global

To set back to the default Windows Vista behavior:

netsh interface tcp set global autotuningl=normal


Windows has the ability to automatically overwrite the above user settings, so you may also want to enforce them with the following: netsh int tcp set heuristics disabled (for more information, see Windows 7/Vista Tweaks article)


Note: To get elevated command prompt (admin priviledges), you may need to do the following:
- Click the Start button
- In the Search box, type: Command Prompt
- Right-click on the Command Prompt icon and select "Run as administrator"


Note: You can also change the default auto-tunning behavior in other ways, for example typing this in command prompt: netsh int tcp set global autotuninglevel=highlyrestricted
The above command helps with servers that do not fully support RFC 1323. See: MSKB929868


See also:
Windows Vista Elevated Command Prompt
Windows 7 Tweaks


  User Reviews/Comments:
    rate:
   avg:
by Inski - 2007-08-21 16:01
need help with this tweaking!!!! error message keeps coming up that says "Set global command failed on IPv4 The requested operation requires elelvation" ?????
by jasonalangraves - 2007-08-23 16:30
In the TCP Optimizer FAQ's section, Windows Vista is not listed as a supported operating system. This post indicates that TCP Optimizer WILL work with Windows Vista.

So, will TCP Optimizer work with Windows Vista or not? If it can, is it possible to add Windows Vista to that particular FAQ about operating system support for TCP Optimizer??
by jasonalangraves - 2007-08-23 17:41
Ok, I found out how to do this in Vista. Go to "Start" then "All Programs", then "Accesories" and right click on "Command Prompt", and select "Run as administrator".

Enter the command just as in the post, and you will no longer recieve that elevation message.
by branoox - 2007-08-27 07:05
Can Anyone Tell Me How Change The RWIN Value On Vista. The Analiser Says It Can Be Improved To Provide A Faster Speed.
by anonymous - 2007-10-06 06:19
Bonjour à tous, j'ai le message d'erreur suivant :

Impossible de charger la DLL application d'assistance suivante : P2PNETSH.DLL.

Si qq'un à une idée ...
by anonymous - 2007-12-04 13:20
I disabled and checked it, I still can't run Fios Optimize
by waree - 2008-06-15 11:26
Hi, can someone tell me if I can tweak my connexion to a hotspot (I'm connected to a free Fon Hotspot and I can't have more than 600 Kbps). Please answer...
by FORNICATOR - 2008-06-24 07:23
DO NOT DISABLE AUTOTUNING IN VISTA!!!
koz it rejects tweaking all life-meaning tweaks, like MTU auto discovery etc.
Check this out - turn off autotuning, reboot, change some parameter like MTU, RWIN, remember it, then reboot and go to the registry..
You can see that all parameters you've changed before rebooting are reverted to the default state !!!!!!
I got ADSL Unlimited 340k and all is working fine without disabling autotuning
by Dale - 2008-12-26 22:45
You need to run Command Prompt as an Administrator. Type 'command' in the search box in the Start Menu and then right click Command Prompt and Run as Administrator and then type/paste the above in and it will work.
by mcpennytoo - 2009-02-08 12:47
Thank you so much for this information about disabling autotuning. I was being timed out every minute or so on webmail and tried several solutions. This is the one that solved it.
by theteck - 2009-03-07 03:19
ty work great for me i have disabled it for test and later i find this slow down all other connection i have at same time



netsh interface tcp set global autotuninglevel=highlyrestricted

worked
by JR - 2010-01-15 05:06
good work. in windows 7 !!
by anonymous - 2010-02-02 01:04
I disabled auto tuning in vista and rebooted.But , state is still showing as "highly restricted"
by anonymous - 2010-03-21 12:38
This helped me with immense lag in TF2. I was playing a less demanding game for a while and 7 autotuned to it. Autotuning needs to die altogether.
by anonymous - 2010-07-23 12:24
I need to disable 2420:TCP so that I can pass my PCI Compliance scan for my online credit card virtual terminal. Can you help?
by Gordon Dry - 2010-08-09 15:37
If just the RWIN Scaling could be set manually to anything else than 0 bits.

I managed it to get RWIN 64768 at MTU 1448, that's MSS*46 on Windows 7
by umgowa - 2010-09-15 23:42
Is there a way to permanantly disable auto-tuning in windows 7? I ran the elevated command prompt and verified it was disabled, but when I rebooted, it was set to normal again.
by anonymous - 2010-11-02 18:40
Try to add store=persistent add the end of the netsh.exe command
by cliffordtheitguy - 2010-11-08 04:55
1. Try to make a non-HTTP network connection. That is, use the program that was affected by the problem.

2. If the problem is fixed, contact the manufacturer of the firewall device for steps to resolve the issue.

3. You can keep auto-tuning disabled until the problem is fixed. When you are ready to enable auto-tuning, click Start, click All Programs, click Accessories, and then click Command Prompt.

4. At the command prompt, type the following command, and then press ENTER:
netsh interface tcp set global autotuninglevel=normal

This command enables Receive Window Auto-Tuning again so that you can take advantage of the increase in network throughput performance that this option provides.
by anonymous - 2011-08-26 07:45
very nice
bot at WIN7 german it was
interface tcp set global autotuninglevel={disabled/normal}
by Li - 2011-11-03 18:02
It W7, theres 5 level of Auto Tuning can be set

1. Disabled    
   Disable the autotunning feature in Vista completely、and fit and lock the RWIN receive
   window to default value 65,536 bytes.
   Enter:
netsh interface tcp set global autotuninglevel=disabled
   
  2. HighlyRestricted    
   Allow for the receive window to grow beyond the default value、but do so very conservatively.
   In this mode、Vista will by default use RWIN of 16,384 bytes with a scale factor of 2.
   Enter:
   netsh interface tcp set global autotuninglevel=highlyrestricted

  3. Restricted
   Allow the receive window to grow beyond its default value、but limit such growth in
   some scenarios.
   Enter:
   netsh interface tcp set global autotuninglevel=restricted

  4. Normal (Windows 7,Server 2008,and Vista's Default setting)   
   Allow for the receive window to grow to accommodate almost all scenarios. The default  
   setting in Vista. Specifying this command mean you want to turn back on AutoTuning feature.
   Enter:
   netsh interface tcp set global autotuninglevel=normal

  5.Enter Experimental    
   Allow for the receive window to grow to accommodate extreme scenarios. Note The  
   experimental value can decrease performance in common scenarios. This value should be
   used only for research purposes.
   Enter :
   netsh interface tcp set global autotuninglevel=experimental
by anonymous - 2011-12-20 09:59
dude see the above description.
it clearly says that you need administrator priveleges.
by Coji4000 - 2013-08-12 17:49
It means exactly what it says: you need elevated permissions. You must be an administrator.
by anonymous - 2013-10-24 08:05
after that i modified the parameters, it's requires restart the system??
by anonymous - 2014-04-10 13:49
In order to disable AutoTuning via a script for a domain, the script needs to be run as a Startup script not a Logon Script. Startup scripts run with Elevated Permission in Windows 7.
News Glossary of Terms FAQs Polls Cool Links SpeedGuide Teams SG Premium Services SG Gear Store
Registry Tweaks Broadband Tools Downloads/Patches Broadband Hardware SG Ports Database Security Default Passwords User Stories
Broadband Routers Wireless Firewalls / VPNs Software Hardware User Reviews
Broadband Security Editorials General User Articles Quick Reference
Broadband Forums General Discussions
Advertising Awards Link to us Server Statistics Helping SG About