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

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

  1. Tuinpad

    Tuinpad MDL Novice

    Aug 4, 2015
    3
    0
    0
    Great tool, realy love it:clap:
     
  2. TairikuOkami

    TairikuOkami MDL Expert

    Mar 15, 2014
    1,256
    1,155
    60
    For the record, this only disables fast startup, not hibernation.
    On the other hand, disabling hibernation, disables fast startup as well.

    It would be better to replace it with: powercfg -h off

    HibernateEnabled set to 0 has also zero effect, as far as I can tell.
     
  3. chrissi1002

    chrissi1002 Guest

    numlock on starup

    [HKEY_USERS\.DEFAULT\Control Panel\Keyboard]
    "InitialKeyboardIndicators"="2147483650"

    [HKEY_CURRENT_USER\Control Panel\Keyboard]
    "InitialKeyboardIndicators"="2147483650"
     
  4. TziMmys

    TziMmys MDL Junior Member

    Aug 27, 2012
    70
    8
    0
    Well done mate. I am waiting your next update!!

    PS. Is it possible to add some lines to auto add some rules at firewall?

    Thanks!
     
  5. MrTweakFreak

    MrTweakFreak MDL Junior Member

    Jul 31, 2009
    91
    13
    0
    #185 MrTweakFreak, Aug 8, 2015
    Last edited by a moderator: Apr 20, 2017
    I have a question regarding disableing Automatic Windows Updates and enableing update notifications without Windows Update automatically downloading/installing them

    I found two registry keys for this but i wonder if i need to apply both of them, as they both cover the same setting (AUOptions):

    batch example
    Code:
    Will:
    
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v "AUOptions" /t REG_DWORD /d 2 /f
    
    do, or do i also need to apply the following?
    
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v NoAutoUpdate /t REG_DWORD /d 1 /f needed???
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v AUOptions /t REG_DWORD /d 2 /f
    
    registry example
    Code:
    Will:
    
    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update]
    "AUOptions"=dword:00000002
    
    do, or do i also need to apply the following?
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]
    "NoAutoUpdate"=dword:00000001 needed???
    "AUOptions"=dword:00000002
    
    Will either of these work or do i have to apply them both?
     
  6. TairikuOkami

    TairikuOkami MDL Expert

    Mar 15, 2014
    1,256
    1,155
    60
    #186 TairikuOkami, Aug 8, 2015
    Last edited: Aug 8, 2015
    I believe, that NoAutoUpdate is related to actually checking for updates. Have not tested it myself.
    In other words, if you turn it off, Windows will not check for updates, you will have to click the button.
    As for the other question, it is always better to change values which exist, so just use AUOptions in Policies.
     
  7. Euqinu

    Euqinu MDL Novice

    Aug 8, 2015
    1
    0
    0
    Is there any way you can find a way to hide labels but also never combine buttons on the taskbar? There used to be a registry hack "MinWidth" you could do on Windows 7 and 8...however MS have removed it in 10 and it's pissing me off! I've been searching high and low for an answer (and come across this thread on the way!). Seems like a great community here, so I thought I'd try posting :)
     
  8. Tamacun

    Tamacun MDL Novice

    Mar 29, 2015
    32
    5
    0
    Excellent Job !


    Thanks.
     
  9. MrTweakFreak

    MrTweakFreak MDL Junior Member

    Jul 31, 2009
    91
    13
    0
    #189 MrTweakFreak, Aug 8, 2015
    Last edited by a moderator: Apr 20, 2017
    Thanks for the reply. I did some more testing (and researching online) and found that when using the Group Policy Editor and choosing notify on new updates, it creates the below registry keys/entries:

    Code:
    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU
    AUOptions 2
    NoAutoUpdate 0
    ScheduledInstallDay 0
    ScheduledInstallTime 3
    
    It also shows the forced setting in the advanced Windows Update screen.

    Selecting "Disabled" in Group Policy Editor adds a "NoAutoUpdate 1" and in the Advanced Windows Update options it will say that Windows update will never look for updates.
    Leaving the Group Policy Editor setting on 'Not Configured" removes the above entries completely (including the key).

    What puzzles me however, is that the Advanced Windows Update options screen shows that it will automatically download updates and restart the computer (or notify the user first), when adding "AUOptions 2" under "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update".

    So, i'm not certain if the latter one yields the same result as when only changing the Group Policy Editor related Windows Update settings.
     
  10. TairikuOkami

    TairikuOkami MDL Expert

    Mar 15, 2014
    1,256
    1,155
    60
    I use only Policies values and it works for me. Technet and MS resources mention only Policies entry, maybe it was XP related.
     

    Attached Files:

  11. MrTweakFreak

    MrTweakFreak MDL Junior Member

    Jul 31, 2009
    91
    13
    0
    #191 MrTweakFreak, Aug 8, 2015
    Last edited by a moderator: Apr 20, 2017
    That probably answers it. Thanks a lot TairikuOkami for clarifying this :)

    (uniQ168 probably needs to modify his script now)

    from

    Code:
    :reg17start
    set /p reg17="Disable automatic Windows Updates? y/n: "
    if '%reg17%' == 'n' goto reg18start
    if /i "%reg17%" neq "y" goto reg17start
    reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v "AUOptions" /t REG_DWORD /d 2 /f > NUL 2>&1
    
    to

    Code:
    :reg17start
    set /p reg17="Disable automatic Windows Updates? y/n: "
    if '%reg17%' == 'n' goto reg18start
    if /i "%reg17%" neq "y" goto reg17start
    reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "AUOptions" /t REG_DWORD /d 2 /f > NUL 2>&1
    
     
  12. Rockfella

    Rockfella MDL Novice

    Oct 4, 2009
    19
    0
    0
    Me always want more no matter what! :biggrin:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. Garbellano

    Garbellano MDL Addicted

    Aug 13, 2012
    947
    248
    30
    #193 Garbellano, Aug 9, 2015
    Last edited by a moderator: Apr 20, 2017
    Code:
    ;Turning off Advertising ID Sharing
    
    reg add HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo /t REG_DWORD /v Enabled /d 0 /f
    
     
  14. KNARZ

    KNARZ MDL Addicted

    Oct 9, 2012
    895
    482
    30
    It's kind of nice work but you should look/learn 'call' commands. this would save at least 60% of the script.
     
  15. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    #195 s1ave77, Aug 10, 2015
    Last edited by a moderator: Apr 20, 2017
    Doggie assures you his eternal love for 'nagging' him to do likewise :worthy:.

    And i want to second this, cause it's a nice way to script very effectively with a minimum of redundant code.


    Idea behind:


    Call command is able to carry data to be used in the specified 'Jumptarget', like:

    Code:
    call :Jumpy01 Read, The, Bleeping, Manual
    ::line to be executed after the call jumps back to here
    
    will jump to:

    Code:
    :Jumpy01
    echo Hey Dude: %~1 %~2 %~3 %~4 ^^! ^^! ^^!
    goto:eof
    
    and output:

    Code:
    Hey Dude: Read The Bleeping Manual ! ! !
    
    and due to goto:eof (or exit /b) jump back one line beneath the last call command.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. Arb01s

    Arb01s MDL Novice

    Jun 22, 2015
    2
    0
    0
    Hello,
    Thanks for sharing your script. But there is a small bug in the version number. You say it's version 1.7 but inside the script its 1.6

    Frédéric
     
  17. Arb01s

    Arb01s MDL Novice

    Jun 22, 2015
    2
    0
    0
    The great improvement with "powercfg -h off" is it delete the very big file used for hibernation

    Frédéric
     
  18. MrTweakFreak

    MrTweakFreak MDL Junior Member

    Jul 31, 2009
    91
    13
    0
    Correct, but fortunately it's only a typo. The code itself is from v1.7 (compared the ZippyShare one with those from pastebin).
     
  19. Yasser Da Silva

    Yasser Da Silva MDL Senior Member

    Mar 15, 2015
    499
    2,567
    30