Set-NetTCPSetting still incomplete code in windows 10?


Recommended Posts

So prior to windows 7, network configuration was done between the registry and the netsh int commands.

In windows 8 microsoft moved some of this to Set-NetTCPSetting but a lot of it was locked down as readonly I assume due to it been feature incomplete.

I thought surely years later in windows 10 this very important code would be operational but seems it is still locked down :(

So adjustments include enabling/disabling nagle algorithm
adjusting congestion window type
enabling custom template (to even use these settings)
adjust initial congestion window (quite important for performance)
adjust delayed ack delay
adjust slow start on recovery behaviour

Some of these were not adjustable at all in windows 7, but the ones that were did work, competing operating systems such as linux allow full adjustment.

According to microsoft docum,entation all these can be adjusted however their documentation seems out of sync with the code.

References here

http://powershell.org/wp/forums/topic/how-to-change-delayedackfrequencys-value/
https://technet.microsoft.com/en-us/library/hh826132(v=wps.630).aspx
http://www.speedguide.net/articles/windows-8-10-2012-server-tcpip-tweaks-5077
 

Now I cannot even change to the custom template see here output
PS C:\WINDOWS\system32> netsh int tcp set supplemental template=Compat
Ok.
PS C:\WINDOWS\system32> netsh int tcp show supplemental
The TCP global default template is compat
PS C:\WINDOWS\system32> netsh int tcp set supplemental template=Internet
Ok.
PS C:\WINDOWS\system32> netsh int tcp show supplemental
The TCP global default template is internet
PS C:\WINDOWS\system32> netsh int tcp set supplemental template=InternetCustom
The parameter is incorrect.

InternetCustom is a valid template and is what should be used when using non defaults, but the code rejects it. Internet and Compat are read only templates with hard coded values.

To view template settings run this command (I wont paste output here as is very large) 'Get-NetTCPConnection' it will show all templates and the values for the templayes, only templates ending in Custom are not read only or at least should be.  However most of the values are read only in the custom templates, see examples here.

This is a value that isnt locked as read only that works.

PS C:\WINDOWS\system32> Set-NetTCPSetting -SettingName InternetCustom -CongestionProvider CTCP
PS C:\WINDOWS\system32>

However lets try enabling DCTCP the setting thats used in the Datacenter template.

PS C:\WINDOWS\system32> Set-NetTCPSetting -SettingName InternetCustom -CongestionProvider DCTCP
Set-NetTCPSetting : Property CongestionProvider is read-only

Woooh, suddenly its read only?

Likewise cannot change it to Default which is used in the Compat template (default = newreno).

PS C:\WINDOWS\system32> Set-NetTCPSetting -SettingName InternetCustom -CongestionProvider Default
Set-NetTCPSetting : Property CongestionProvider is read-only

Cannot disable nagle :(

PS C:\WINDOWS\system32> Set-NetTCPSetting -SettingName InternetCustom -DelayedAckFrequency 1
Set-NetTCPSetting : Property DelayedAckFrequency is read-only

However if we set the current value suddenly its not read only.

PS C:\WINDOWS\system32> Set-NetTCPSetting -SettingName InternetCustom -DelayedAckFrequency 2
PS C:\WINDOWS\system32>

To prove it isnt just accepting current values, I try to modify the read only Internet template.

PS C:\WINDOWS\system32> Set-NetTCPSetting -SettingName Internet -DelayedAckFrequency 2
Set-NetTCPSetting : Only the custom templates InternetCustom and DatacenterCustom can be modified.
At line:1 char:1

So unless I have got something wrong (not according to microsoft documentation) it seems we have another unfinished feature out in the wild :(

Has been raised via enterprise support channels, so will see what microsoft do.

Ok the response is they locked it down on desktop versions of the OS.

They are considering partially unlocking it for the pro version but they said it would be just partial support, they are also considering changing the defaults of the initial congestion window from 4 to 10 packets to suit faster broadband connections but leaving it as 4 on the compat template.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Ubisoft's Black Flag remake sells two million copies on day one, sets franchise records by Pulasthi Ariyasinghe A couple of days ago, the pirate adventure Assassin’s Creed Black Flag returned with a fresh remake from Ubisoft. Much like the original from 2013, this Resynced edition was received extremely well by critics, with even Neowin giving the game a 9/10 score in its review. It looks like the game is very popular with fans too, as it had sold over two million copies just on its first day. “Black Flag has always held a special place in the heart of the community, and ours.” said Martin Schelling, head of the Assassin's Creed brand, in a statement. "Bringing it back with Resynced was a promise to that passion for Edward’s adventures, and to the unique sense of freedom players experienced back then. Seeing 2 million players set sail on day one, along with the great reviews from critics, is the greatest reward we could have hoped for.” Interestingly enough, Ubisoft confirmed that this has become the highest-rated game in the Assassin's Creed franchise since the original Black Flag launch in 2013. On Steam alone, the game saw a peak of 99,451 concurrent players on the day of launch. This is another record for the franchise, making the Resynced the most popular launch on Steam ever. That number is already set to be surpassed this weekend too. The Steam reviews aren't too happy with the game though, with it currently sporting a 76% Mostly Positive rating. This is mostly related to a bug where cutscenes are played at 30 FPS as well as the in-game store's vast microtransaction options. The company has responded already saying that it has a fix for the cutscenes coming soon, with a workaround also being provided for affected players. As for the microtransactions, Ubisoft has said the standard edition does not hold back any content, with the extras only being optional. Assassin’s Creed Black Flag Resynced is available across PC, Xbox Series X|S, PlayStation 5, and the Ubisoft+ subscription.
    • it could issue a non-compliance decision, which can result in a fine of up to 6% of the total worldwide annual turnover. 6% of $200 billion (2025 revenues) is $12 billion. That should be enough to keep the commission and other EU employees paid for at least six months.
    • We'll pay you to pay us so we look like we have real live actual people paying for our service. Nb real life circle jerk of 100bn removed for clarity.
    • Remember when Adobe was shutting down CS2 activation servers, and published a private (no indication it was meant to be private either) KB accidentally public facing essentially giving away non-activation download versions and offline activation keys for almost all of the CS2 generation of apps.
  • Recent Achievements

    • Week One Done
      hadiaali45 earned a badge
      Week One Done
    • Week One Done
      arone_24 earned a badge
      Week One Done
    • Reacting Well
      flexorcist earned a badge
      Reacting Well
    • First Post
      VitãoTub earned a badge
      First Post
    • Week One Done
      M S COMMUNICATION earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      403
    2. 2
      PsYcHoKiLLa
      138
    3. 3
      +Edouard
      101
    4. 4
      Nick H.
      90
    5. 5
      neufuse
      73
  • Tell a friend

    Love Neowin? Tell a friend!