Page 5 of 11 FirstFirst 123456789 ... LastLast
Results 81 to 100 of 213

Thread: TCP Optimizer needs new version since v1709 Windows Update [updated]

  1. #81
    Junior Member
    Join Date
    Mar 2018
    Posts
    39
    Hi guys, I have been playing with win10 Internet templates and various congestion provider values.
    So finally I can conclude that over at Microsoft, people work for free or they are drunk all the time.
    Instead of making the system tunable, they locked it but left only partial commands unlocked.
    So here it gores:

    WHAT STICKS IN WIN10

    There are various Internet templates in win10.
    Automatic (????), Internet, InternetCustom, DataCenter, DataCenterCustom and Compat.
    You can see their settings with Get-NetTCPSetting
    or current Internet template settings with Get-NetTransportFilter

    What is absurd you can use only 2 Internet templates in win10: Internet and Compat !

    To change the current Internet template you can use:

    netsh int tcp set supplemental template=STRING
    valid STRING values are:
    STRING = Internet - set template Internet
    OR
    STRING = Compat - set template Compat

    Now comes the good part. Each Internet template has a different values for congestionprovider,
    and even more absurdly a different way of setting them.

    FOR INTERNET
    netsh int tcp set supplemental template=internet congestionprovider= "STRING"

    valid STRING valuse are:
    STRING = default ..... default is CUBIC
    STRING = CTCP
    STRING = DCTCP

    FOR COMPAT
    netsh int tcp set supplemental template=compat congestionprovider= "STRING"

    valid STRING valuse are:
    STRING = default ..... default is NEWRENO
    STRING = CTCP
    STRING = DCTCP

    So now you can play with different congestion providers but unfortunately you are tied to a specific Internet template.
    It is unfortunate because you cant change all settings inside a particular Internet template, but only some.

    What buggs us the most in this forum, you cant change :
    delayedacktimeout - Controls TCP delayed ack timeout. 10 to 600 msec.
    delayedackfrequency - Controls TCP delayed ack frequency. 1 to 255.

    Although by looking at syntax it should be changeable.

    So now you can play with different congestion providers although by checking out the following links (fresh from Microsoft)
    The CUBIC congestion provider should be the best as it is the new kid on the block. But if you want to have CUBIC you are tied to
    "Internet" internet template.

    From: https://blogs.technet.microsoft.com/...or-windows-10/
    CUBIC is a TCP Congestion Control (CC) algorithm featuring a cubic congestion window (Cwnd) growth function.
    The Cubic CC is a high-speed TCP variant and uses the amount of time since the last congestion event instead of ACK
    clocking to advance the Cwnd. In large BDP networks the Cubic algorithm takes advantage of throughput much faster than ACK
    clocked CC algorithms such as New Reno TCP. There have been reports that CUBIC can cause bufferbloat in networks
    with unmanaged queues (LTE and ADSL). In the Creators Update, we are introducing a Windows native implementation of CUBIC.
    We encourage the community to experiment with CUBIC and send us feedback.

    Also check this PDF
    https://datatracker.ietf.org/meeting...nts-in-windows

    For our new followers (BTW nice to have you here) - all above commands are entered through Windows PowerShell(Admin) .

  2. #82
    Regular Member n1kobg's Avatar
    Join Date
    Jan 2018
    Posts
    120
    Ye I use Get-NetTCPSetting too. Good informative blog you post. My impression is that the different templates are for different types if internet connections and devices, i could be wrong though..
    Remember - Windows goal is to optimize the OS for compatibility, higher throughput and power saving so be careful when someone tells you this or that setting is "Best". You cant change everything because Windows is closed platform (not open source, like Linux for ex.)
    Ive test none, cubic and ctcp, i haven't test dctcp that much because I performed bad that day & I thought its from that setting...In terms of internet tests all show same results for me. DCTCP means TCP Congestion Control for Datacenters. Cubic is better for Browsing the internet but not for gaming imo.
    BTW type Get-NetTcpSetting | Out-GridView

    My internet template was ctcp, i changed it back to cubic now..
    Last edited by n1kobg; 03-31-18 at 07:59 PM.

  3. #83
    Junior Member
    Join Date
    Mar 2018
    Posts
    10
    Hello again n1kobg, I found the error in your .bat file that I mentioned earlier and is in the services part but only with the affected services with the numbers "4", not the 0000004, that if I do not know if they are 1 or 2 services that cause and initiate that problem that freezes the os in the beginning.

    Another thing you're thinking about getting another version of your .bat, because in the previous page of the post has been removed version 2.0 and I would like to download it again since I was doing tests and I forgot to save the zip or make a copy ^^

    I hope you keep improving this file, see you later!

  4. #84
    Everything is restricted, except on server edition.

    Even on RS4 and RS5 its restricted!

    >> waiting for answer

    https://techcommunity.microsoft.com/...p/176927#M1495

  5. #85
    Regular Member n1kobg's Avatar
    Join Date
    Jan 2018
    Posts
    120
    Thank you, yes I now tweak the file little by little when i have time & mood. I change some of the services to 3 which is manual.

    Im thinking to remove the services from the file because I have another little project to add the new and remove the old deprecated services from an open source portable app & improve it a little because the last few Windows patches are not included in it. That will be easier for the people who dont know how exactly to tweak the batch file and want just to click and work. (I always tweak all the batch files to custom them for my needs)

    The reason I made the file on sections is to be able to apply the different tweaks separately not all at once. Otherwise I would made it all tweaks with 1 click. I made service tweaks on my system with 2 different programs until now on 2 stages with pc restart between them. I might adapt separate batch file to something similar but i have to separate the services on 2 stages as well, that way you'll be able to disable even more services.

    Ill post v.3 soon. ive added new tweaks as well. BTW I removed Cortana registry tweaks and left only the command. "She" is tight to Desktop and also can cause problems -like all females

  6. #86
    Junior Member
    Join Date
    Mar 2018
    Posts
    10
    Here again I return, after installing a windows 7 sp1 x64 unattended, retouched and optimized (it came out 2 weeks ago) I found in a very interesting forum of people who know a lot of computer and at the time they are dedicated to this.

    After installing drivers (only Video, Audio and Peripherals [Mouse / Razer Keyboard and Logitech g30 Headset)), then the remaining drivers (chipset, lan, and smbus, simple controller of pci) are predetermined of the os, programs (mostly portable) ), make some adjustments to the operating system and execute in .bat that left st1cky on page 2 of this topic.

    I got to achieve this: https://imgur.com/a/yrp1y (The values ​​are between 20-30 with peaks to 80, I do not know why)

    When I had windows 10, that latency value was between 500-550 (when I played I felt that freezeo and warp on the monitor and it was really annoying) and I said wtf this can not be so, so I started installing this windows 7 unattended again and achieve those values
    I know that I still need, I think, to optimize much more the registry and the network controller, layers that can achieve a lower latency (haha if I am already very ambitious). That's why I want to ask, that you know much more than me about the registration as
    since I am waiting for the .bat v3 of n1kobg and with the collaboration of st1cky, if they could do a .bat also for windows 7, since I do not know what adjustments or missing resources in the values ​​that are applied in the .bat of windows 10 (previously published v2) are different in windows 7.

    I hope it serves you and that I can also help you in this.

  7. #87
    Regular Member n1kobg's Avatar
    Join Date
    Jan 2018
    Posts
    120
    Ye I know a few tweaks for Windows 7 that do not work any more in Wiindows 10. The difference b/w both OS'es is big especially in services.

  8. #88
    Regular Member n1kobg's Avatar
    Join Date
    Jan 2018
    Posts
    120
    Hi Ailurus Here's the Windows 7 batch. I made it relatively light because st1cky already have batch for Win 7. Ive covered the gaming tweaks and some extras. My batches are more gaming oriented & try free as most resources as possible. The services are just touched here but dont wory.

    Im giving you a link for the best software for optimizing Windows 7

    http://www.mztweak.com/products.html

    If the download links dont work just tell me Ill give you link to my cloud.

    Download Mz Game Accelerator , Mz 7 Optimizer , Mz Services Manager and Mz CPU Accelerator.

    I always regret the project seized to exist and they are not making them for Windows 10

    Here my batch
    https://mega.nz/#!J9IQUQSK!cZ_eXBGyP...x36hudroyCI4RM


    Run it after you use Mz 7 Optimizer & Mz Services Manager and Restart the PC

    You will have to place ctcp.bat file in Startup folder or Run it by yourself every time you start Windows. Its just the nature of the OS. I dont know about Microsof fixing this issue.
    Last edited by n1kobg; 04-02-18 at 02:10 PM.

  9. #89
    Junior Member
    Join Date
    Mar 2018
    Posts
    39
    @n1kobg
    I think we did what we could (well myself the least LOL) with NIC settings ...
    I honestly didnt know about winsock at the time a thought came on my mind. As the NIC software and NIC hardware settings as well as router settings have all to be aligned (identical) .... what about windows???
    Are there any more forces behind the curtains??? And I stumbled on winsock !

    Anyway to make it short. After I did winsock reset, I had THE BEST hit reg since I have been playing CSGO !!!!!!!!
    Also by some wonder, when doing a test with DSL REPORTS, I got 2 x A+ results for speed and latency!!!!
    As that test has some kind of bufferbloat readout, my download and upload bufferbloat values were under 5 ms!!!!
    OFC as anything inside this stupid OS, the system was very quick to go back to its original setup and my test results back to normal or usual.

    While researching I read somewhere that winsock reset puts all TCP registry walues back to default (Is this really the case?)
    Anyway, now I do : winsock reset - registry tweaks - RESET - netsh tweaks and I still have almost ideal hitreg.

    Digging further I found this link - which is for my friend @n1kobg because he likes all smal utilities for tweaking the system....
    https://www.nirsoft.net/utils/winsoc...providers.html

    I will investigate more into winsock, but your guidance is always wellcome.

  10. #90
    Regular Member n1kobg's Avatar
    Join Date
    Jan 2018
    Posts
    120
    ye I use Nirsoft and SysinternalsSuite. They are bunch of small apps and utilities which can be very useful. Im making a list with my favorite applications and programs. Some of them are in my blog btw.
    Winsock is bugging sometimes so resseting it when you have issues is one of the first things you should consider. Many happy people in the forums have similar posts about winsock reset dns cache flush also is good to do from time to time.

    With these commands you can fix your internet if you have problems like No Internet Access or similar:

    netsh winsock reset
    netsh int ip reset
    netcfg -d
    ipconfig /release
    ipconfig /renew
    ipconfig /flushdns
    ipconfig /registerdns

    This is simple old file I made. Its one more thing which is useful to do it from time to time or when you have problems with Windows.

    https://mega.nz/#!Y0JQFZAa!6zDg7PtE7...MEZnIh355nYz3I

  11. #91
    Junior Member
    Join Date
    Mar 2018
    Posts
    39
    Yea, I knew its your type of usefull apps.

    Interesting and informative link about various NIC and TCP settings.
    http://smallvoid.com/article/tag/network-performance/

    Also - from the same group of links, was trying to tweak winsock buffers, but they dont exist in win10. (??)
    http://smallvoid.com/article/winnt-winsock-buffer.html

  12. #92
    Regular Member n1kobg's Avatar
    Join Date
    Jan 2018
    Posts
    120
    No these dont exist in Win 10

    Ive included these in the batch

    Reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Winsock" /v "UseDelayedAcceptance" /t REG_DWORD /d "0" /f
    Reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Winsock" /v "MaxSockAddrLength" /t REG_DWORD /d "16" /f
    Reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Winsock" /v "MinSockAddrLength" /t REG_DWORD /d "16" /f

  13. #93
    Junior Member
    Join Date
    Mar 2018
    Posts
    39
    Quote Originally Posted by n1kobg View Post
    No these dont exist in Win 10

    Ive included these in the batch

    Reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Winsock" /v "UseDelayedAcceptance" /t REG_DWORD /d "0" /f
    Reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Winsock" /v "MaxSockAddrLength" /t REG_DWORD /d "16" /f
    Reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Winsock" /v "MinSockAddrLength" /t REG_DWORD /d "16" /f
    LOL, you already knew about those !!!!

    I am posting two links which although are old by now, are each on its own interesting.
    If nothing else, just to see how difficult or easy a complete windows internet registry setup looks like.

    https://sextium.wordpress.com/inform...rte3-internet/

    unfortunately, besides it is probably for win7, this optimisation is for video streaming (as my spanish tells me LOL)
    and there is no explanations for particular reg key entries.

    Next one:

    https://pastebin.com/BnAPinQE

    I suppose Niko is a reference to CSGO - Niko, and the second link is a hit-reg Fix for CSGO.

    Also outdated, but again shows some tweaks we dont have in "our" batch file.

    HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters

    EnableDca 1 hexa - " I will test DCA enabled, as I think it can do no harm"

    MaxNumForwardPackets 37 decimal - "this is a very specific number ???"

    NumForwardPackets 37 decimal - "this is a very specific number ???"



    HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Memory Management

    You need to know what is your CPU L2 cache, dowload CPU-Z : open and check "cache" , you must see L2 : 512Kbytes for example (if you see 512 x 4 do this = 2048kbytes )

    SecondLevelDataCache "L2 cache size" decimal ( enter your value "L2 cache size" ) - this one has sense only if DCA enabled (?????)



    Another link from the same sorce:

    https://pastebin.com/m9WWQBBm

    This one is a typical gaming optimisation post (specific to BF4), but can be used generaly.
    Interesting note is

    LOW RX TX buffers
    Set to 80, 64, or as low as possible (in order of preference):
    Receive Buffers
    Transmit Buffers


    NDU and memory leak (still somewhat present in win10)
    Disable the Windows NDU service by running the following commands in the command prompt:
    sc config "NDU" start= disabled
    sc stop "NDU"


    Source: http://forums.mydigitallife.info/thr...eak-How-to-fix


    And to comment on a discusion abou TX RX size we had a few posts before. In CSGO my system receives cca 10x more data than it sends out, which is after all logical. My PC has to receive the data about all other players in the game, and sends out only the data about my character which are basic positioning, moovement and if shooting, a few vectors for direction. So definately for CSGO RX (receive buffer) should be higher than TX(transmit buffer).

    If you put : net_client_steamdatagram_enable_override 1 (I think) in autoexec, you will see a very nice analysys of your network traffic for every 0,1 second. Thats when you connect to steam server, but only if you connect before the start of the next round (let say in DM).
    Last edited by jack37; 04-03-18 at 04:28 AM.

  14. #94
    Regular Member n1kobg's Avatar
    Join Date
    Jan 2018
    Posts
    120
    YEs these are outdated unfortunately. The spanish link is optimized for server. Nico's settings are for Windows 7, I have these in my file. The rest is for Win7 and 8 along with DCA and the rest you wrote.
    I included them in Win 7 file I made for Ailurus. The L2 cache is also for Win7, I was wondering how to explain this to Ailurus with less typing and thats why I gave him the link to Mz.Tools. They have option for that and works great.
    St1ky also had this path included in his Win10 batch file and I advised him to remove it because his was to a specific CPU cache. Its best to leave it to 0 in Win 8 and 10 - the OS is making that automatically. Ive tested to set my own l2 cache and no improvement.This value is for specific scenario anyway but if set not correctly can hurt the performance. Its valid only for Win 7.
    They improve Windows 10 and I think there will be less and less old tweaks that work on this OS and the new tweaks are still yet to be discovered.

  15. #95
    Junior Member
    Join Date
    Mar 2018
    Posts
    39
    DAmn, I knew I should install win7 !!!!!!!!!!!!

    Would you disable NDU for win10?

  16. #96
    Regular Member n1kobg's Avatar
    Join Date
    Jan 2018
    Posts
    120
    Less tweaks means the OS work better with default settings Win7 is slower for games. I had around 25fps more with Windows 8 when BF4 came out
    NDU was making troubles in Win7 .if im not mistaken because of it the system used more memory. I dont think you should disable it but if u want u can do it. Compare the RAM usage before and after u disable it. If you use less RAM then leave it disabled.

  17. #97
    Regular Member n1kobg's Avatar
    Join Date
    Jan 2018
    Posts
    120
    Yes I made a tutorial in my blog year and a half ago.Dont remeber when exactly TBO. Its hidden though. Ill unlock it for you. I included many of these tweaks in my batch file. More than 40 people have done this and all but 1 had improvement in hit-reg. That 1 guy later said he have Wi-Fi it for Etherent.

    About the Tx & RX buffers- I think Realtek can go to 32, Intel can 80. Im 64 at the moment IDK KillerNIC settings... Ive tested with 8 and 16 but below a certain number I dont see improvement in hit-reg, on;y packet loss

    The port forwarding is good and it works very good for people with routers. Here what ive wrote about the topic:

    http://n1kobg.blogspot.bg/2016/05/ba...3659-port.html


    Internet Gaming Settings / Better Hit-Reg:
    Just do the TCP Optimizer tweaks from the batch file. They still havent released version for Windows v1709. For those with prevoius version this guide will work perfectly.

    http://n1kobg.blogspot.bg/2017/03/in...r-hit-reg.html

    BTW this is the most visited page in the blog :P

    I can post the tweaks which are included in TCP Optimizer for those who dont know which are they...

    ps. Like I said, its hard to find something new
    Last edited by n1kobg; 04-03-18 at 08:57 AM.

  18. #98

  19. #99
    Administrator Philip's Avatar
    Join Date
    May 1999
    Location
    Jacksonville, Florida, United States
    Posts
    10,362
    Blog Entries
    6
    We will be updating the TCP Optimizer, you are correct that it should be reading the current template and applying some of those changes to it, instead of InternetCustom. It is just that Microsoft is making changes to the OS, and we have to adapt the Optimizer to work differently depending on what works with that particular Windows version/build.

    We will address the congestionprovider issue by using the netsh command I suppose.

    The RSC setting is applied per NIC with the Optimizer, we can add a global setting using netsh easily as well.

  20. #100

    Ultimate_Tweak_by_St1cky_05-04-2018

    Quote Originally Posted by Philip View Post
    We will be updating the TCP Optimizer, you are correct that it should be reading the current template and applying some of those changes to it, instead of InternetCustom. It is just that Microsoft is making changes to the OS, and we have to adapt the Optimizer to work differently depending on what works with that particular Windows version/build.
    We will address the congestionprovider issue by using the netsh command I suppose.
    The RSC setting is applied per NIC with the Optimizer, we can add a global setting using netsh easily as well.
    But notice that PS. > TcpNetSettings are blocked on Desktop Versions.

    Possible Congestionprovider Settings:


    Following command for changing Templates Congestionprovider:
    netsh int tcp set supplemental <Template> congestionprovider= <Settings>

    ==================================================================================================== =====


    I Updated my Batch File

    pastebin.com



    Code:
    @Echo off
    color 0a
    
    mode con:cols=220 lines=54
    
    DATE /T
    Echo. ; ___________________________
    Echo. ;   !!! Tweaking Registry !!!
    Echo. ; ___________________________
    Echo. ; (  RUN AS ADMINISTRATOR! )
    
    
    Echo. ; ________________________________________
    Echo. ; Enable MSI-Mode for GPU-Processor!
    Echo. ; ----------------------------------------
    for /f %%i in ('wmic path win32_VideoController get PNPDeviceID ^| findstr /L "VEN_"') do REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\%%i\Device Parameters\Interrupt Management\MessageSignaledInterruptProperties" /v MSISupported /t REG_DWORD /d 00000001 /f
    
    
    Echo. ; ________________________________________
    Echo. ; SSD Tweaks and fastboot
    Echo. ; ----------------------------------------
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters" /v EnablePrefetcher /t REG_DWORD /d 00000000 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters" /v EnableSuperfetch /t REG_DWORD /d 00000000 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters" /v EnableBoottrace /t REG_DWORD /d 00000000 /f
    
    
    Echo. ; ________________________________________
    Echo. ; Gaming Tweak - Network Throttling Index
    Echo. ; ----------------------------------------
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile" /v NetworkThrottlingIndex /t REG_DWORD /d 4294967295 /f
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile" /v SystemResponsiveness /t REG_DWORD /d 00000000 /f
    
    
    Echo. ; ________________________________________
    Echo. ; CountOperations
    Echo. ; ----------------------------------------
    ::This parameter allows you to turn off system and process level I/O counters. This counter affects system and disk counting of disk and network I/O requests.
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\I/O System" /v CountOperations /t REG_DWORD /d 00000000 /f
    
    Echo. ; ________________________________________
    Echo. ; Host Resolution Priority
    Echo. ; ----------------------------------------
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider" /v LocalPriority /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider" /v HostsPriority /t REG_DWORD /d 00000005 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider" /v DnsPriority /t REG_DWORD /d 00000006 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider" /v NetbtPriority /t REG_DWORD /d 00000007 /f
    
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\ServiceProvider" /v LocalPriority /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\ServiceProvider" /v HostsPriority /t REG_DWORD /d 00000005 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\ServiceProvider" /v DnsPriority /t REG_DWORD /d 00000006 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\ServiceProvider" /v NetbtPriority /t REG_DWORD /d 00000007 /f
    
    
    Echo. ; ________________________________________
    Echo. ; WorkerThreads
    Echo. ; ----------------------------------------
    ::Increases the number of threads in the Delayed Work Queue. 
    ::Threads in this queue have a lower priority and therefore a higher latency because they must compete with other processing for CPU time. 
    ::Increasing this value may give better performance in some situations.
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Executive" /v AdditionalDelayedWorkerThreads /t REG_DWORD /d 00000000 /f
    :: Optimized For I7 (try lower settings for lower CPUs example 2!)
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Executive" /v AdditionalCriticalWorkerThreads /t REG_DWORD /d 00000006 /f
    
    
    Echo. ; ________________________________________
    Echo. ; Port Allocation
    Echo. ; ----------------------------------------
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v MaxUserPort /t REG_DWORD /d 00065534 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v TcpTimedWaitDelay /t REG_DWORD /d 00000030 /f
    
    
    Echo. ; ________________________________________
    Echo. ; UDPIP Parameters
    Echo. ; ----------------------------------------
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters" /v NegativeCacheTime /t REG_DWORD /d 00000000 /f
    ::If you do not want negative responses to be cached at all, set the value of NegativeCacheTime to 0.
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters" /v NegativeSOACacheTime /t REG_DWORD /d 00000000 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters" /v NetFailureCacheTime /t REG_DWORD /d 00000000 /f
    ::all succeeding name queries fail instantly instead of timing out.
    
    
    Echo. ; ________________________________________
    Echo. ; TCPIP Parameters
    Echo. ; ----------------------------------------
    REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters /v DefaultTTL /t REG_DWORD /d 00000030 /f
    REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters /v SynAttackProtect /t REG_DWORD /d 00000000 /f
    REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters /v TcpMaxDataRetransmissions /t REG_DWORD /d 00000002 /f
    REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters /v DisableLargeMTU /t REG_DWORD /d 00000000 /f
    REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters /v DisableTaskOffload /t REG_DWORD /d 00000000 /f
    
    
    ::TCP parameters that can be adjusted for high throughput
    ::On a link with high bandwidth-delay product (for example, satellite links), there may be a need to increase the window size to above 64 K. 
    ::For that, you need to enable TCP Options as specified in RFC 1,323 by appropriately setting the following registry entry:
    ::To enable window sizes of greater than 65,535, this registry entry should be set to 1 (one).
    ::After this change has been made, the registry entry controlling TCPWindowSize can be set to values larger than 64 K (up to 1 GB).
    Echo. ; ________________________________________
    Echo. ; Window Scaling
    Echo. ; ----------------------------------------
    REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters /v Tcp1323Opts /t REG_DWORD /d 00000001 /f
    ::The default for a gigabit interface is set to approximately 65,535! 16,384 for a 100 Mbps link
    REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters /v TcpWindowSize /t REG_DWORD /d 00065535 /f
    
    Echo. ; ________________________________________
    Echo. ; Online Games - Tweak - !Nagle OFF!
    Echo. ; ----------------------------------------
    REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSMQ\Parameters /v TCPNoDelay /t REG_DWORD /d 0000001 /f
    REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSMQ\Parameters /v EnableICMPRedirect /t REG_DWORD /d 00000000 /f
    for /f %%i in ('wmic path win32_networkadapter get GUID ^| findstr "{"') do REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\%%i" /v TcpAckFrequency /t REG_DWORD /d 0000001 /f
    for /f %%i in ('wmic path win32_networkadapter get GUID ^| findstr "{"') do REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\%%i" /v TcpDelAckTicks /t REG_DWORD /d 0000000 /f
    for /f %%i in ('wmic path win32_networkadapter get GUID ^| findstr "{"') do REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\%%i" /v TCPNoDelay /t REG_DWORD /d 0000001 /f
    
    
    Echo. ; ________________________________________
    Echo. ; Gaming - Tweaks
    Echo. ; ----------------------------------------
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games" /v Affinity /t REG_DWORD /d 00000000 /f
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games" /v "Background Only" /t REG_SZ /d False /f
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games" /v "Clock Rate" /t REG_DWORD /d 00000100 /f
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games" /v "GPU Priority" /t REG_DWORD /d 0000008 /f
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games" /v "Priority" /t REG_DWORD /d 00000008 /f
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games" /v "Scheduling Category" /t REG_SZ /d High /f
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games" /v "SFIO Priority" /t REG_SZ /d High /f
    
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games\DisplayPostProcessing" /v Affinity /t REG_DWORD /d 00000000 /f
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games\DisplayPostProcessing" /v "Background Only" /t REG_SZ /d True /f
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games\DisplayPostProcessing" /v "Clock Rate" /t REG_DWORD /d 00000100 /f
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games\DisplayPostProcessing" /v "GPU Priority" /t REG_DWORD /d 00000008 /f
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games\DisplayPostProcessing" /v "Priority" /t REG_DWORD /d 00000008 /f
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games\DisplayPostProcessing" /v "Scheduling Category" /t REG_SZ /d High /f
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games\DisplayPostProcessing" /v "SFIO Priority" /t REG_SZ /d High /f
    
    
    Echo. ; ________________________________________
    Echo. ; Black-Vipers-Windows-10-Services-Tweaked
    Echo. ; ----------------------------------------
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\MapsBroker" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\iphlpsvc" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ALG" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\AppMgmt" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\PeerDistSvc" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\CertPropSvc" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\irmon" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\MSiSCSI" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\NaturalAuthentication" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Netlogon" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\RpcLocator" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\RetailDemo" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SCPolicySvc" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SNMPTRAP" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\wcncsvc" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\wisvc" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WinRM" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WwanSvc" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\XblAuthManager" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\XboxNetApiSvc" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SessionEnv" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\TermService" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\UmRdpService" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\AJRouter" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\BthHFSrv" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\bthserv" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\dmwappushsvc" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\HvHost" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\vmickvpexchange" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\vmicguestinterface" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\vmicshutdown" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\vmicheartbeat" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\vmicvmsession" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\vmicrdv" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SharedAccess" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\IpxlatCfgSvc" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SmsRouter" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\CscService" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SEMgrSvc" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\PhoneSvc" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SensorDataService" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SensrSvc" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SensorService" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ScDeviceEnum" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\TabletInputService" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WebClient" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WFDSConSvc" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\FrameServer" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\icssvc" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\xbgm" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\XblGameSave" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\lfsvc" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\NcdAutoSetup" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\NfsClnt" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WMPNetworkSvc" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WlanSvc" /v Start /t REG_DWORD /d 00000004 /f
    
    
    Echo. ; ________________________________________
    Echo. ; Cortana Disabled
    Echo. ; ----------------------------------------
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v AllowCortana /t REG_DWORD /d 00000000 /f
    
    
    Echo. ; ________________________________________
    Echo. ; Disable DVR Game Bar Feature Win10 Only!
    Echo. ; ----------------------------------------
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\GameDVR" /v AllowgameDVR /t REG_DWORD /d 00000000 /f
    
    
    Echo. ; ________________________________________
    Echo. ; Disable Timebroker reduce CPU usage
    Echo. ; ----------------------------------------
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TimeBroker" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TimeBrokerSvc" /v Start /t REG_DWORD /d 00000004 /f
    
    
    Echo. ; ______________________________________________________________________________________________
    Echo. ; Tweaking Network - Offload Settings ( RSC=Off; PCF=Off; Chimney=Off, RSS=ON, TaskOffload=On )
    Echo. ; Current Network Settings
    Echo. ; ----------------------------------------------------------------------------------------------
    powershell.exe Get-NetOffloadGlobalSetting
    powershell.exe Set-NetOffloadGlobalSetting -ReceiveSegmentCoalescing Disabled -PacketCoalescingFilter Disabled -Chimney Disabled -ReceiveSideScaling Enabled -TaskOffload Enabled
    
    
    Echo. ; ________________________________________
    Echo. ; Optimized Network Settings
    Echo. ; ----------------------------------------
    powershell.exe Get-NetOffloadGlobalSetting
    powershell.exe Get-NetTCPSetting -SettingName "Internet"
    powershell.exe Set-NetTCPSetting -SettingName "Internet" -InitialRtoMs 2000
    
    
    Echo. ; ________________________________________
    Echo. ; Tweaking Network - Adv. Adapter Settings
    Echo. ; Current Adv. Adapter Settings
    Echo. ; ----------------------------------------
    powershell.exe Get-NetAdapterAdvancedProperty -Name "Ethernet"
    
    
    ::Interrupt Moderation
    ::Some network adapters are capable of moderating how frequently they interrupt the host processors to indicate network activity (or its completion). 
    ::Some network adapters are also capable of making such decisions in an adaptive manner, taking into account network and host-processor load.
    ::Moderating interrupts can often result in reduction in CPU load on the host, but unless interrupt moderation is performed intelligently and adaptively, 
    ::the CPU savings may come at the cost of increases in latency.
    Echo. ; ________________________________________
    Echo. ; Tweaking Performance Settings - Low Latency
    Echo. ; ----------------------------------------
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *FlowControl -RegistryValue 3
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *InterruptModeration -RegistryValue 0
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword ITR -RegistryValue 0
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *LsoV2IPv4 -RegistryValue 0
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *LsoV2IPv6 -RegistryValue 0
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *PriorityVLANTag -RegistryValue 0
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword AdaptiveIFS -RegistryValue 0
    
    
    ::Offload Capabilities
    ::Offloading tasks can help lower CPU usage on the server, improving overall system performance. The Microsoft TCP/IP transport can offload one or more of the following tasks to a network adapter that has the appropriate task-offload capabilities:
    ::Checksum tasks.   The TCP/IP transport can offload the calculation and validation of IP and TCP checksums for sends and receives.
    ::IP security tasks. The TCP/IP transport can offload the calculation and validation of encrypted checksums for authentication headers (AH) and encapsulating security payloads (ESP). The TCP/IP transport can also offload the encryption and decryption of ESP payloads.
    ::Segmentation of large TCP packets. The TCP/IP transport supports large send offload (LSO). With LSO, the TCP/IP transport can offload the segmentation of large TCP packets.
    ::Stack offload. The entire network stack can be offloaded to a network adapter that has the appropriate capabilities.
    
    ::Enable Offload Features
    ::It is almost always beneficial to turn on network adapter offload features. 
    ::In some instances, however, the network adapter may not be powerful enough to handle the offload capabilities at high throughput. 
    ::For example, enabling LSO can lower the maximum sustainable throughput on some network adapters. 
    ::However, if the reduced throughput is not expected to be a limitation, offload capabilities should be enabled even for such network adapters. 
    ::Note that some network adapters require offload features for send and receive paths to be independently enabled.
    Echo. ; ________________________________________
    Echo. ; Enabling... Offload Settings
    Echo. ; ----------------------------------------
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *IPChecksumOffloadIPv4 -RegistryValue 3
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *TCPChecksumOffloadIPv4 -RegistryValue 3
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *TCPChecksumOffloadIPv6 -RegistryValue 3
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *UDPChecksumOffloadIPv4 -RegistryValue 3
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *UDPChecksumOffloadIPv6 -RegistryValue 3
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *PMARPOffload -RegistryValue 0
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *PMNSOffload -RegistryValue 0
    
    
    Echo. ; ________________________________________
    Echo. ; Enabling... ReceiveSideScaling Settings
    Echo. ; ----------------------------------------
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *RSS -RegistryValue 1
    Echo. ; Trying... Highest RSSQueue Setting
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *NumRssQueues -RegistryValue 2
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *NumRssQueues -RegistryValue 4
    
    
    Echo. ; ________________________________________
    Echo. ; Tweaking WakeOn Settings
    Echo. ; ----------------------------------------
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *WakeOnMagicPacket -RegistryValue 0
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *WakeOnPattern -RegistryValue 0
    
    
    Echo. ; ________________________________________
    Echo. ; Tweaking ECO Settings
    Echo. ; ----------------------------------------
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword EEELinkAdvertisement -RegistryValue 0
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword EnablePME -RegistryValue 0
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword ReduceSpeedOnPowerDown -RegistryValue 0
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword ULPMode -RegistryValue 0
    
    
    Echo. ; ________________________________________
    Echo. ; Tweaking Other Settings
    Echo. ; ----------------------------------------
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword LogLinkStateEvent -RegistryValue 16
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *JumboPacket -RegistryValue 1514
    
    
    Echo. ; ________________________________________
    Echo. ; Optimized Adv. Adapter Settings
    Echo. ; ----------------------------------------
    powershell.exe Get-NetAdapterAdvancedProperty -Name "Ethernet"
    
    pause.
    
    
    Echo. ";---------------------------------------------------------------|"
    Echo. ";                       Tweaking Completed                      |"
    Echo. ";           Please Restart the System to take Effect!           |"
    Echo. ";---------------------------------------------------------------|"
    pause.

    ==================================================================================================== =======

    About Nico CSGO HITREG FIX
    >> PostDate: SEP 23RD, 2014 ( OLD )

    1. ---> Open cmd (admin)
    past this: (and press ENTER in every commands)
    netsh interface tcp set global autotuning=restricted
    netsh interface tcp set global ecncapability=enabled (for windows8 netsh int tcp set global ecn=enable )
    netsh interface tcp set global congestionprovider=ctcp
    netsh int tcp set global dca=enabled
    netsh int tcp set global chimney=enabled


    The TCP chimney offload feature is deprecated and should not be used. 04/20/2017
    DCA (Direct Cache Access) and NetDMA is net working on Windows 10, as far i know.
    CongestionProvider today is CUBIC, i think it perform better then CTCP. ( Needs Testing )
    ECN Hardware related ( varies by user, needs testing what performs better )
    autotuning ( varies by user, needs testing what performs better )


    I updated Batch file with Nico Settings

    Code:
    @Echo off
    color 0a
    
    mode con:cols=220 lines=54
    
    DATE /T
    Echo. ; ___________________________
    Echo. ;   !!! Tweaking Registry !!!
    Echo. ; ___________________________
    Echo. ; (  RUN AS ADMINISTRATOR! )
    
    
    Echo. ; ________________________________________
    Echo. ; Enable MSI-Mode for GPU-Processor!
    Echo. ; ----------------------------------------
    for /f %%i in ('wmic path win32_VideoController get PNPDeviceID ^| findstr /L "VEN_"') do REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\%%i\Device Parameters\Interrupt Management\MessageSignaledInterruptProperties" /v MSISupported /t REG_DWORD /d 00000001 /f
    
    
    Echo. ; ________________________________________
    Echo. ; SSD Tweaks and fastboot
    Echo. ; ----------------------------------------
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters" /v EnablePrefetcher /t REG_DWORD /d 00000000 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters" /v EnableSuperfetch /t REG_DWORD /d 00000000 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters" /v EnableBoottrace /t REG_DWORD /d 00000000 /f
    
    
    Echo. ; ________________________________________
    Echo. ; Gaming Tweak - Network Throttling Index
    Echo. ; ----------------------------------------
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile" /v NetworkThrottlingIndex /t REG_DWORD /d 4294967295 /f
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile" /v SystemResponsiveness /t REG_DWORD /d 00000000 /f
    
    
    Echo. ; ________________________________________
    Echo. ; CountOperations
    Echo. ; ----------------------------------------
    ::This parameter allows you to turn off system and process level I/O counters. This counter affects system and disk counting of disk and network I/O requests.
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\I/O System" /v CountOperations /t REG_DWORD /d 00000000 /f
    
    Echo. ; ________________________________________
    Echo. ; Host Resolution Priority
    Echo. ; ----------------------------------------
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider" /v LocalPriority /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider" /v HostsPriority /t REG_DWORD /d 00000005 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider" /v DnsPriority /t REG_DWORD /d 00000006 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider" /v NetbtPriority /t REG_DWORD /d 00000007 /f
    
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\ServiceProvider" /v LocalPriority /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\ServiceProvider" /v HostsPriority /t REG_DWORD /d 00000005 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\ServiceProvider" /v DnsPriority /t REG_DWORD /d 00000006 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\ServiceProvider" /v NetbtPriority /t REG_DWORD /d 00000007 /f
    
    
    Echo. ; ________________________________________
    Echo. ; WorkerThreads
    Echo. ; ----------------------------------------
    ::Increases the number of threads in the Delayed Work Queue. 
    ::Threads in this queue have a lower priority and therefore a higher latency because they must compete with other processing for CPU time. 
    ::Increasing this value may give better performance in some situations.
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Executive" /v AdditionalDelayedWorkerThreads /t REG_DWORD /d 00000000 /f
    :: Optimized For I7 (try lower settings for lower CPUs example 2!)
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Executive" /v AdditionalCriticalWorkerThreads /t REG_DWORD /d 00000000 /f
    
    
    Echo. ; ________________________________________
    Echo. ; Port Allocation
    Echo. ; ----------------------------------------
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v MaxUserPort /t REG_DWORD /d 00065534 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v TcpTimedWaitDelay /t REG_DWORD /d 00000030 /f
    
    
    Echo. ; ________________________________________
    Echo. ; UDPIP Parameters
    Echo. ; ----------------------------------------
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters" /v NegativeCacheTime /t REG_DWORD /d 00000000 /f
    ::If you do not want negative responses to be cached at all, set the value of NegativeCacheTime to 0.
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters" /v NegativeSOACacheTime /t REG_DWORD /d 00000000 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters" /v NetFailureCacheTime /t REG_DWORD /d 00000000 /f
    ::all succeeding name queries fail instantly instead of timing out.
    
    
    Echo. ; ________________________________________
    Echo. ; TCPIP Parameters
    Echo. ; ----------------------------------------
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters" /v DefaultTTL /t REG_DWORD /d 00000030 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters" /v SynAttackProtect /t REG_DWORD /d 00000000 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters" /v TcpMaxDataRetransmissions /t REG_DWORD /d 00000002 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v DisableLargeMTU /t REG_DWORD /d 00000000 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v DisableTaskOffload /t REG_DWORD /d 00000000 /f
    
    
    ::TCP parameters that can be adjusted for high throughput
    ::On a link with high bandwidth-delay product (for example, satellite links), there may be a need to increase the window size to above 64 K. 
    ::For that, you need to enable TCP Options as specified in RFC 1,323 by appropriately setting the following registry entry:
    ::To enable window sizes of greater than 65,535, this registry entry should be set to 1 (one).
    ::After this change has been made, the registry entry controlling TCPWindowSize can be set to values larger than 64 K (up to 1 GB).
    Echo. ; ________________________________________
    Echo. ; Window Scaling
    Echo. ; ----------------------------------------
    REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters /v Tcp1323Opts /t REG_DWORD /d 00000001 /f
    ::The default for a gigabit interface is set to approximately 65,535! 16,384 for a 100 Mbps link
    REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters /v TcpWindowSize /t REG_DWORD /d 00065535 /f
    
    Echo. ; ________________________________________
    Echo. ; Online Games - Tweak - !Nagle OFF!
    Echo. ; ----------------------------------------
    REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSMQ\Parameters /v TCPNoDelay /t REG_DWORD /d 0000001 /f
    REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSMQ\Parameters /v EnableICMPRedirect /t REG_DWORD /d 00000000 /f
    for /f %%i in ('wmic path win32_networkadapter get GUID ^| findstr "{"') do REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\%%i" /v TcpAckFrequency /t REG_DWORD /d 0000001 /f
    for /f %%i in ('wmic path win32_networkadapter get GUID ^| findstr "{"') do REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\%%i" /v TcpDelAckTicks /t REG_DWORD /d 0000000 /f
    for /f %%i in ('wmic path win32_networkadapter get GUID ^| findstr "{"') do REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\%%i" /v TCPNoDelay /t REG_DWORD /d 0000001 /f
    
    
    Echo. ; ________________________________________
    Echo. ; Gaming - Tweaks
    Echo. ; ----------------------------------------
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games" /v Affinity /t REG_DWORD /d 00000000 /f
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games" /v "Background Only" /t REG_SZ /d False /f
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games" /v "Clock Rate" /t REG_DWORD /d 00001000 /f
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games" /v "GPU Priority" /t REG_DWORD /d 0000008 /f
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games" /v "Priority" /t REG_DWORD /d 00000008 /f
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games" /v "Scheduling Category" /t REG_SZ /d High /f
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games" /v "SFIO Priority" /t REG_SZ /d High /f
    
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games\DisplayPostProcessing" /v Affinity /t REG_DWORD /d 00000000 /f
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games\DisplayPostProcessing" /v "Background Only" /t REG_SZ /d True /f
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games\DisplayPostProcessing" /v "Clock Rate" /t REG_DWORD /d 00001000 /f
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games\DisplayPostProcessing" /v "GPU Priority" /t REG_DWORD /d 00000008 /f
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games\DisplayPostProcessing" /v "Priority" /t REG_DWORD /d 00000008 /f
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games\DisplayPostProcessing" /v "Scheduling Category" /t REG_SZ /d High /f
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games\DisplayPostProcessing" /v "SFIO Priority" /t REG_SZ /d High /f
    
    
    Echo. ; ________________________________________
    Echo. ; Black-Vipers-Windows-10-Services-Tweaked
    Echo. ; ----------------------------------------
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\MapsBroker" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\iphlpsvc" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ALG" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\AppMgmt" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\PeerDistSvc" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\CertPropSvc" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\irmon" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\MSiSCSI" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\NaturalAuthentication" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Netlogon" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\RpcLocator" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\RetailDemo" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SCPolicySvc" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SNMPTRAP" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\wcncsvc" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\wisvc" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WinRM" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WwanSvc" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\XblAuthManager" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\XboxNetApiSvc" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SessionEnv" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\TermService" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\UmRdpService" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\AJRouter" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\BthHFSrv" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\bthserv" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\dmwappushsvc" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\HvHost" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\vmickvpexchange" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\vmicguestinterface" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\vmicshutdown" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\vmicheartbeat" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\vmicvmsession" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\vmicrdv" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SharedAccess" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\IpxlatCfgSvc" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SmsRouter" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\CscService" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SEMgrSvc" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\PhoneSvc" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SensorDataService" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SensrSvc" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SensorService" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ScDeviceEnum" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\TabletInputService" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WebClient" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WFDSConSvc" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\FrameServer" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\icssvc" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\xbgm" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\XblGameSave" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\lfsvc" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\NcdAutoSetup" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\NfsClnt" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WMPNetworkSvc" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WlanSvc" /v Start /t REG_DWORD /d 00000004 /f
    
    
    Echo. ; ________________________________________
    Echo. ; Cortana Disabled
    Echo. ; ----------------------------------------
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v AllowCortana /t REG_DWORD /d 00000000 /f
    
    
    Echo. ; ________________________________________
    Echo. ; Disable DVR Game Bar Feature Win10 Only!
    Echo. ; ----------------------------------------
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\GameDVR" /v AllowgameDVR /t REG_DWORD /d 00000000 /f
    
    
    Echo. ; ________________________________________
    Echo. ; Disable Timebroker reduce CPU usage
    Echo. ; ----------------------------------------
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TimeBroker" /v Start /t REG_DWORD /d 00000004 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TimeBrokerSvc" /v Start /t REG_DWORD /d 00000004 /f
    
    
    Echo. ; ______________________________________________________________________________________________
    Echo. ; Tweaking Network - Offload Settings ( RSC=Off; PCF=Off; Chimney=Off, RSS=ON, TaskOffload=On )
    Echo. ; Current Network Settings
    Echo. ; ----------------------------------------------------------------------------------------------
    powershell.exe Get-NetOffloadGlobalSetting
    powershell.exe Set-NetOffloadGlobalSetting -ReceiveSegmentCoalescing Disabled -PacketCoalescingFilter Disabled -Chimney Disabled -ReceiveSideScaling Enabled -TaskOffload Enabled
    
    
    Echo. ; ________________________________________
    Echo. ; Optimized Network Settings
    Echo. ; ----------------------------------------
    powershell.exe Get-NetOffloadGlobalSetting
    powershell.exe Get-NetTCPSetting -SettingName "Internet"
    powershell.exe Set-NetTCPSetting -SettingName "Internet" -InitialRtoMs 2000
    
    
    Echo. ; ________________________________________
    Echo. ; Tweaking Network - Adv. Adapter Settings
    Echo. ; Current Adv. Adapter Settings
    Echo. ; ----------------------------------------
    powershell.exe Get-NetAdapterAdvancedProperty -Name "Ethernet"
    
    
    ::Interrupt Moderation
    ::Some network adapters are capable of moderating how frequently they interrupt the host processors to indicate network activity (or its completion). 
    ::Some network adapters are also capable of making such decisions in an adaptive manner, taking into account network and host-processor load.
    ::Moderating interrupts can often result in reduction in CPU load on the host, but unless interrupt moderation is performed intelligently and adaptively, 
    ::the CPU savings may come at the cost of increases in latency.
    Echo. ; ________________________________________
    Echo. ; Tweaking Performance Settings - Low Latency
    Echo. ; ----------------------------------------
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *FlowControl -RegistryValue 3
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *InterruptModeration -RegistryValue 0
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword ITR -RegistryValue 0
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *LsoV2IPv4 -RegistryValue 0
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *LsoV2IPv6 -RegistryValue 0
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *PriorityVLANTag -RegistryValue 0
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword AdaptiveIFS -RegistryValue 0
    
    
    ::Offload Capabilities
    ::Offloading tasks can help lower CPU usage on the server, improving overall system performance. The Microsoft TCP/IP transport can offload one or more of the following tasks to a network adapter that has the appropriate task-offload capabilities:
    ::Checksum tasks.   The TCP/IP transport can offload the calculation and validation of IP and TCP checksums for sends and receives.
    ::IP security tasks. The TCP/IP transport can offload the calculation and validation of encrypted checksums for authentication headers (AH) and encapsulating security payloads (ESP). The TCP/IP transport can also offload the encryption and decryption of ESP payloads.
    ::Segmentation of large TCP packets. The TCP/IP transport supports large send offload (LSO). With LSO, the TCP/IP transport can offload the segmentation of large TCP packets.
    ::Stack offload. The entire network stack can be offloaded to a network adapter that has the appropriate capabilities.
    
    ::Enable Offload Features
    ::It is almost always beneficial to turn on network adapter offload features. 
    ::In some instances, however, the network adapter may not be powerful enough to handle the offload capabilities at high throughput. 
    ::For example, enabling LSO can lower the maximum sustainable throughput on some network adapters. 
    ::However, if the reduced throughput is not expected to be a limitation, offload capabilities should be enabled even for such network adapters. 
    ::Note that some network adapters require offload features for send and receive paths to be independently enabled.
    Echo. ; ________________________________________
    Echo. ; Enabling... Offload Settings
    Echo. ; ----------------------------------------
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *IPChecksumOffloadIPv4 -RegistryValue 3
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *TCPChecksumOffloadIPv4 -RegistryValue 3
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *TCPChecksumOffloadIPv6 -RegistryValue 3
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *UDPChecksumOffloadIPv4 -RegistryValue 3
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *UDPChecksumOffloadIPv6 -RegistryValue 3
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *PMARPOffload -RegistryValue 0
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *PMNSOffload -RegistryValue 0
    
    
    Echo. ; ________________________________________
    Echo. ; Enabling... ReceiveSideScaling Settings
    Echo. ; ----------------------------------------
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *RSS -RegistryValue 1
    Echo. ; Trying... Highest RSSQueue Setting
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *NumRssQueues -RegistryValue 2
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *NumRssQueues -RegistryValue 4
    
    
    Echo. ; ________________________________________
    Echo. ; Tweaking WakeOn Settings
    Echo. ; ----------------------------------------
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *WakeOnMagicPacket -RegistryValue 0
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *WakeOnPattern -RegistryValue 0
    
    
    Echo. ; ________________________________________
    Echo. ; Tweaking ECO Settings
    Echo. ; ----------------------------------------
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword EEELinkAdvertisement -RegistryValue 0
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword EnablePME -RegistryValue 0
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword ReduceSpeedOnPowerDown -RegistryValue 0
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword ULPMode -RegistryValue 0
    
    
    Echo. ; ________________________________________
    Echo. ; Tweaking Other Settings
    Echo. ; ----------------------------------------
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword LogLinkStateEvent -RegistryValue 16
    powershell.exe Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword *JumboPacket -RegistryValue 1514
    
    
    Echo. ; ________________________________________
    Echo. ; Optimized Adv. Adapter Settings
    Echo. ; ----------------------------------------
    powershell.exe Get-NetAdapterAdvancedProperty -Name "Ethernet"
    
    
    ::=============================================================================================================================================================================================
    
    
    Echo. ; ________________________________________
    Echo. ; Nico TCPIP Parameters 
    Echo. ; ----------------------------------------
    ::( Hitreg Fix CSGO - needs Testing ) Source: https://pastebin.com/BnAPinQE
    ::EnableTCPA & EnableDca Works only under Win10 RS1 and Win7older
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters" /v DisableTaskOffload /t REG_DWORD /d 0000000 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters" /v DontAddDefaultGatewayDefault /t REG_DWORD /d 00000000 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters" /v EnableDca /t REG_DWORD /d 00000001 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v EnableICMPRedirect /t REG_DWORD /d 00000001 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v EnableIPAutoConfigurationLimits /t REG_DWORD /d 00000001 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters" /v EnablePMTUBHDetect /t REG_DWORD /d 00000000 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters" /v EnableTCPA /t REG_DWORD /d 00000001 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters" /v EnableWsd /t REG_DWORD /d 00000001 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v MaxDupAcks /t REG_DWORD /d 00000003 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v MaxNumForwardPackets /t REG_DWORD /d 00000037 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v NumForwardPackets /t REG_DWORD /d 00000037 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v QualifyingDestinationThreshold /t REG_DWORD /d 00000003 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v Tcp1323Opts /t REG_DWORD /d 00000001 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v TcpAckFrequency /t REG_DWORD /d 00000001 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v TCPMaxDataRetransmissions /t REG_DWORD /d 00000007 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v TcpMaxDupAcks /t REG_DWORD /d 00000080 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v TcpTimedWaitDelay /t REG_DWORD /d 00000030 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\Tcpip\Parameters" /v DisableTaskOffload /t REG_DWORD /d 0000000 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\Tcpip\Parameters" /v DontAddDefaultGatewayDefault /t REG_DWORD /d 00000000 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\Tcpip\Parameters" /v EnableDca /t REG_DWORD /d 00000001 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters" /v EnableICMPRedirect /t REG_DWORD /d 00000001 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters" /v EnableIPAutoConfigurationLimits /t REG_DWORD /d 00000001 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\Tcpip\Parameters" /v EnablePMTUBHDetect /t REG_DWORD /d 00000000 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\Tcpip\Parameters" /v EnableTCPA /t REG_DWORD /d 00000001 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\Tcpip\Parameters" /v EnableWsd /t REG_DWORD /d 00000001 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters" /v MaxDupAcks /t REG_DWORD /d 00000003 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters" /v MaxNumForwardPackets /t REG_DWORD /d 00000037 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters" /v NumForwardPackets /t REG_DWORD /d 00000037 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters" /v QualifyingDestinationThreshold /t REG_DWORD /d 00000003 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters" /v Tcp1323Opts /t REG_DWORD /d 00000001 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters" /v TcpAckFrequency /t REG_DWORD /d 00000001 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters" /v TCPMaxDataRetransmissions /t REG_DWORD /d 00000007 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters" /v TcpMaxDupAcks /t REG_DWORD /d 00000080 /f
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters" /v TcpTimedWaitDelay /t REG_DWORD /d 00000030 /f
    
    
    ::Winsock Settings Nico are default in Windows 10 RS3.
    ::REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters\Winsock" /v MaxSockAddrLength /t REG_DWORD /d 000000016 /f
    ::REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters\Winsock" /v MinSockAddrLength /t REG_DWORD /d 000000016 /f
    ::REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters\Winsock" /v UseDelayedAcceptance /t REG_DWORD /d 00000000 /f
    
    
    for /f %%i in ('wmic path win32_networkadapter get GUID ^| findstr "{"') do REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\%%i" /v DhcpGatewayHardwareCount /t REG_DWORD /d 0000001 /f
    for /f %%i in ('wmic path win32_networkadapter get GUID ^| findstr "{"') do REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\%%i" /v EnableDeadGWDetect /t REG_DWORD /d 0000001 /f
    for /f %%i in ('wmic path win32_networkadapter get GUID ^| findstr "{"') do REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\%%i" /v EnableDHCP /t REG_DWORD /d 0000001 /f
    for /f %%i in ('wmic path win32_networkadapter get GUID ^| findstr "{"') do REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\%%i" /v UseZeroBroadcast /t REG_DWORD /d 0000001 /f
    
    
    Echo. ; ________________________________________
    Echo. ; SecondLevelDataCache Optimization
    Echo. ; ----------------------------------------
    for /f %%a in ('wmic cpu get L2CacheSize ^| findstr /r "[0-9][0-9]"') do (
    	set /a l2c=%%a
    )
    color 04
    echo L2 Cache = %l2c%
    pause
    color 02
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Memory Management" /v SecondLevelDataCache /t REG_DWORD /d %l2c% /f 
    
    
    
    ::=============================================================================================================================================================================================
    
    
    Echo. ";---------------------------------------------------------------|"
    Echo. ";                       Tweaking Completed                      |"
    Echo. ";           Please Restart the System to take Effect!           |"
    Echo. ";---------------------------------------------------------------|"
    pause.
    Quote Originally Posted by xbacox2010 View Post
    great work st1cky
    Thanks , i will try it now ingame ^^
    Last edited by st1cky; 04-05-18 at 09:05 AM. Reason: Added Nico Parameters to Batch :P

Similar Threads

  1. Replies: 10
    Last Post: 09-16-10, 11:02 AM
  2. TCP Optimizer version 3.0.3 released (64-bit Windows 7/2008 fix)
    By Philip in forum Broadband Tweaks Help
    Replies: 30
    Last Post: 09-06-10, 11:18 AM
  3. TCP Optimizer version 3.0.2 released (Windows 7/Vista support !)
    By Philip in forum Broadband Tweaks Help
    Replies: 18
    Last Post: 07-29-10, 04:07 PM
  4. TCP Optimizer version 3.0 released ! (Windows 7/Vista support)
    By Philip in forum Broadband Tweaks Help
    Replies: 37
    Last Post: 07-12-10, 11:27 AM
  5. Xfire has been updated to version .18
    By JawZ in forum Gaming
    Replies: 3
    Last Post: 07-23-04, 07:54 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
  •