Results 1 to 7 of 7

Thread: [Bypass] Windows 10 Restrictions (Templates,CongestionProvider) etc.

  1. #1

    [Bypass] Windows 10 Restrictions (Templates,CongestionProvider) etc.

    I found a way to change the CongestionProvider and the Template and other Settings listed in TCP Stack.

    My approach was simple, I Reversed the settings of Windows 10 Server and applied them to Windows 10 Pro, with success.

    Normally you can change Settings with these commands, on some Windows 10 Builds(1607,1703,1709,1803,1809,1903,1909..) it will fail.

    Example:
    Code:
    Powershell:
    Set-NetTCPSetting -SettingName Internet -CongestionProvider CUBIC
    
    Netsh:
    netsh int tcp set supplemental Template=Internet CongestionProvider=CUBIC
    netsh int tcp set supplemental Template=(Name)
    Powershell Error Example:


    Netsh Error Example:


    CongestionProvider is regulated in this way via netsh.

  2. #2
    AutomaticUseCustom:
    Code:
    AutomaticUseCustom = Disabled
    HKLM\System\CurrentControlSet\Control\Nsi\{eb004a03-9b1a-11d4-9123-0050047759bc}\28\0200 Data: B8 0B 00 00 01 00 00 00 00 00 00 00 00 00 00 00
    HKLM\System\CurrentControlSet\Control\Nsi\{eb004a03-9b1a-11d4-9123-0050047759bc}\28\1700 Data: B8 0B 00 00 01 00 00 00 00 00 00 00 00 00 00 00
    
    AutomaticUseCustom = Enabled
    HKLM\System\CurrentControlSet\Control\Nsi\{eb004a03-9b1a-11d4-9123-0050047759bc}\28\0200 Data: B8 0B 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    HKLM\System\CurrentControlSet\Control\Nsi\{eb004a03-9b1a-11d4-9123-0050047759bc}\28\1700 Data: B8 0B 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    NetworkDirectDisable:
    Code:
    HKLM\System\CurrentControlSet\Services\NDIS\Parameters\NetworkDirectDisable -> 1
    NetworkDirectAcrossIPSubnets (Allowed)
    Code:
    HKLM\System\CurrentControlSet\Services\NDIS\Parameters\NetworkDirectGlobalFlags -> 1
    NetworkDirectAcrossIPSubnets (Blocked)
    Code:
    HKLM\System\CurrentControlSet\Services\NDIS\Parameters\NetworkDirectGlobalFlags -> 0
    Complete overview:



    Be aware that not all parameters can be changed.

    If you see LEDBAT has been removed from the Netsh context and is only available via Powershell.
    I have not yet tried to force settings via wmi.

    Still, I think it might be useful.

  3. #3
    Template is regulated in this way via netsh.



    Code:
    ;;Internet 0
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nsi\{eb004a03-9b1a-11d4-9123-0050047759bc}\27]
    "06000000"=hex:00,00,00,00,ff,ff,ff,ff
    
    ;;DataCenter 1
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nsi\{eb004a03-9b1a-11d4-9123-0050047759bc}\27]
    "06000000"=hex:01,00,00,00,ff,ff,ff,ff
    
    ;;Compat 2
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nsi\{eb004a03-9b1a-11d4-9123-0050047759bc}\27]
    "06000000"=hex:02,00,00,00,ff,ff,ff,ff
    
    ;;Custom 3
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nsi\{eb004a03-9b1a-11d4-9123-0050047759bc}\27]
    "06000000"=hex:03,00,00,00,ff,ff,ff,ff
    
    ;;InternetCustom 4
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nsi\{eb004a03-9b1a-11d4-9123-0050047759bc}\27]
    "06000000"=hex:04,00,00,00,ff,ff,ff,ff
    
    ;;Automatic 7 ( Removed? )
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nsi\{eb004a03-9b1a-11d4-9123-0050047759bc}\27]
    "06000000"=hex:07,00,00,00,ff,ff,ff,ff

  4. #4
    Administrator Philip's Avatar
    Join Date
    May 1999
    Location
    Jacksonville, Florida
    Posts
    10,991
    Blog Entries
    6
    Very interesting, thanks for sharing! This should be very useful for some Windows Home Builds. My current machine is: Windows 10 Pro version 20H2 Build 19042.928, so I can modify most settings via netsh/PowerShell cmdlets, but here are my keys.

    In Windows 10 Pro I only have the "00000000" and "04000000" templates it seems.. Hmm. If I change the CongestionProvider via netsh (netsh int tcp set supplemental template=internet congestionprovider=ctcp), then only the "00000000" binary value changes, not the "04000000".

    My HKLM.../27 key seems to be completely empty by the way ([HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nsi\{eb004a03-9b1a-11d4-9123-0050047759bc}\27])

    So, for reference, I tried changing the CongestionProvider with other templates (using netsh), and changing the CongestionProvider of the "InternetCustom" template changes the registry value ...\26"04000000".

    With the default CUBIC/Automatic congestion provider
    Code:
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nsi\{eb004a03-9b1a-11d4-9123-0050047759bc}\26]
    "00000000"=hex:00,00,00,00,00,00,00,00,00,00,00,00,05,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

    With CTCP (set via netsh, using: netsh int tcp set supplemental template=internet congestionprovider=ctcp)
    Code:
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nsi\{eb004a03-9b1a-11d4-9123-0050047759bc}\26]
    "00000000"=hex: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,ff,00,00,00,00,00,00,00
    If the congestion provider binary value is set via the Registry Editor, reboot shows the new setting in PowerShell (using Get-NetTCPSetting -SettingName Internet)

    So this seems to work great for setting congestion control provider at least, should be very useful if it works with older Windows 10 Home builds that don't allow modifying it using netsh or PowerShell.
    Linux is user friendly, it's just picky about its friends...
    Disclaimer: Please use caution when opening messages, my grasp on reality may have shaken loose during transmission (going on rusty memory circuits).
    ๑۩۞۩๑

  5. #5
    I think [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nsi\{eb004a03-9b1a-11d4-9123-0050047759bc}\27] will only be created when using Netsh, since all these Parameters are from netsh.
    Powershell uses WMI Context to change stuff.
    "00000000" -> ;;Internet
    "04000000" -> ;;InternetCustom

    This key must be set before hand and the PC must be restarted in order to use the InternetCustom template. InternetCustom Template should then be used.
    Code:
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nsi\{eb004a03-9b1a-11d4-9123-0050047759bc}\27]
    "06000000"=hex:04,00,00,00,ff,ff,ff,ff
    What is even stranger is that there is no custom template in Powershell but in Netsh.
    Why it might be good to change the template, because the Delayack & DelayFreq are set lower, I haven't found a way to change these 2 parameters yet. Even changing it manually via the registry does not work (Only on Server).


  6. #6

  7. #7
    Administrator Philip's Avatar
    Join Date
    May 1999
    Location
    Jacksonville, Florida
    Posts
    10,991
    Blog Entries
    6
    I do have both Internet, and InternetCustom templates (along with: Automatic, Compat, Datacenter, DatacenterCustom) in Windows 10 Pro when listing them with PowerShell.
    Trying to change CongestionProvider in PowerShell gives a "Read Only" error, so I use netsh to change the congestion provider (but not the template), and it was changing those "00000000" and "04000000" values in the "..\26" key, as in:
    Code:
    netsh int tcp set supplemental template=internetcustom congestionprovider=cubic


    In Windows 8, there was a way to change the CongestionProvider to CTCP in the following key ("...\0" instead of "...\26"):

    Code:
    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,00,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,00,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
    I don't remember exactly which pair, but likely the "02" is the congestion algorithm. This key also exists in Windows 10, not sure if/when it is used.
    Linux is user friendly, it's just picky about its friends...
    Disclaimer: Please use caution when opening messages, my grasp on reality may have shaken loose during transmission (going on rusty memory circuits).
    ๑۩۞۩๑

Similar Threads

  1. Download Flash Templates For Free
    By laila in forum alt.internet.wireless
    Replies: 0
    Last Post: 01-01-10, 09:42 AM
  2. i hate templates
    By Chris in forum General Discussion Board
    Replies: 3
    Last Post: 07-27-05, 09:41 AM
  3. Templates in Word & Excel
    By westy in forum Software Forum
    Replies: 1
    Last Post: 07-29-03, 08:46 PM
  4. Three cheers for templates!!
    By mountainman in forum General Discussion Board
    Replies: 6
    Last Post: 05-16-02, 11:04 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •