By Jennifer | Last Updated
Task Scheduler is a tool included in Windows 10/11 that allows predefined actions to be performed automatically when certain conditions are met. Using this tool, you can automate a variety of tasks, including starting apps, running specific commands or executing scripts at specified dates and times, or when specific conditions are met using triggers. In this post, we will show you by example how to create, edit and delete a scheduled task via CMD in Windows 10/11 and how the respective tasks appear in the Task Scheduler.

We can use the following options to create a scheduled task.
Step 1: Type CMD in the Start menu bar and click Run as administrator.
Step 2: Type the following command to create a daily task to run the apps at 11:00 a.m., then press Enter.
SchTasks /Create /SC DAILY /TN "My Task" /TR "C:RunMe.bat" /ST 11:00

The newly created task is displayed in the Task Scheduler as follows.

/Change: Indicates that you want to edit an existing task.
If you would like to change "My Tasks" to run at 3:00 PM. You can enter the following command.
SchTasks /Change /TN "My Task" /ST 15:00

The tasks changed in the Task Scheduler are displayed as follows.

/Delete: Indicates that you want to delete an existing task.
If you want to delete the newly created task, you can type the following command and press Enter, type Y in the pop-up warning and press Enter, this will successfully delete the task you just created.
SchTasks /Delete /TN "My Task"

Related Articles:
How to Reset Windows 10 Forgotten Password
How to Bypass Windows 10 Password Login with/without Password
Easy Guide to Reset Windows 10 Admin Password Like an Expert
4 Tips to Change Windows 10 Password without Knowing Current Password
Can't Sign into Microsoft Account Windows 10 | Account Locked/Blocked