[Script] Win 10 Toggle Tweaker (V4.0) -Official thread-

Discussion in 'Windows 10' started by Yasser Da Silva, Aug 12, 2015.

Tags:
?

How helpful is this Windows 10 Tweaker for you !

  1. 10/10 / Very handy (Must have tweaker)

    74.6%
  2. 5/10 / It's good.

    20.7%
  3. 0/10 :( / Not helpful at all

    4.7%
  1. TigTex

    TigTex MDL Senior Member

    Oct 5, 2009
    475
    381
    10
    #361 TigTex, Sep 8, 2015
    Last edited by a moderator: Apr 20, 2017
    On those lines I see this :
    Code:
    reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Device Metadata" /v PreventDeviceMetadataFromNetwork /t REG_DWORD /d 1 /f
    reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d 0 /f
    reg add "HKLM\SOFTWARE\Policies\Microsoft\MRT" /v DontOfferThroughWUAU /t REG_DWORD /d 1 /f
    reg add "HKLM\SOFTWARE\Policies\Microsoft\SQMClient\Windows" /v "CEIPEnable" /t REG_DWORD /d 0 /f
    reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v "AITEnable" /t REG_DWORD /d 0 /f
    reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v "DisableUAR" /t REG_DWORD /d 1 /f
    reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d 0 /f
    and this:
    Code:
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Device Metadata" /v "PreventDeviceMetadataFromNetwork" /t REG_DWORD /d 1 /f 
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d 0 /f 
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\MRT" /v "DontOfferThroughWUAU" /t REG_DWORD /d 1 /f 
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\SQMClient\Windows" /v "CEIPEnable" /t REG_DWORD /d 0 /f 
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v "AITEnable" /t REG_DWORD /d 0 /f 
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v "DisableUAR" /t REG_DWORD /d 1 /f 
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d 0 /f 
    They do exactly the same no? it's just repeated code.

    One tweak that i usually do on my machines is to disable all ipv6 transition technologies because most people already have native ipv6 and all translations seems to slow down things (like p2p).
    Code:
    netsh int ipv6 isatap set state disabled
    netsh int ipv6 6to4 set state disabled
    netsh int teredo set state disable
    sc config iphlpsvc start= disabled
    
    There's also a way to do that with powershell.

    One other small thing that I do that CAN break things is to force .net applications to always use the latest framework version installed on your computer. So you won't need to install .net 3.5 because most software will run just fine with .net 4.x. This saves space and resources by not having to install older dotnet versions (like net framework 3.5)
    Code:
    reg add hklm\software\microsoft\.netframework /v OnlyUseLatestCLR /t REG_DWORD /d 1
    reg add hklm\software\wow6432node\microsoft\.netframework /v OnlyUseLatestCLR /t REG_DWORD /d 1
    Abraço :cool:
     
  2. akhmedtaia

    akhmedtaia MDL Addicted

    Nov 2, 2013
    518
    138
    30
  3. saper1972

    saper1972 MDL Novice

    Feb 6, 2010
    20
    1
    0
    Please add ;
    -Remove Contact Support
    -Remove Feedback
     
  4. SightUp

    SightUp MDL Senior Member

    Aug 17, 2010
    259
    12
    10
    +1. I never thought of removing it, but yeah! That would be great!
     
  5. johnye_pt

    johnye_pt MDL Addicted

    Aug 26, 2010
    741
    380
    30
    #366 johnye_pt, Sep 9, 2015
    Last edited by a moderator: Apr 20, 2017
    Those 2 can be removed but not by "traditional" methods, they require an external application called install_wim_tweak:
    Code:
    install_wim_tweak.exe /o /l
    install_wim_tweak.exe /o /c Microsoft-Windows-ContactSupport /r
    install_wim_tweak.exe /h /o /l
    
    EDIT:
    I believe it changes a few reg keys to make packages visible and removable, if so it's just a question of taking a reg snapshot, making it visible without removing it, taking a 2nd reg snapshot and compare both to filter out the keys, that way the tool won't be needed.

    EDIT2: The changed keys seem not to be "user friendly", so the only way to remove the apps is using install_wim_tweak.exe. The option to remove could be added to the batch but it will require install_wim_tweak.exe to be placed in the same folder as the batch.
     
  6. Microft

    Microft MDL Novice

    Aug 24, 2015
    17
    1
    0
    #367 Microft, Sep 9, 2015
    Last edited by a moderator: Apr 20, 2017
    check this tnx's thread about manually delete

    forums.mydigitallife.net/threads/64793-tn-s-Guide-to-removing-One-Drive-and-other-packages-via-DISM?p=1134389#post1134389
     
  7. TigTex

    TigTex MDL Senior Member

    Oct 5, 2009
    475
    381
    10
    #368 TigTex, Sep 9, 2015
    Last edited by a moderator: Apr 20, 2017
    One extra information.

    This code at line 1135
    Code:
    DEL /S /Q "%Windir%\SoftwareDistribution\Download\*.*"
    It deletes all files inside the folders and subfolders but not the folders itself. So it would be a good idea to replace it with this
    Code:
    RMDIR /S /Q "%Windir%\SoftwareDistribution\Download\"
    This will delete all files and subfolders. The download folder will be recreated next time the windows update service is restarted.
     
  8. johnye_pt

    johnye_pt MDL Addicted

    Aug 26, 2010
    741
    380
    30
    I think he found a way to manually do what install_wim_tweak.exe does, but on a WIM. Does it also work on an installed Windows?

    I also noticed he still needs an external tool called SetACL.exe. I guess some things are simply not possible to do with just a batch and Windows 10 native tools...
     
  9. Yasser Da Silva

    Yasser Da Silva MDL Senior Member

    Mar 15, 2015
    499
    2,567
    30
    Sorry guys i am So busy these three days, that's why am not answering your questions:eek:
    But i read all your comment and i will respond as soon as i get Home ;).
     
  10. TairikuOkami

    TairikuOkami MDL Expert

    Mar 15, 2014
    1,256
    1,155
    60
    #371 TairikuOkami, Sep 9, 2015
    Last edited by a moderator: Apr 20, 2017
    I use this to disable IPv6 on all interfaces, IPv6 causes problems and slowdowns only, it is hardly used, not to mention privacy issues.

    reg add "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters" /v "DisabledComponents" /t REG_DWORD /d "255" /f

    As for disabling IP Helper, it is required to login to Microsoft Account (MS Account, Cortana, Store).
     
  11. hungk

    hungk Guest

  12. Yasser Da Silva

    Yasser Da Silva MDL Senior Member

    Mar 15, 2015
    499
    2,567
    30
    :31: Did i said that
    rearrange ... Like How !!
     
  13. Yasser Da Silva

    Yasser Da Silva MDL Senior Member

    Mar 15, 2015
    499
    2,567
    30
    I added the removal of telemetry schedules in :
    1.Disable Telemetry and Data collection
     
  14. Yasser Da Silva

    Yasser Da Silva MDL Senior Member

    Mar 15, 2015
    499
    2,567
    30
    I fixed the first thing and added the third feature (.Net)
     
  15. Yasser Da Silva

    Yasser Da Silva MDL Senior Member

    Mar 15, 2015
    499
    2,567
    30
    #379 Yasser Da Silva, Sep 10, 2015
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Lol, So yo are that guy who deletes those empty Folders to save KBs of space :p
    but wait how it's not when you read a 4000 line Batch files Lol (Which is a great thing of developers)

    I changed it ;)
    Thanks.
     
  16. David34

    David34 MDL Member

    Sep 6, 2015
    210
    20
    10
    Hide Quick access in Explorer on home version of win 10 doesn't work