[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. Adrian Winata

    Adrian Winata MDL Novice

    Oct 11, 2009
    10
    0
    0
    Which one between "ENABLE" and "DISABLE" that gives SSD performance?
     
  2. Yasser Da Silva

    Yasser Da Silva MDL Addicted

    Mar 15, 2015
    523
    2,567
    30
    Disable gives you better SSD performance
     
  3. SightUp

    SightUp MDL Senior Member

    Aug 17, 2010
    259
    12
    10
    Were you able to fix the issues in 2.1 yet with everything? Or was it user error?
     
  4. SightUp

    SightUp MDL Senior Member

    Aug 17, 2010
    259
    12
    10
    Add that Yasser Da Silva!
     
  5. Yasser Da Silva

    Yasser Da Silva MDL Addicted

    Mar 15, 2015
    523
    2,567
    30
    i will add it to Disable Windows Defender
     
  6. SightUp

    SightUp MDL Senior Member

    Aug 17, 2010
    259
    12
    10
    I want 2.2 to be released, with the removal of apps function!
     
  7. TigTex

    TigTex MDL Senior Member

    Oct 5, 2009
    278
    220
    10
    #330 TigTex, Sep 6, 2015
    Last edited: Sep 6, 2015
    Yasser, take a look at lines 535 to 550. They look that are never used (they assign image file formats to windows photo viewer). When you add the ability to remove apps, it's a good time to call this function after removing the windows.photo app because, without those reg tweaks, jpegs (for example) will open with mspaint by default.

    At line 2293 you have a typo. "ssc" instead of "sc"
    Also lines 1953 to 1959 do the same that 1917 to 1925

    And yes, I read all the .bat files before testing them on my pc's, I'm that crazy :D
     
  8. gastro

    gastro MDL Member

    Jul 22, 2009
    130
    3
    10
    But it doesn't really show an option to enable or disable anything as each selection is only prefaced by an asterisk. Maybe I just don't quite understand the given instructions.
     
  9. M&J

    M&J MDL Junior Member

    Nov 30, 2012
    81
    17
    0
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. TziMmys

    TziMmys MDL Junior Member

    Aug 27, 2012
    70
    8
    0
    Yes, I said it before.This is a must be done....
     
  11. hamood10

    hamood10 MDL Novice

    Dec 12, 2013
    5
    2
    0
    #334 hamood10, Sep 7, 2015
    Last edited by a moderator: Apr 20, 2017
    Thanks
    there is a problem in 10. Enable/Disable Windows Defender

    Wrong
    Code:
    IF "%input%"=="10" (GOTO 37)
    Fixed
    Code:
    IF "%input%"=="10" (GOTO 38)
     
  12. Yasser Da Silva

    Yasser Da Silva MDL Addicted

    Mar 15, 2015
    523
    2,567
    30
    Lol That's GREAT
    535>550 : they are used in line 209
    2293 : Nice remark
    1953>1959 & 1917>1925 : what's Wrong here ! :g:
     
  13. Yasser Da Silva

    Yasser Da Silva MDL Addicted

    Mar 15, 2015
    523
    2,567
    30

    I added the ability to delete all apps and to reinstall them all
    but this selecting thing is not that easy
    when i post V2.2 with the code any one who can add the ability to select 3 or 4 apps he can send me a PM
     
  14. Xadiaris

    Xadiaris MDL Novice

    Apr 23, 2008
    28
    9
    0
    #337 Xadiaris, Sep 7, 2015
    Last edited by a moderator: Apr 20, 2017
    something like this ?

    Code:
    :: Hide Command and Set Scope
    @echo off
    setlocal EnableExtensions
    
    :: Customize Window
    title My Menu
    
    :: Menu Options
    :: Specify as many as you want, but they must be sequential from 1 with no gaps
    :: Step 1. List the Application Names
    set "App[1]=One"
    set "App[2]=Two"
    set "App[3]=Three"
    set "App[4]=Four"
    set "App[5]=Five"
    set "App[6]=All Apps"
    
    :: Display the Menu
    set "Message="
    :Menu
    cls
    echo.%Message%
    echo.
    echo.  Menu Title
    echo.
    set "x=0"
    :MenuLoop
    set /a "x+=1"
    if defined App[%x%] (
        call echo   %x%. %%App[%x%]%%
        goto MenuLoop
    )
    echo.
    
    :: Prompt User for Choice
    :Prompt
    set "Input="
    set /p "Input=Select what app:"
    
    :: Validate Input [Remove Special Characters]
    if not defined Input goto Prompt
    set "Input=%Input:"=%"
    set "Input=%Input:^=%"
    set "Input=%Input:<=%"
    set "Input=%Input:>=%"
    set "Input=%Input:&=%"
    set "Input=%Input:|=%"
    set "Input=%Input:(=%"
    set "Input=%Input:)=%"
    :: Equals are not allowed in variable names
    set "Input=%Input:^==%"
    call :Validate %Input%
    
    :: Process Input
    call :Process %Input%
    goto End
    
    
    :Validate
    set "Next=%2"
    if not defined App[%1] (
        set "Message=Invalid Input: %1"
        goto Menu
    )
    if defined Next shift & goto Validate
    goto :eof
    
    
    :Process
    set "Next=%2"
    call set "App=%%App[%1]%%"
    
    :: Run Installations
    :: Specify all of the installations for each app.
    :: Step 2. Match on the application names and perform the installation for each
    if "%App%" EQU "One" echo Run Install for App One here
    if "%App%" EQU "Two" echo Run Install for App Two here
    if "%App%" EQU "Three" echo Run Install for App Three here
    if "%App%" EQU "Four" echo Run Install for App Four here
    if "%App%" EQU "Five" echo Run Install for App Five here
    if "%App%" EQU "All Apps" (
        echo Run Install for All Apps here
    )
    
    :: Prevent the command from being processed twice if listed twice.
    set "App[%1]="
    if defined Next shift & goto Process
    goto :eof
    
    
    :End
    endlocal
    pause >nul
    
     
  15. SightUp

    SightUp MDL Senior Member

    Aug 17, 2010
    259
    12
    10
    Hurry!!!!!!!!!!!
     
  16. johnye_pt

    johnye_pt MDL Addicted

    Aug 26, 2010
    720
    350
    30
    Time is running out? Insert coin! :D
     
  17. Yasser Da Silva

    Yasser Da Silva MDL Addicted

    Mar 15, 2015
    523
    2,567
    30