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

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

  1. Phoenix

    Phoenix MDL Expert

    May 30, 2014
    1,110
    495
    60
    #1 Phoenix, 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. Phoenix

    Phoenix MDL Expert

    May 30, 2014
    1,110
    495
    60
    Nevermind I did it by creating a .bat file
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Phoenix

    Phoenix MDL Expert

    May 30, 2014
    1,110
    495
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...