How To Create a Scheduled Task in Windows 10

Introduction

A smart feature in the Windows family is the scheduled task. We can also use this feature in Windows 10 to create and run the scheduled task. The user can create and run the scheduled task using the task scheduler tool.
 
The task scheduler allows the user to create and run any task automatically on any particular date and time or when any certain event occurs. It helps to run the task automatically instead of running manually which reduces the exasperation of the user.
 
Before using the task scheduler, first, you should need to know about what are triggers and actions in it.
 
Triggers
 
The trigger will execute a particular program automatically when some events are going to take place.
 
Task scheduler has two types of triggers: time-based trigger, and event-based trigger.
  • The time-based trigger is used to perform the tasks at a particular time.
  • The event-based trigger is used to perform a task when any system event occurs.
Actions
 
The action is the process, that occurs when the triggers executed in a system such as start a program, send mail and display the message.
 
This tutorial will show you various ways on, how to create and run the scheduled task in Windows 10.
 

Method 1. Creating The Basic Task

 
Step 1
 
Open Start, Search for "Task Scheduler" and press enters to open "Task Scheduler".
 
Step 2
 
Right-click on the "Task Scheduler Library" and click on the "New Folder" option.
 
create new folder
 
Step 3
 
Enter the name of the new folder and click on the "OK" button.
 
name the folder
 
Step 4
 
Navigate the following: Task Scheduler Library > New Folder (Testing), then click on "Create Basic Task".
 
Navigate
 
Step 5
 
Provide the Task Name such as "Open Web browser" and click next.
 
give the name
 
Step 6
 
Choose when would you like your task to start and click next.
 
trigger
 
Step 7
 
Set the Start date and time of the task and click Next.
 
set date and time
 
Step 8
 
Select "Start a program" option from a various list of actions and then click next.
 
set an action
 
Step 9
 
Click on Browse Button and choose "firefox.exe" from C\Program Files (x86)\Mozilla Firefox.
 
browse the task
 
Step 10
 
Click the Finish button to complete the task.
 
click on finish
 

Method 2. Creating an Advanced Task

 
Step 1
 
Open Start, Search for "Task Scheduler" and press enter to open "Task Scheduler".
 
Step 2
 
Right-click on the "Task Scheduler Library" and click on the "New Folder" option.
 
make a folder
 
Step 3
 
Enter the name of the New folder and click on the "OK" button.
 
name the folder
 
Step 4
 
Navigate the following: Task Scheduler Library > New Folder, then click on "Create Task".
 
navigate
 
Step 5
 
Under the "General" tab, provide the Task Name such as "Notepad" and in the "Security options" section, you can select which administrator account can run the task.
 
task name
 
Step 6
 
Under the "Triggers" tab, click on the "New" button.
 
set trigger
 
Step 7
 
Select the trigger when you want to execute an event or task.
 
set trigger properties
 
For example: Select "On a schedule" option and then, you can see various options to schedule the task or an event accordingly. Under the "settings" section, first, choose when would you like your task to start and then set the start date and time of the task and under the "Advanced settings" section, you can select options to delay, repeat, stop, and expire a task or an event.
 
Step 8
 
Under the "Actions" tab, click on the "New" button.
 
set actions
 
Step 9
 
"New Action" window will appear on the screen then, select the "Start a program" option from a various list of actions and click on the "Browse" button and choose the program and click on OK.
 
set action properties
 
For example: choose "notepad.exe" from C\Windows\System32.
 
Step 10
 
Under the "Conditions" tab, you can see various options to configure or set the conditions to run the task or an event accordingly. The "Power" section enables users to configure their requirements.
 
Step 11
 
Under the "Settings" tab, the user can "specify additional settings that affect the behavior of the task" and then click on the "OK" button.
 

Conclusion

 
By following any of the above methods, you can create and run the scheduled task in Windows 10.
 
I hope you enjoyed this article. Follow C# Corner to learn more new and amazing things about Windows 10.
 
Thanks for reading this article.