[Solved] How to make these CMD Commands run all together?

Discussion in 'Windows 10' started by Super Spartan, Sep 5, 2015.

  1. Super Spartan

    Super Spartan MDL Expert

    May 30, 2014
    1,709
    990
    60
    #1 Super Spartan, Sep 5, 2015
    Last edited by a moderator: Apr 20, 2017
    So Instead of manually copy/pasting the below commands into a dos command window, is there a way to make a script to run them all in one shot?

    Code:
    schtasks /change /tn "Microsoft\Windows\Application Experience\AitAgent" /disable >nul
    
    schtasks /change /tn "Microsoft\Windows\Application Experience\ProgramDataUpdater" /disable >nul
    
    schtasks /change /tn "Microsoft\Windows\Customer Experience Improvement Program\Consolidator" /disable >nul
    
    schtasks /change /tn "Microsoft\Windows\Customer Experience Improvement Program\KernelCeipTask" /disable >nul
    
    schtasks /change /tn "Microsoft\Windows\Customer Experience Improvement Program\UsbCeip" /disable >nul
    
    schtasks /change /tn "Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector" /disable >nul
    
    schtasks /change /tn "Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticResolver" /disable >nul
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Super Spartan

    Super Spartan MDL Expert

    May 30, 2014
    1,709
    990
    60
    Nevermind I did it by creating a .bat file
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Super Spartan

    Super Spartan MDL Expert

    May 30, 2014
    1,709
    990
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...