4 Ways to Fix the Windows 10 Task Scheduler When It Malfunctions


557
557 points


Task automation helps to speed up your workflow, so it’s irritating when it stops working. Here’s how to fix it.

Using a Windows 10 PC

The Windows Task Scheduler is a quite handy tool if you like automating tasks on your PC. This tool helps you automatically run programs when certain conditions are met. However, If the program has issues, your scheduled tasks won’t run as required. In most cases, this could be caused by corrupted system files.

Fortunately, there are several ways to fix the Windows Task Scheduler when it malfunctions.

Let’s explore how you can get your Task Scheduler up and running again.

1. Fix the Task Scheduler Using the Registry Editor

The Task Scheduler might be malfunctioning because of some incorrect or corrupted registry keys. In this case, you can resolve this issue by altering some registry settings.

Before you proceed, you might want to backup your registry just in case something goes wrong.

  1. To get started, press the Windows Key + R, type regedit, and press Enter to open the Registry Editor.
  2. Navigate to HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Services > Schedule.
  3. Locate and double-click the Start value on the right-hand side pane.
Fixing the Task Scheduler Using the Registry

In the next window, type 2 in the Value data field and press OK. Close the Registry Editor and restart your PC to save these changes.

2. Use the Correct Task Conditions in the Task Scheduler

The Task Scheduler might be malfunctioning because of incorrect Task conditions. Here are a few Task conditions that you need to configure correctly to ensure your tasks run as required:

  1. Type Task Scheduler in the Windows Start menu search bar and select the Best match.
  2. Select Task Scheduler Library on the left-hand side pane.
  3. In the middle pane of the Task Scheduler, look for a specific task that doesn’t run as required. Next, right-click that task and select Properties.
  4. In the next window, navigate to the General tab and check the Run whether the user is logged on or not.
  5. Open the Configure for drop-down menu and select Windows 10.
Using the Correct Task Conditions in the Task Scheduler

Next, navigate to the Conditions tab and uncheck the Start the task only if the computer is on AC power box. From here, navigate to the Triggers and Actions tabs and ensure that all your task conditions are correct.

When you finish, press OK and close the Task Scheduler. Restart your PC to save these changes.

3. Delete Corrupted Task Scheduler Tree Cache

This issue could stem from a corrupted Task Scheduler Tree cache. Identifying and deleting the corrupted Task Scheduler Tree cache could help you fix this issue.

  1. To get started, press the Windows Key + R, type regedit, and press Enter.
  2. In the Registry Editor, navigate to HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft > Windows NT > CurrentVersion > Schedule > TaskCache.
  3. Right-click the Tree key and rename it to Tree.old or something similar. From here, run the Task Scheduler and check if you still encounter issues.
Deleting Corrupted Task Scheduler Tree Cache

If this resolves your issue, then one of the entries in the Tree key is corrupted. To find out which entry it is, follow these steps:

  1. Rename the Tree.old key back to Tree.
  2. Rename each entry in the Tree registry key—one at a time—using the “.old” suffix. Run your Task Scheduler each time when you do this.
  3. If you stop encountering issues after renaming a certain entry, then that’s the culprit. Delete that particular entry and restart your PC to save these changes.

Since this issue could be caused by corrupt system files, you could resolve it using the DISM and SFC tools. Running an SFC scan will fix corrupt or missing system files. But to ensure that SFC works properly, you’ll first need to run the DISM tool.

Here’s how you can get started with running DISM:

  1. Press the Windows key + R and type CMD.
  2. Press Ctrl + Shift + Enter to open an elevated Command Prompt.
  3. Type the following command and press Enter:
DISM /Online /Cleanup-Image /ScanHealth

When the scan is complete, type the following command and press Enter:

DISM /Online /Cleanup-Image /RestoreHealth

Restart your PC when the scan is complete.

Next, open the Command Prompt as per the previous steps. To run an SFC scan, type the following command and press Enter:

sfc /scannow

When the scan is complete, close the Command Prompt and restart your PC.

Fix Your Windows Task Scheduler to Make Automation Easy

Automating your PC tasks is convenient—just make sure to specify the correct conditions so your tasks can run as required. Should you encounter difficulties with the Task Scheduler, you should easily resolve them using the tips we’ve provided.

Computer and clocks
How to Schedule Your Windows 10 PC to Automatically Wake Each Day

Do you boot your PC at the same time each day? If so, you can put it to sleep or hibernate and then wake it automatically. Here’s how you can do this.

Read Next


About The Author

.



Source link

READ More:  3 Countries Where You Can't Use Facebook

Like it? Share with your friends!

557
557 points