Geeks in Phoenix

Geek Blog


How to use Task Scheduler inside of Windows 10 and Windows 11

Have you ever wanted a program on your computer to run automatically at a specific time? Maybe you want to defrag a drive or clean up your computer in the background? If so, here is how to use Task Scheduler inside Windows 10 and Windows 11.

How to use Task Scheduler inside of Windows 10 and Windows 11

Task Scheduler has to be one of the most utilized of all of the programs inside Windows. It is one of those apps you never really think about because it works in the background and runs everything from syncing the time to running Windows Update.

And if you have your anti-virus software perform scheduled scans, it is more than likely to use Task Scheduler. There are so many things that Task Scheduler can do that are kind of mind-blowing.

I have been known to write script files containing multiple actions to have Task Scheduler run them. A simple script file can empty a network folder of temporary scanned files on a regular schedule.

But you do not have to know how to write code to use Task Scheduler. You only need to know what program you want to run, where it is located, and when and how often you want to run it. This is where we get into Triggers and Actions.

Simply put, their names, Triggers and Actions, are pretty self-explanatory. Triggers are the conditions that have to happen to start the Action, and the Action is what program or script is executed. With all this said, let's look at Task Scheduler.

How to open Task Scheduler in Windows 11

  1. Left-click on the Start button Windows logo to bring up the Start menu.
  2. In the upper right-hand corner of the Start menu, left-click on All apps.
  3. Scroll down the list of programs and left-click on Windows Tools.
  4. Left-click on Task Scheduler.

How to open Task Scheduler in Windows 10

  1. Left-click on the Start button Windows logo to bring up the Start menu.
  2. Scroll down the list of programs to Windows Administrative Tools and left-click to expand.
  3. Left-click on Task Scheduler.

Once Task Scheduler has opened, you will see three columns; Console Tree (left), Task Scheduler summary (center), and the Action Pane (right).
The Task Scheduler inside of Windows 11
Left-click on the Task Scheduler Library in the Console Tree to display all of the tasks that have been scheduled.

In the task summary in the center column, you will find a list of general tasks.
The Task Scheduler library screen
This is where any custom tasks should be created. I recommend using the Create Basic Task... shortcut over the Create Task shortcut in the Action Menu. It is a straightforward interface and if you need to, you can modify the properties later.

For this demonstration, I am going to use the built-in Disk Cleanup program. Using the steps outlined in the following articles, I created a command-line configuration, and I am going to use that to create a task.

Clean up Windows 11 with Storage Sense and Disk Cleanup

Clean up Windows 10 with Disk Cleanup

How to create a basic task in Task Scheduler

The following instructions will create a task for the built-in Disk Cleanup program. A previous setup using an Admin Command Prompt was required to set the parameters for cleanmgr.exe (see articles above).

  1. Left-click on the Create Basic Task... link in the Action Menu.
    The Create Basic Task Wizard screen
    The Create Basic Task Wizard appears.
  2. Give the new task a Name and Description, and then Left-click on Next.
  3. Select when you want the task to start (trigger) and then left-click on Next.
    The Create Basic Task Wizard Task Trigger screen
    If you select Daily, Weekly, Monthly, One time, or When a specific event is logged, you will be prompted for more specific parameters.
  4. You now have to select what task you want to perform.
    The Create Basic Task Wizard Action screen
    Usually, you would select Start a program and then left-click on Next.
  5. On the right side of the Program/script field, left-click the Browse button,
    The Create Basic Task Wizard Start a Program screen
    navigate to C:\Windows\System32\, and select cleanmgr.exe.
  6. In the Add arguments section, type /sagerun:n and select Next.
  7. Then select Finish, and you're all set.

Add comment

Free computer diagnostics

Repairing a PC can sometimes be expensive, and that is why we offer free basic in-shop diagnostics. Give one of our professional and experienced technicians a call at (602) 795-1111, and let's see what we can do for you.

Check out our reviews

Geeks In Phoenix LLC, BBB Business Review

Customer service is #1

Here at Geeks in Phoenix, we take pride in providing excellent customer service. We aim to give the highest quality of service  from computer repair, virus removal, and data recovery.

Bring your computer to us and save

Repairing a computer can be time-consuming. That is why we base our in-shop service on the time we work on your computer, not the time it takes for your computer to work! From running memory checking software to scanning for viruses, these are processes that can take some time.

Contact us

If you have any questions, please feel free to give us a call at (602) 795-1111  and talk with one of our Geeks. Or you can send us a message from our contact page , and one of our Geeks will get back to you as soon as possible. Or you can stop by and see us. Here are our hours and location.

Like Geeks in Phoenix on Facebook

Follow Geeks in Phoenix on Twitter

Watch Geeks in Phoenix on YouTube