How to set the congestion provider to ctcp

Discussion in 'Windows 8' started by artins90, Aug 9, 2012.

  1. artins90

    artins90 MDL Novice

    Aug 3, 2012
    19
    2
    0
    Guys I've installed windows 8 and as usual I tried to optimize the tcp, the other settings that I used in Windows7 work just fine but the congestion provider says that the syntax is wrong, i'm not a tcp or cmd expert could you kindly check this out for me?


    Microsoft Windows [Version 6.2.9200]
    (c) 2012 Microsoft Corporation. All rights reserved.


    C:\Windows\system32>netsh int tcp set global congestionprovider=ctcp


    The congestionprovider parameter can be set using the
    'netsh int tcp set supplemental' command.
    The parameter is incorrect.






    C:\Windows\system32>netsh int tcp set supplemental congestionprovider=ctcp
    One or more essential parameters were not entered.
    Verify the required parameters, and reenter them.
    The syntax supplied for this command is not valid. Check help for the correct sy
    ntax.


    Usage: set supplemental [template=]automatic|datacenter|internet|compat|custom
    [[minrto=]<integer>]
    [[icw=]<integer>]
    [[congestionprovider=]none|ctcp|dctcp|default]
    [[enablecwndrestart=]disabled|enabled|default]
    [[delayedacktimeout=]<integer>]


    Parameters:


    Tag Value
    Template - One of the following values:
    custom, datacenter, automatic, compat, internet.
    Warning: Changing template parameters will affect all
    previous filters for subnet/port.
    minrto - Controls TCP retransmission timeout. 20 to 300 msec.
    icw - Controls initial congestion window. 2 to 64 MSS.
    congestionprovider - Controls the congestion provider.
    enablecwndrestart - Controls whether congestion window is restarted.
    delayedacktimeout - Controls TCP delayed ack timeout. 10 to 600 msec.


    Example:
    netsh int tcp set supplemental custom 20 16 dctcp enabled 10


    Remarks: When only the template parameter is specified, the TCP default
    global template is modified. If additional parameters are specified
    in addition to the template parameter, then the specified template
    is modified.
    When minrto is modified ensure that the delayedacktimeout is less
    than minrto.








    C:\Windows\system32>
     
  2. DaveMurray

    DaveMurray MDL Junior Member

    Apr 18, 2009
    94
    13
    0
    #2 DaveMurray, Aug 13, 2012
    Last edited: Aug 13, 2012
    sadly i have the same issue. I cannot change anything using netsh int tcp set supplemental....

    :mad:

     
  3. DaveMurray

    DaveMurray MDL Junior Member

    Apr 18, 2009
    94
    13
    0
    #3 DaveMurray, Aug 14, 2012
    Last edited: Aug 14, 2012
    can someone which have more knowledge than us, to check this out? its seems so damned strange when you are writing correctly the command but you getting this error message. Its... suspicious to me...

    Edit: Please some mod to merge my messages
     
  4. DaveMurray

    DaveMurray MDL Junior Member

    Apr 18, 2009
    94
    13
    0
    #4 DaveMurray, Aug 14, 2012
    Last edited by a moderator: Apr 20, 2017
    Code:
    C:\Windows\system32>netsh interface tcp show supplemental
    
    
    The TCP global default template is internet
    
    Usage: set supplemental [template=]automatic|datacenter|internet|compat|custom
             [[minrto=]<integer>]
             [[icw=]<integer>]
             [[congestionprovider=]none|ctcp|dctcp|default]
             [[enablecwndrestart=]disabled|enabled|default]
             [[delayedacktimeout=]<integer>]
    
    
    Parameters:
    
    
         Tag                Value
         Template           - One of the following values:
                              custom, datacenter, automatic, compat, internet.
                              Warning: Changing template parameters will affect all
                                       previous filters for subnet/port.
         minrto             - Controls TCP retransmission timeout. 20 to 300 msec.
         icw                - Controls initial congestion window. 2 to 64 MSS.
         congestionprovider - Controls the congestion provider.
         enablecwndrestart  - Controls whether congestion window is restarted.
         delayedacktimeout  - Controls TCP delayed ack timeout. 10 to 600 msec.
    
    
    Example:
         netsh int tcp set supplemental custom 20 16 dctcp enabled 10
    
    
    Remarks: When only the template parameter is specified, the TCP default
             global template is modified. If additional parameters are specified
             in addition to the template parameter, then the specified template
             is modified.
             When minrto is modified ensure that the delayedacktimeout is less
             than minrto.
    
    C:\Windows\system32>netsh int tcp set supplemental template=internet congestionprovider=ctcp
    The request is not supported.
    
    what is going on guys...? For me it is very suspicious and.... alien strange.... I cant understand... :/

    EDIT: Im requesting if someone moderator want to merge my messages :)
     
  5. lordvj

    lordvj MDL Novice

    Aug 7, 2010
    47
    3
    0
    tried the same using powershell. got an error saying "congestionprovider" is read-only. maybe we need to wait for hotfix
     
  6. Smile286

    Smile286 MDL Novice

    Oct 9, 2012
    1
    0
    0
    Hi!
    I have the same problem. It looks like something wrong with network stack or whatever... Here it is my thread about it on Microsoft Technet: social.technet.microsoft.com/Forums/en-US/w8itpronetworking/thread/f55027d7-f4cf-4681-96b5-b530c9dab7e0 (Sorry, can't post direct links on this forum.)
    Win 8 final build (9200).
    We should wait for a patch, I suppose.
     
  7. DiogoCDS

    DiogoCDS MDL Novice

    Nov 2, 2010
    1
    0
    0
    Hi,
    I was getting the same error till I tried just using "set supplemental congestionprovider=ctcp" and it works... Well I don't know if it works but it doesn't give any error or anything.
     
  8. rover3500

    rover3500 MDL Novice

    Jan 24, 2009
    8
    0
    0
    It seems that you can have a setting,like a profile.
    I did 'netsh int tcp set supplemental internet' and it said ok.From what I can see it enables ctcp and changes other settings like timestamps etc.
    Do 'Get-NetTCPSetting' to see the settings.The 'internet' setting seems to disable heuristics and autotuning aswell.

    I may be talking crap as I'm not a novice but also not a network expert.It's just what I've worked out for myself - someone please comment whether it works for them or not.
    Does anyone know how to check if it's actually active the internet 'plan' as the 'get' command just gives you a list of all settings.

    If you change 'internet' to 'automatic',it'll put all settings back I think.

    This is all in powershell btw,not cmd window.

    Hope it helps someone.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. kinghamster678

    kinghamster678 MDL Novice

    May 3, 2014
    1
    0
    0
    ok here is what you are you going to do
    1.open notepad and copy this:Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nsi\{eb004a03-9b1a-11d4-9123-0050047759bc}\0]
    "0200"=hex:00,00,00,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
    00,00,00,00,00,00,02,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,​\
    00,00,00,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,​\
    ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
    "1700"=hex:00,00,00,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
    00,00,00,00,00,00,02,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,​\
    00,00,00,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,​\
    ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
    2.close the notepad then click save and then name it the file as enable-esn-ctcp.reg and on the encoding option you will see the option is set to ASNI change that to unicode and save
    3.double click the file or import it to your registry then restart your computer
    4.finally type netsh int tcp show global on an elevated or administrator cmd done;)
     
  10. =)(=

    =)(= Guest

    Why don't you merge them yourself?