Advertisement

Find All Automatic Maintenance Tasks in Windows 10

When you are not using your PC, Windows 10 performs a number of maintenance tasks. These scheduled tasks are configured to run automatically out-of-the-box. One of them is Computer Maintenance. It is a complex task which performs a number of operations to keep your OS clean and configured properly. It performs various tasks like finding and fixing broken shortcuts, removing unused Desktop shortcuts, correcting the system time and more.

Advertisеment

By default, the Automatic Computer Maintenance task is configured to perform the following actions:

  1. Broken shortcuts removal. If you have more than 4 broken shortcuts in the Start menu and on the Desktop, Windows 10 will remove them. Such shortcuts usually point to executable files which do not exist any more, for example, after you delete the app's folder from Program Files manually.
  2. Desktop icons which have been unused in 3 months will be removed.
  3. System clock will be checked and synchronized with a time server.
  4. Hard disks will be checked for file system errors.
  5. The troubleshooting history and error reports which are older than 1 month will be removed.

There are a number of other maintenance tasks configured to start automatically in Windows 10. You might be interested in finding them.

This can be done with a single PowerShell command. PowerShell is an advanced form of command prompt. It is extended with a huge set of ready-to-use cmdlets and comes with the ability to use .NET framework/C# in various scenarios. Here is how it can be done.

To find all Automatic Maintenance Tasks in Windows 10, do the following.

    1. Open PowerShell.
    2. Type or copy-paste the following command into the PowerShell console:
       Get-ScheduledTask | ? {$_.Settings.MaintenanceSettings} | Out-GridView

      Find All Automatic Maintenance Tasks

    3. In the output, you'll find a list of all automatic maintenance tasks. The list includes the path, name, and state of each task in Task Scheduler.Windows 10 All Automatic Maintenance Tasks

The cmdlet Get-ScheduledTask is a wrapper to Task Scheduler API. Its output is filtered  to show only Windows maintenance tasks.

That's it.

Support us

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:

If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!

Advertisеment

Author: Sergey Tkachenko

Sergey Tkachenko is a software developer who started Winaero back in 2011. On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram, Twitter, and YouTube.

6 thoughts on “Find All Automatic Maintenance Tasks in Windows 10”

  1. So I followed your instructions and got the window showing 47 items on my computer that were either listed as Ready or Disabled.
    I do not see a way to disable anything like Defrag. And I did not find anything showing a way to disable the “Desktop icons which have been unused in 3 months will be removed”.

    What good is this information if it can not be changed, only viewed? Am I missing something?

  2. Thanks for that Out-GridView tip.

    Do you have a good resource to find out about all the available Powershell Commands, I have yet to find one that I like.

Leave a Reply

Your email address will not be published.

css.php
Using Telegram? Subscribe to the blog channel!
Hello. Add your message here.