Windows’ built-in Task Scheduler can automate almost any task, but it’s overkill for some jobs. There are simpler alternatives.
Plus: How to wash — yes, actually wash — your keyboards and mice clean, how to avoid a prevalent scam, and news from a reader about do-it-yourself tools to make software portable.
Setting up automatic cleanup at shutdown
Reader Jerry Vega had a question after digging into the Oct. 11, 2012, Top Story on Task Scheduler, “Exploring Windows’ Administrative Tools: Part 4.”
- “The article on Task Scheduler made note that a task could be scheduled to occur at shutdown.
“I want to run CCleaner at shutdown. I was able to accomplish this outside of Task Scheduler by creating a desktop shortcut and adding CCleaner’s /AUTO /SHUTDOWN switches. But I’d like to use Task Scheduler to trigger CCleaner automatically at shutdown. Is there a way to do this?”
Yes, and I’ll show you how in a moment. But Task Scheduler might not be the best tool for performing something as simple as running an automated cleanup with CCleaner. In fact, there are at least three other ways to accomplish your task far more easily.
First, there’s the simple, direct, and perfectly functional custom-shortcut method you’re already using. It works fine and does exactly what you want — and I bet it took only a minute or two to set up.