[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. Evan20x

    Evan20x MDL Novice

    Mar 19, 2012
    29
    6
    0
    Hey guys. I am running 1511/TH2 that has had all metro apps/cortana/defende removed with MSMG Toolkit and is updated through windows update.

    I am using Toggle Tweaker 3.0 and I am trying to restore either the legacy calculator or the new metro one. Either would be fine but every time I try to restore either of them through the tweaker it never works. When I restore the metro calc app it rebooted my computer to complete the action but calc still won't launch, it just says "You'll need a new app to open this calculator" this so I'm not sure what to try at this point.

    Thanks
     
  2. Yasser Da Silva

    Yasser Da Silva MDL Senior Member

    Mar 15, 2015
    499
    2,567
    30
    i don't know what code MSMG Toolkit uses to remove the apps so restoring mayn't work like in your case
    but Legacy calc should work fine. any errors ?
     
  3. Evan20x

    Evan20x MDL Novice

    Mar 19, 2012
    29
    6
    0
    Yes I even tried the legacy calc and it shows in the same directory as Toggle Tweaker and it downloads the necessary files but it never works. It says to open the calculator with win32calc but it either never works or it just re-opens toggle tweaker for some reason.
     
  4. hanschke

    hanschke MDL Senior Member

    Jan 8, 2008
    425
    33
    10
    a Gui instead of a batch will great :worthy:
     
  5. slackeritguy

    slackeritguy MDL Member

    Jun 27, 2013
    163
    25
    10
    #625 slackeritguy, Dec 7, 2015
    Last edited: Dec 7, 2015
    How do I know if the Edge Uninstall worked?

    I ran your .bat from a USB Drive, uninstalled Edge (said it was downloading the necessary files, it then said Windows Installer Service was starting up and it immediately returned me to the Enable/Disable Stuff in Windows 10 Menu), I now have a TW folder (empty) on my C: root folder, and a EDGETW compressed zip file on my USB Drive next to your .bat.
     
  6. h4z3

    h4z3 MDL Novice

    Oct 9, 2011
    37
    8
    0
    please!!! :worthy:
    agreed
     
  7. kazuto

    kazuto MDL Novice

    Jan 22, 2015
    3
    0
    0
    This is a great work, well done sir
     
  8. jpetrillo13

    jpetrillo13 MDL Novice

    Nov 20, 2015
    2
    0
    0
    Yasser, I can't thank you enough. Shewolf, good suggestion but this is a telemetry and spyware remover in main
    purpose (including built-in apps that send data to MS), not a disk cleaner :p
     
  9. scaramonga

    scaramonga MDL Senior Member

    Oct 27, 2012
    426
    262
    10
    It just keeps getting better :D Many thx again!!!
     
  10. Q!

    Q! MDL Novice

    Jan 24, 2013
    2
    0
    0
    #632 Q!, Dec 13, 2015
    Last edited by a moderator: Apr 20, 2017
    @Yasser Da Silva
    a few bugs:

    1. under :TMDisable:
    Code:
    4497 Reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AllowSearchToUseLocation" /t REG_DWORD /d "1" /f
    value should be set to 0
    and under :TMEnable
    Code:
    4630 Reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AllowSearchToUseLocation" /t REG_DWORD /d "0" /f
    same value should be set to "1" instead of "0"

    same in line 6645 ??? 0->1

    2. duplicate lines 2497 and 2499
    Code:
    2497 sc config dmwappushsvc start= disabled
    2498 sc config diagnosticshub.standardcollector.service start= disabled
    2499 sc config dmwappushsvc start= disabled
    probably one of them should be "DiagTrack" service instead

    also lines:
    2519 & 2521;
    2550 & 2552;
    2581 &2583;
    6567 & 6569

    3. service name "dmwappushsvc" should be changed to "dmwappushservice" (20 occurrences)

    4. after you make above change, line:
    Code:
    4523 sc config dmwappushservice start=disabled 
    is doing the same thing as:
    Code:
    4604 reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\dmwappushservice" /v "Start" /t REG_DWORD /d 4 /f
    so you only need one

    also lines 5139 & 5183; 5324 & 5370;

    similar thing when enabling service: lines 4657 & 4745; 5202 & 5255; 5385 & 5440; 6671 & 6766


    Also thank you for this nice script ;)
     
  11. Yasser Da Silva

    Yasser Da Silva MDL Senior Member

    Mar 15, 2015
    499
    2,567
    30
    To confirm that Edge is uninstalled open and it will close immediately
    Try doing the same thing you did but form your desktop
    after Windows Installer Service startup another CMD window should popup and start backing up EDGE
     
  12. jpetrillo13

    jpetrillo13 MDL Novice

    Nov 20, 2015
    2
    0
    0
    Oh, I'm so sorry sir, I won't talk to genius anymore... :worthy:
     
  13. Yasser Da Silva

    Yasser Da Silva MDL Senior Member

    Mar 15, 2015
    499
    2,567
    30
    Very good job analyzing the script :D
    I changed everything you mentioned but n°3 is not right
    It's the same :
    Thanks for taking the time to go through the code and report Bugs :biggrin:.
     
  14. Q!

    Q! MDL Novice

    Jan 24, 2013
    2
    0
    0
    #636 Q!, Dec 14, 2015
    Last edited by a moderator: Apr 20, 2017
    In the script you also using "sc" command and result is:
    Code:
    C:\Windows\system32>sc config dmwappushsvc start= disabled
    [SC] OpenService FAILED 1060:
    
    The specified service does not exist as an installed service.
    
    
    C:\Windows\system32>sc config dmwappushservice start= disabled
    [SC] ChangeServiceConfig SUCCESS
    ;)
     
  15. GOD666

    GOD666 MDL Expert

    Aug 1, 2015
    1,957
    2,059
    60
    #637 GOD666, Dec 18, 2015
    Last edited: Jun 6, 2017
    The 1 feature request I have is to be able to add the store to LTSB Edition.

    I've had my fill of hacking away to remove things in other editions. I really just want Windows with the store, but with the stability and resources of LTSB.
     
  16. imadlatch

    imadlatch MDL Junior Member

    Aug 16, 2013
    61
    33
    0
    I get error requesting administrative privileges

    I suggest replace

    :UACPrompt
    echo UAC.ShellExecute "%~s0", "", "", "runas", 1 >> "%temp%\getadmin.vbs"

    :UACPrompt
    echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs"


    Sorry and thank you
    I appreciate your works:worthy:
     

    Attached Files:

    • adm.png
      adm.png
      File size:
      47.9 KB
      Views:
      33
  17. geese howard

    geese howard MDL Member

    Aug 18, 2009
    110
    15
    10
    By removing cortana, can i use basic search like windows 7 or it´s removed too?
     
  18. Yasser Da Silva

    Yasser Da Silva MDL Senior Member

    Mar 15, 2015
    499
    2,567
    30
    That isn't possible via script you got to save Store packages fro a Pro version using SxsExtract.vbs
    and then try installing them on your machine