How to view all automatic maintenance tasks in Windows 10

How to view all automatic maintenance tasks in Windows 10

Maintenance refers to an application or process that helps maintain the health and performance of your Windows PC. Maintenance includes keeping Windows and applications up to date, checking security, and running malware scans.

The Windows Automatic Management (WAM) is a set of improvements to the Task Scheduler API that you can use to link your applications to the Windows maintenance schedule. Specifically, WAM allows you to add activities that require regular scheduling, but no timing requirements. Instead, WAM relies on the operating system to pick the right time and trigger the task throughout the day. The system chooses those times based on minimal impact on user, PC performance and energy efficiency.

How scheduled maintenance works

Windows Automatic Maintenance minimizes the impact on your PC by scheduling maintenance only when your PC is on and inactive. By default, the system performs daily maintenance, starting at 3am. (Note that the user can reschedule when maintenance occurs.) This daily session is limited to a maximum of 1 hour per attempt. If the user is actively using the machine, the system will cancel maintenance until a later time. The system also pauses any maintenance in progress if the user returns to the PC.

The system restarts the paused maintenance task in the next free time. However, the system will not pause any tasks that are marked as important. Instead, the system allows the completion of an important task, regardless of the user’s actions.

Due to the nature of the scheduling, some scheduled tasks might not be completed: Maybe there are too many events scheduled to fit the 1 hour maintenance period, or maybe the computer simply hasn’t. turned on. In such cases, you can define a task with a deadline. Deadline is defined as a repeating timeframe in which the system must successfully perform the task at least once.

If a task misses the deadline, the maintenance scheduler will continue to try to perform the task during maintenance. Furthermore, the scheduler will no longer limit itself to the regular 1 hour time. Instead, the scheduler extends maintenance times to complete delayed tasks. If the system still cannot complete the task, the Action Center will display a warning message to the user. Users can then manually initiate the maintenance action from the Action Center.

When the system completes the task (even if there is a failure code), the attempt is considered successful. Once successful, the scheduler resets the regular maintenance schedule and will perform the task for the next time period.

This guide will show you how to see a list of all automatic maintenance tasks in Windows 10.

How to view all automatic maintenance tasks in Windows 10

Here’s how to do it:

1. Open PowerShell .

2. Copy and paste the command below you want to use into PowerShell and press Enter.

(The output will be in the interactive sheet on a separate window as shown in the screenshot in step 3)

Get-ScheduledTask | ? {$_.Settings.MaintenanceSettings} | Out-GridView

Or:

(Export as “MaintenanceTasks.txt” file on the desktop)

Get-ScheduledTask | ? {$_.Settings.MaintenanceSettings} | Format-Table -AutoSize | Out-file -FilePath "$Env:userprofileDesktopMaintenanceTasks.txt"
Enter a command in Powershell

3. Now you will see a list of all automatic maintenance tasks including TaskPath, TaskName and State currently in Task Scheduler (taskchd.msc).

List of all automated maintenance tasks
The list includes the current TaskPath, TaskName and State in Task Scheduler

See more:

  • How to view applications using the network on Windows 10