[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.8%
  2. 5/10 / It's good.

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

    4.7%
  1. Yasser Da Silva

    Yasser Da Silva MDL Addicted

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

    Yasser Da Silva MDL Addicted

    Mar 15, 2015
    523
    2,567
    30
    #383 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.
     
  3. David34

    David34 MDL Member

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

    TigTex MDL Senior Member

    Oct 5, 2009
    279
    221
    10
    #386 TigTex, Sep 12, 2015
    Last edited by a moderator: Apr 20, 2017
    Here I am :D

    Wouldn't using this...
    Code:
    reg add "HKCR\Applications\photoviewer.dll\shell\open" /v "MuiVerb" /t REG_SZ /d "@photoviewer.dll,-3043" /f
    reg add "HKCR\Applications\photoviewer.dll\shell\open\command" /ve /t REG_EXPAND_SZ /d "%%SystemRoot%%\System32\rundll32.exe \"%%ProgramFiles%%\Windows Photo Viewer\PhotoViewer.dll\", ImageView_Fullscreen %%1" /f
    reg add "HKCR\Applications\photoviewer.dll\shell\open\DropTarget" /v "Clsid" /t REG_SZ /d "{FFE2A43C-56B9-4bf5-9A79-CC6D4285608A}" /f
    reg add "HKCR\PhotoViewer.FileAssoc.Bitmap" /v "ImageOptionFlags" /t REG_DWORD /d "1" /f
    reg add "HKCR\PhotoViewer.FileAssoc.Bitmap" /v "FriendlyTypeName" /t REG_EXPAND_SZ /d "@%%ProgramFiles%%\Windows Photo Viewer\PhotoViewer.dll,-3056" /f
    reg add "HKCR\PhotoViewer.FileAssoc.Bitmap\DefaultIcon" /ve /t REG_SZ /d "%%SystemRoot%%\System32\imageres.dll,-70" /f
    reg add "HKCR\PhotoViewer.FileAssoc.Bitmap\shell\open\command" /ve /t REG_EXPAND_SZ /d "%%SystemRoot%%\System32\rundll32.exe \"%%ProgramFiles%%\Windows Photo Viewer\PhotoViewer.dll\", ImageView_Fullscreen %%1" /f
    reg add "HKCR\PhotoViewer.FileAssoc.Bitmap\shell\open\DropTarget" /v "Clsid" /t REG_SZ /d "{FFE2A43C-56B9-4bf5-9A79-CC6D4285608A}" /f
    reg add "HKCR\PhotoViewer.FileAssoc.JFIF" /v "EditFlags" /t REG_DWORD /d "65536" /f
    reg add "HKCR\PhotoViewer.FileAssoc.JFIF" /v "ImageOptionFlags" /t REG_DWORD /d "1" /f
    reg add "HKCR\PhotoViewer.FileAssoc.JFIF" /v "FriendlyTypeName" /t REG_EXPAND_SZ /d "@%%ProgramFiles%%\Windows Photo Viewer\PhotoViewer.dll,-3055" /f
    reg add "HKCR\PhotoViewer.FileAssoc.JFIF\DefaultIcon" /ve /t REG_SZ /d "%%SystemRoot%%\System32\imageres.dll,-72" /f
    reg add "HKCR\PhotoViewer.FileAssoc.JFIF\shell\open" /v "MuiVerb" /t REG_EXPAND_SZ /d "@%%ProgramFiles%%\Windows Photo Viewer\photoviewer.dll,-3043" /f
    reg add "HKCR\PhotoViewer.FileAssoc.JFIF\shell\open\command" /ve /t REG_EXPAND_SZ /d "%%SystemRoot%%\System32\rundll32.exe \"%%ProgramFiles%%\Windows Photo Viewer\PhotoViewer.dll\", ImageView_Fullscreen %%1" /f
    reg add "HKCR\PhotoViewer.FileAssoc.JFIF\shell\open\DropTarget" /v "Clsid" /t REG_SZ /d "{FFE2A43C-56B9-4bf5-9A79-CC6D4285608A}" /f
    reg add "HKCR\PhotoViewer.FileAssoc.Jpeg" /v "EditFlags" /t REG_DWORD /d "65536" /f
    reg add "HKCR\PhotoViewer.FileAssoc.Jpeg" /v "ImageOptionFlags" /t REG_DWORD /d "1" /f
    reg add "HKCR\PhotoViewer.FileAssoc.Jpeg" /v "FriendlyTypeName" /t REG_EXPAND_SZ /d "@%%ProgramFiles%%\Windows Photo Viewer\PhotoViewer.dll,-3055" /f
    reg add "HKCR\PhotoViewer.FileAssoc.Jpeg\DefaultIcon" /ve /t REG_SZ /d "%%SystemRoot%%\System32\imageres.dll,-72" /f
    reg add "HKCR\PhotoViewer.FileAssoc.Jpeg\shell\open" /v "MuiVerb" /t REG_EXPAND_SZ /d "@%%ProgramFiles%%\Windows Photo Viewer\photoviewer.dll,-3043" /f
    reg add "HKCR\PhotoViewer.FileAssoc.Jpeg\shell\open\command" /ve /t REG_EXPAND_SZ /d "%%SystemRoot%%\System32\rundll32.exe \"%%ProgramFiles%%\Windows Photo Viewer\PhotoViewer.dll\", ImageView_Fullscreen %%1" /f
    reg add "HKCR\PhotoViewer.FileAssoc.Jpeg\shell\open\DropTarget" /v "Clsid" /t REG_SZ /d "{FFE2A43C-56B9-4bf5-9A79-CC6D4285608A}" /f
    reg add "HKCR\PhotoViewer.FileAssoc.Gif" /v "ImageOptionFlags" /t REG_DWORD /d "1" /f
    reg add "HKCR\PhotoViewer.FileAssoc.Gif" /v "FriendlyTypeName" /t REG_EXPAND_SZ /d "@%%ProgramFiles%%\Windows Photo Viewer\PhotoViewer.dll,-3057" /f
    reg add "HKCR\PhotoViewer.FileAssoc.Gif\DefaultIcon" /ve /t REG_SZ /d "%%SystemRoot%%\System32\imageres.dll,-83" /f
    reg add "HKCR\PhotoViewer.FileAssoc.Gif\shell\open\command" /ve /t REG_EXPAND_SZ /d "%%SystemRoot%%\System32\rundll32.exe \"%%ProgramFiles%%\Windows Photo Viewer\PhotoViewer.dll\", ImageView_Fullscreen %%1" /f
    reg add "HKCR\PhotoViewer.FileAssoc.Gif\shell\open\DropTarget" /v "Clsid" /t REG_SZ /d "{FFE2A43C-56B9-4bf5-9A79-CC6D4285608A}" /f
    reg add "HKCR\PhotoViewer.FileAssoc.Png" /v "ImageOptionFlags" /t REG_DWORD /d "1" /f
    reg add "HKCR\PhotoViewer.FileAssoc.Png" /v "FriendlyTypeName" /t REG_EXPAND_SZ /d "@%%ProgramFiles%%\Windows Photo Viewer\PhotoViewer.dll,-3057" /f
    reg add "HKCR\PhotoViewer.FileAssoc.Png\DefaultIcon" /ve /t REG_SZ /d "%%SystemRoot%%\System32\imageres.dll,-71" /f
    reg add "HKCR\PhotoViewer.FileAssoc.Png\shell\open\command" /ve /t REG_EXPAND_SZ /d "%%SystemRoot%%\System32\rundll32.exe \"%%ProgramFiles%%\Windows Photo Viewer\PhotoViewer.dll\", ImageView_Fullscreen %%1" /f
    reg add "HKCR\PhotoViewer.FileAssoc.Png\shell\open\DropTarget" /v "Clsid" /t REG_SZ /d "{FFE2A43C-56B9-4bf5-9A79-CC6D4285608A}" /f
    reg add "HKCR\PhotoViewer.FileAssoc.Wdp" /v "EditFlags" /t REG_DWORD /d "65536" /f
    reg add "HKCR\PhotoViewer.FileAssoc.Wdp" /v "ImageOptionFlags" /t REG_DWORD /d "1" /f
    reg add "HKCR\PhotoViewer.FileAssoc.Wdp\DefaultIcon" /ve /t REG_SZ /d "%%SystemRoot%%\System32\wmphoto.dll,-400" /f
    reg add "HKCR\PhotoViewer.FileAssoc.Wdp\shell\open" /v "MuiVerb" /t REG_EXPAND_SZ /d "@%%ProgramFiles%%\Windows Photo Viewer\photoviewer.dll,-3043" /f
    reg add "HKCR\PhotoViewer.FileAssoc.Wdp\shell\open\command" /ve /t REG_EXPAND_SZ /d "%%SystemRoot%%\System32\rundll32.exe \"%%ProgramFiles%%\Windows Photo Viewer\PhotoViewer.dll\", ImageView_Fullscreen %%1" /f
    reg add "HKCR\PhotoViewer.FileAssoc.Wdp\shell\open\DropTarget" /v "Clsid" /t REG_SZ /d "{FFE2A43C-56B9-4bf5-9A79-CC6D4285608A}" /f
    reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities" /v "ApplicationDescription" /t REG_SZ /d "@%%ProgramFiles%%\Windows Photo Viewer\photoviewer.dll,-3069" /f
    reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities" /v "ApplicationName" /t REG_SZ /d "@%%ProgramFiles%%\Windows Photo Viewer\photoviewer.dll,-3009" /f
    reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".jpg" /t REG_SZ /d "PhotoViewer.FileAssoc.Jpeg" /f
    reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".wdp" /t REG_SZ /d "PhotoViewer.FileAssoc.Wdp" /f
    reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".jfif" /t REG_SZ /d "PhotoViewer.FileAssoc.JFIF" /f
    reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".dib" /t REG_SZ /d "PhotoViewer.FileAssoc.Bitmap" /f
    reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".png" /t REG_SZ /d "PhotoViewer.FileAssoc.Png" /f
    reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".jxr" /t REG_SZ /d "PhotoViewer.FileAssoc.Wdp" /f
    reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".bmp" /t REG_SZ /d "PhotoViewer.FileAssoc.Bitmap" /f
    reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".jpe" /t REG_SZ /d "PhotoViewer.FileAssoc.Jpeg" /f
    reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".jpeg" /t REG_SZ /d "PhotoViewer.FileAssoc.Jpeg" /f
    reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".gif" /t REG_SZ /d "PhotoViewer.FileAssoc.Gif" /f
    reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".tif" /t REG_SZ /d "PhotoViewer.FileAssoc.Tiff" /f
    reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".tiff" /t REG_SZ /d "PhotoViewer.FileAssoc.Tiff" /f
    
    ... instead of this (line 540)
    Code:
    Reg.exe add "HKCU\Software\Classes\.jpg" /ve /t REG_SZ /d "PhotoViewer.FileAssoc.Tiff" /f
    Reg.exe add "HKCU\Software\Classes\.jpeg" /ve /t REG_SZ /d "PhotoViewer.FileAssoc.Tiff" /f
    Reg.exe add "HKCU\Software\Classes\.gif" /ve /t REG_SZ /d "PhotoViewer.FileAssoc.Tiff" /f
    Reg.exe add "HKCU\Software\Classes\.png" /ve /t REG_SZ /d "PhotoViewer.FileAssoc.Tiff" /f
    Reg.exe add "HKCU\Software\Classes\.bmp" /ve /t REG_SZ /d "PhotoViewer.FileAssoc.Tiff" /f
    Reg.exe add "HKCU\Software\Classes\.tiff" /ve /t REG_SZ /d "PhotoViewer.FileAssoc.Tiff" /f
    Reg.exe add "HKCU\Software\Classes\.ico" /ve /t REG_SZ /d "PhotoViewer.FileAssoc.Tiff" /f
    Reg.exe add "HKCR\Applications\photoviewer.dll\shell\open" /v "MuiVerb" /t REG_SZ /d "@photoviewer.dll,-3043" /f
    Reg.exe add "HKCR\Applications\photoviewer.dll\shell\open\command" /ve /t REG_EXPAND_SZ /d "%%SystemRoot%%\System32\rundll32.exe \"%%ProgramFiles%%\Windows Photo Viewer\PhotoViewer.dll\", ImageView_Fullscreen %%1" /f
    Reg.exe add "HKCR\Applications\photoviewer.dll\shell\open\DropTarget" /v "Clsid" /t REG_SZ /d "{FFE2A43C-56B9-4bf5-9A79-CC6D4285608A}" /f
    Reg.exe add "HKCR\Applications\photoviewer.dll\shell\print\command" /ve /t REG_EXPAND_SZ /d "%%SystemRoot%%\System32\rundll32.exe \"%%ProgramFiles%%\Windows Photo Viewer\PhotoViewer.dll\", ImageView_Fullscreen %%1" /f 
    Reg.exe add "HKCR\Applications\photoviewer.dll\shell\print\DropTarget" /v "Clsid" /t REG_SZ /d "{60fd46de-f830-4894-a628-6fa81bc0190d}" /f
    
    ... give you a better control of the image file type associations because with the 1st reg tweak, on the control panel, you can select windows photoviewer as the default program for 12 filetypes and with your tweak you can't do that, the only way is to manualy do "open with: windows photo viewer" and set as default (for only 8 filetypes)
    source: tenforums
     
  5. hamza1983

    hamza1983 MDL Novice

    Nov 1, 2009
    45
    42
    0
    Restore App to current User work for french version perfect
     
  6. Yasser Da Silva

    Yasser Da Silva MDL Addicted

    Mar 15, 2015
    523
    2,567
    30
    Done
    Thanks.
     
  7. Yasser Da Silva

    Yasser Da Silva MDL Addicted

    Mar 15, 2015
    523
    2,567
    30
    It was restored in French !!!
     
  8. TziMmys

    TziMmys MDL Junior Member

    Aug 27, 2012
    70
    8
    0
    Well done mate!!! That's the spirit!!!
     
  9. winbond

    winbond MDL Novice

    Oct 27, 2009
    44
    13
    0
    #391 winbond, Sep 13, 2015
    Last edited: Sep 13, 2015
    its a nice tool, thanks... what would make it even better though is if it had option to either set outbound firewall to block by default and clean/add rules only for necessary internet connectivity or clean/add rules to
    block all known ms servers
     
  10. TigTex

    TigTex MDL Senior Member

    Oct 5, 2009
    279
    221
    10
    Hello,

    Some small notes on version 2.22...
    The "dmwappushservice" windows services doesn't exist. The correct name is "dmwappushsvc".
    Also, put a big warning on .net framework tweak because it will break some programs and this "1. Clean Windows Update Junk (Highly Recommended)" is dangerous and should be avoided. It will break windows update if an update is beeing downloaded while you run this command. Windows cleans this folder automaticaly.

    Still reading the .bat ... :D
     
  11. TziMmys

    TziMmys MDL Junior Member

    Aug 27, 2012
    70
    8
    0
    This is how I think it should work....

    Start the app, lets say choose 4, Speed up pc Perfomance

    Type: 4, for boost ssd....

    Type: 1, for disabling Superfrech and prefetch....

    Now, the operation complete message should go away itself, not need for Ok click, except if there is an error....

    And then, your program should still have me on the "Speed Up performance, boost SSD Performance" tab that I was before and not sent me on first start up tab....

    I think these changes would make your program easier to use.

    Thanks for considering...
     
  12. gdeliana

    gdeliana MDL Junior Member

    Oct 2, 2010
    65
    12
    0
    I just wanted to add some modifications for those who want to disable totally ShellExperineceHost service, which is responsible for showing the modern UI elements such as: Start Menu, Battery UI, WIFI UI, Vol UI, Notification UI and calendar. Now as i am an experienced user myself and always replace the start menu with classic shell start menu, i wanted to replace all the other moder UI's also.

    The script already has the classic battery, Notification and volume UI, now i wanted to add the codes for the classic WIFI and calendar UI.

    Classic WIFI ui:
    [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Control Panel\Settings\Network]
    "ReplaceVan"=dword:00000002

    We need to take also permission of this key before changing it's value. I would like to ask your help here on how to do in CMD.

    Classic calendar UI: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ImmersiveShell]
    "UseWin32TrayClockExperience"=dword:00000001

    The point of doing all this is to disable ShellHostExperience service by deleting the folder from Windows/Systemapps, while ending the task. Here i need a method on how to do this by script.

    There is also one other UI for replacing with the classsical UI: the context menu when right clicking on the taskbar icons. Unfortunately i do not know the reg key for enabling the classical UI on this :(. Can any of you digg some info on google please? :)

    After installing Classic Shell we can also disable cortana, by deleting it's folder windows/Systemapps.

    We need to script all this and add it to the main script. It would be great to disable ShellexperienceHost and COrtana and maintain full functionality.
     
  13. darkeiri

    darkeiri MDL Novice

    Apr 23, 2010
    7
    1
    0
    I just wished it was a little more streamlined... I'm still using TNBT 1.7 because it's so much easier to do everything at once, just typing N and Y. With your Tweaker there's A LOT more work involved.
     
  14. Yasser Da Silva

    Yasser Da Silva MDL Addicted

    Mar 15, 2015
    523
    2,567
    30
    :tasty::clap:
     
  15. Yasser Da Silva

    Yasser Da Silva MDL Addicted

    Mar 15, 2015
    523
    2,567
    30
    Ok i will try to fix that
    it is just little changes maybe tonight i will put a new version
     
  16. Yasser Da Silva

    Yasser Da Silva MDL Addicted

    Mar 15, 2015
    523
    2,567
    30
    I thought about this before but it will just break your system and there is a lot of Hard work in it
    1.it's not possible to edit reg keys permission in script
    2.even if you apply those reg keys you will still need that service because Win 10 is based on modern and i am sure you can't find a replacement for every single thing using Modern UI
     
  17. Yasser Da Silva

    Yasser Da Silva MDL Addicted

    Mar 15, 2015
    523
    2,567
    30

    TNBT have about 20 tweaks and the way used the order things is not right
    let's say you want to just "Disable Windows Update sharing" in TNBT
    how many "N"s you need to click before you get to what you want !!
    TNBT is made to one-time use

    but my script is not like that
    and is organized
    let's say some one want just some performance tweaks
    he doesn't have to skip 20 or 30 to get to he wants

    I hope that answered your question
     
  18. TziMmys

    TziMmys MDL Junior Member

    Aug 27, 2012
    70
    8
    0
    Mate, I can not believe the way you respond to everyone. Thank you!!