In the first 3 parts of this series, we learned how to use Windows built-in task scheduler to automate tasks like disk defragmentation on your PC.  If you haven’t read those articles on how to use task scheduling yet, click below to check them out.

Use Task Scheduler To Clean Your PC: Part 1

Use Task Scheduler To Clean Your PC: Part 2

Use Task Scheduler to Clean Your PC: Part 3

Now, as I promised at the beginning of the tutorial, here are the paths and arguments to run some useful and cool tasks.

Shutdown and restart the computer:

Path:  %windir%\system32\shutdown.exe


To shutdown: -s –t 00 / To restart: -r –t 00
Run CCleaner

Path:  “C:\Program Files (x86)\CCleaner\CCleaner.exe” – Don’t forget the inverted commas! “

Arguments: /auto


Backup Documents folder (Works for any folder)

Path: xcopy

Arguments: /e /y “C:\Users\Admin\Documents” C:\BackupFolder – Inside the inverted commas is the location of the folder whose content you want to back up, outside is the destination of backed up files.


Open a custom session in Chrome or Firefox

Path: “C:\Program Files (x86)\Google\Chrome\Application\chrome.exe” – In case of Firefox, replace for the firefox.exe path.

Arguments: the pages you want to open automatically e.g.

I hope you have enjoyed this tutorial and hey! If you have another good use for the task scheduler, share it with the user community, let’s simplify everything!

~~ Hernan Escalante