How can I disable a schedule task in Windows 10? They suggested me to use /disable but apparently and that option is already gone in Windows 10 and was available in the previous versions of Windows.
>schtasks /?
SCHTASKS /parameter [arguments]
Description: Enables an administrator to create, delete, query, change, run and end scheduled tasks on a local or remote system.
Parameter List: /Create Creates a new scheduled task. /Delete Deletes the scheduled task(s). /Query Displays all scheduled tasks. /Change Changes the properties of scheduled task. /Run Runs the scheduled task on demand. /End Stops the currently running scheduled task. /ShowSid Shows the security identifier corresponding to a scheduled task name. /? Displays this help message.
Examples: SCHTASKS SCHTASKS /? SCHTASKS /Run /? SCHTASKS /End /? SCHTASKS /Create /? SCHTASKS /Delete /? SCHTASKS /Query /? SCHTASKS /Change /? SCHTASKS /ShowSid /?I doubt delete will actually disable it.
How can I do that then?
UPDATE:
I need to do this only by the utility schtasks
3 Answers
Use Powershell!
Disable-ScheduledTask -TaskName "Adobe Flash Player Update"
TaskPath TaskName State
-------- -------- -----
\ Adobe Flash Player Updater DisabledEDIT:
with the use schtasks.exe:
schtasks.exe /change /tn "Adobe Flash Player Updater" /disable
SUCCESS: The parameters of scheduled task "Adobe Flash Player Updater" have been changed. 3 GUI:
- Open the "Task Scheduler"
- Open "Task Scheduler Library" -> "Microsoft" -> "Windows", "Application Experience".
- Disable "Microsoft Compatibility Appraiser" with a right-click choice.
CMD:
schtasks /Change /Disable /TN "Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" Easiest way is to use the Task Scheduler MMC snap-in. You can type "Task Scheduler" in the Cortana search box or run mmc.exe and add the snap-in manually. Once you get the GUI, just right-click on the task and choose "disable" - it's still there, just hidden :) I'm not sure why the command line has changed - weird...