[Script] Windows 10 TNBT (The next big Tweak) v6.5.6 -official thread-

Discussion in 'Windows 10' started by uniQ168, Aug 2, 2015.

  1. compgen_1534

    compgen_1534 MDL Addicted

    Jul 26, 2015
    510
    279
    30
    #101 compgen_1534, Aug 3, 2015
    Last edited: Aug 3, 2015
    :) No problem

    The author used it as a base for his reversal script and is now constantly updating it now so you might want to look at the first page and he had an update for it :D

    Cheers...

    Update: to get the default apps back use my add default apps back script or create a new profile...

    The difference between my undo script and the authors is that for his you have to keep clicking yes or no to add back something

    Where as mine just does everything all at once :D
     
  2. Soulfate

    Soulfate MDL Member

    Feb 14, 2011
    185
    51
    10
    A big thanks for the compilation of popular tweaks and for the support that you do for this script.
     
  3. UnderXP

    UnderXP MDL Junior Member

    Feb 28, 2013
    55
    15
    0
    #103 UnderXP, Aug 3, 2015
    Last edited by a moderator: Apr 20, 2017
    Hi, after disable Windows Defender, add this code to disable Windows Defender Task:
    Code:
    schtasks /Change /TN "Microsoft\Windows\Windows Defender\Windows Defender Cache Maintenance" /Disable > NUL 2>&1schtasks /Change /TN "Microsoft\Windows\Windows Defender\Windows Defender Cleanup" /Disable > NUL 2>&1
    schtasks /Change /TN "Microsoft\Windows\Windows Defender\Windows Defender Scheduled Scan" /Disable > NUL 2>&1
    schtasks /Change /TN "Microsoft\Windows\Windows Defender\Windows Defender Verification" /Disable > NUL 2>&1
    And, add this command to delete Windows Defender cache:
    Code:
    del "C:\ProgramData\Microsoft\Windows Defender\Scans\mpcache*" /s  > NUL 2>&1
     
  4. slackeritguy

    slackeritguy MDL Member

    Jun 27, 2013
    163
    25
    10
    Just amazing, thanks for this OP.

    Awesome work!.
     
  5. UnderXP

    UnderXP MDL Junior Member

    Feb 28, 2013
    55
    15
    0
    #105 UnderXP, Aug 4, 2015
    Last edited by a moderator: Apr 20, 2017
    Add this at last to section "Disable Windows Search", to delete Windows Search Indexing Database:
    Code:
    net stop WSearch  > NUL 2>&1
    del "C:\ProgramData\Microsoft\Search\Data\Applications\Windows\Windows.edb" /s  > NUL 2>&1
    P.D: After delete Windows Search Indexing Database and Windows Defender caché files, my SSD gain about 800 MB !!!!! :clap::clap::clap:
     
  6. UnderXP

    UnderXP MDL Junior Member

    Feb 28, 2013
    55
    15
    0
    After disable Diagnostics Tracking Service, you can delete files "eventsXX.rbs" in folder "C:\ProgramData\Microsoft\Diagnosis" (about 70 MB), but these files are owned by SYSTEM.
    How to take ownership with CMD ?
     
  7. slackeritguy

    slackeritguy MDL Member

    Jun 27, 2013
    163
    25
    10
    When a new version releases, what are we supposed to do? just re-run the updated .cmd file?

    BTW I just noticed there is no option for disabling automatic updates, is there a reason behind that decision?
     
  8. uniQ168

    uniQ168 MDL Junior Member

    Jul 18, 2015
    75
    319
    0
    Well, expect some more updates today. :)

    I tested your powershell script, but this doesn't properly revert all default apps. There is no 100% working solution except creating a new user profile. :/
     
  9. compgen_1534

    compgen_1534 MDL Addicted

    Jul 26, 2015
    510
    279
    30
    #109 compgen_1534, Aug 4, 2015
    Last edited: Aug 4, 2015
    Yea your right I tested myself with a new profile and it worked :D
    Thanks for the help.
    So I'm just gonna take down that file right know for adding back default apps.

    There we go the Link is dead now :D

    Once again thanks for letting me know.
     
  10. cdavisdeco

    cdavisdeco MDL Senior Member

    Jul 8, 2015
    330
    63
    10
    Keep getting polished TNBT. Still needs a undo script.
     
  11. uniQ168

    uniQ168 MDL Junior Member

    Jul 18, 2015
    75
    319
    0
    Look at the first post again. Undo script is already available. ;)
     
  12. zakblood

    zakblood MDL Novice

    Mar 19, 2015
    6
    0
    0
    with SR1 out next week, wouldn't it be better to wait and see what that brings and does?

    service release 1 may do some of this and be official?
     
  13. cdavisdeco

    cdavisdeco MDL Senior Member

    Jul 8, 2015
    330
    63
    10
    But is it for undoing all the tweaks or can I use it to undo individual tweaks?
     
  14. uniQ168

    uniQ168 MDL Junior Member

    Jul 18, 2015
    75
    319
    0
    It will run just like the normal script to ask you individually for undoing tweaks. Simply confirm every step to undo every tweak. :)
    Already thought about a no-brainer version, where simply all tweaks will be removed completely as an alternative.

    I will update the script if anything changes.
     
  15. pozdravlyu

    pozdravlyu MDL Novice

    Sep 10, 2009
    24
    0
    0
    Thanks for this - Just what I needed! :)
     
  16. UnderXP

    UnderXP MDL Junior Member

    Feb 28, 2013
    55
    15
    0
    #116 UnderXP, Aug 4, 2015
    Last edited by a moderator: Apr 20, 2017
    Anyone with System Protection DISABLED can test these commands please?
    Code:
    REM Enable System Protection in C:\Drive
    powershell "enable-computerrestore -drive "c:\" "  > NUL 2>&1
    powershell "vssadmin resize shadowstorage /on=c: /for=c: /maxsize=1%"  > NUL 2>&1
     
  17. MrTweakFreak

    MrTweakFreak MDL Junior Member

    Jul 31, 2009
    91
    13
    0
    The first thing i do when visiting MDL? Checking OP for updates! Woohoo! :yeahyeah: :clap: :worthy:
     
  18. UnderXP

    UnderXP MDL Junior Member

    Feb 28, 2013
    55
    15
    0
    #118 UnderXP, Aug 4, 2015
    Last edited by a moderator: Apr 20, 2017
    Add new section to disable WMI logging:
    Code:
    rem Disables Event Trace Session in Perfmon Data Collector Sets
    reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WMI\Autologger\AITEventLog" /v "Start" /t REG_DWORD /d 0 /f > NUL 2>&1
    reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WMI\Autologger\AppModel" /v "Start" /t REG_DWORD /d 0 /f > NUL 2>&1
    reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WMI\Autologger\AppPlat" /v "Start" /t REG_DWORD /d 0 /f > NUL 2>&1
    reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WMI\Autologger\Audio" /v "Start" /t REG_DWORD /d 0 /f > NUL 2>&1
    reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WMI\Autologger\AutoLogger-Diagtrack-Listener" /v "Start" /t REG_DWORD /d 0 /f > NUL 2>&1
    cd C:\ProgramData\Microsoft\Diagnosis\ETLLogs\AutoLogger
    echo "" > AutoLogger-Diagtrack-Listener.etl  > NUL 2>&1 
    cacls AutoLogger-Diagtrack-Listener.etl /d SYSTEM  > NUL 2>&1
    reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WMI\Autologger\Circular Kernel Context Logger" /v "Start" /t REG_DWORD /d 0 /f > NUL 2>&1
    reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WMI\Autologger\LwtNetLog" /v "Start" /t REG_DWORD /d 0 /f > NUL 2>&1
    reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WMI\Autologger\NtfsLog" /v "Start" /t REG_DWORD /d 0 /f > NUL 2>&1
    reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WMI\Autologger\ReadyBoot" /v "Start" /t REG_DWORD /d 0 /f > NUL 2>&1
    reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WMI\Autologger\SQMLogger" /v "Start" /t REG_DWORD /d 0 /f > NUL 2>&1
    reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WMI\Autologger\WdiContextLog" /v "Start" /t REG_DWORD /d 0 /f > NUL 2>&1
    reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WMI\Autologger\WiFiSession" /v "Start" /t REG_DWORD /d 0 /f > NUL 2>&1
    
    P.D: the file "C:\ProgramData\Microsoft\Diagnosis\ETLLogs\AutoLogger\AutoLogger-Diagtrack-Listener.etl" can be big ! (About 10-20 MB)
     
  19. UnderXP

    UnderXP MDL Junior Member

    Feb 28, 2013
    55
    15
    0
    #119 UnderXP, Aug 4, 2015
    Last edited by a moderator: Apr 20, 2017
    Add these commands to section [Disable Windows Defender] or new section [Disable WMI Logging]:
    Code:
    REM Disable Windows Defender WMI Logging
    reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WMI\Autologger\DefenderApiLogger" /v "Start" /t REG_DWORD /d 0 /f > NUL 2>&1
    reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WMI\Autologger\DefenderAuditLogger" /v "Start" /t REG_DWORD /d 0 /f > NUL 2>&1
    
     
  20. cungalunga

    cungalunga MDL Novice

    Nov 4, 2007
    3
    0
    0
    Remove Skype adds:
    Add to host file: