Task Scheduler not running the Python script? Try these fixes

Milan Stanojevic
by Milan Stanojevic
Windows & Software Expert
Milan has been enthusiastic about PCs ever since his childhood days, and this led him to take interest in all PC-related technologies. Before joining WindowsReport, he worked as a front-end web developer. Read more
Affiliate Disclosure
  • Some Windows 10 users claimed that Task Scheduler is not running the Python script.
  • A first solution is to start the program from the Command Line.
  • It also helps to delete the corrupted task and restart Task Scheduler.
  • You can also run a System File Checker scan by following our guide below.
Task Scheduler not running
XINSTALL BY CLICKING THE DOWNLOAD FILE
To fix various PC problems, we recommend Restoro PC Repair Tool:
This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues and remove viruses now in 3 easy steps:

  1. Download Restoro PC Repair Tool that comes with Patented Technologies (patent available here).
  2. Click Start Scan to find Windows issues that could be causing PC problems.
  3. Click Repair All to fix issues affecting your computer's security and performance
  • Restoro has been downloaded by 0 readers this month.

Task Scheduler helps with scheduling (the same way you schedule jobs) programs, and scripts, and one of the scripting languages it is used on is Python.

Many users claimed that when it isn’t working, the Python script in Windows 10 cannot be launched at the times or intervals as planned.

Before resolving the issue, check the last time it worked, and whether you made any recent hardware and/or software changes on your computer.

Here are some helpful solutions to help you fix the Task Scheduler if it’s not running the Python script, so keep reading!

What to do if Task Scheduler is not running the Python script?

1. Start Task Scheduler from Command Line

  1. Click Start, and type CMD in the search field box
  2. Right-click Command Prompt, and select Run as Administrator.
  3. When the Command Prompt opens, type net start task scheduler.

If it still doesn’t open, then you can proceed to the next solution below.

Also, you can learn to work in Command Prompt like a real technician with our comprehensive guide, so be sure to check it out.

2. Check if Task Scheduler is actually running

  1. Click Start, and type services.msc in the search field box, and hit Enter. services.msc windows 10
  2. Look for Task Scheduler.
  3. Right-click it, then select Properties.
  4. Under Startup Type list, select Automatic.
  5. Click Start, select Apply and Ok.

A good solution is to check that the Task Scheduler is actually running by following our steps above. If you’re still not having luck, continue with the next fix.

3. Run a System File Checker scan

  1. Click Start, and type CMD in the search field box.
  2. Select Command Prompt. game crash
  3. Right-click, and select Run as Administrator.
  4. Type sfc/scannow, and hit Enter.
  5. Restart your PC.

A System File Checker scan checks or scans all protected system files, and then replaces the incorrect versions, with the genuine, correct Microsoft versions.

If the Task Scheduler still isn’t running the Python script, try the next solution.

4. Delete the corrupted task

  1. Click Start, type Task Scheduler in the search field box, and press Enter.
  2. On the left pane, click on the Task Scheduler library.
  3. Select backup task in the middle pane, and delete it.

If you cannot find the corrupted task, do the following:

  1. Click Start, and type CMD in the search field box.
  2. Right-click on the Command Prompt, and choose Run as Administrator.
  3. Type the following command: schtasks /query | findstr /i

Once the command is executed, look for either of the following errors:

  1. ERROR: The task image is corrupt or has been tampered with.
  2. ERROR: The task cannot be loaded: task name.

Finally, try scheduling a task or run a Python script, and check if the issue persists.

5. Restart Task Scheduler

  1. Click Start, type services in the search field box, and press Enter.
  2. Right-click Services, and click Run as Administrator.
  3. Give the necessary password or permissions or click Continue.
  4. Right click Task Scheduler service, and select Restart.

6. Change Service Configuration

  1. Click Start, and type CMD in the search field box.
  2. Choose Command prompt.
  3. Right-click, and select Run as Administrator.
  4. Choose to continue at the UAC prompt.
  5. In the console window, type the following command: SC Comfit schedule start= auto
  6. If you get the reply [SC] ChangeServiceConfig SUCCESS, the service will be changed to automatic once you reboot.

If these solutions are too complicated, then you can ease your work by installing one of the task scheduler tools from our list, so be sure to take a closer look.

7. Perform a Clean Boot

  1. Go to the Search box, type msconfig, and press Enter.
  2. Select System Configuration.
  3. Find the Services tab, and select the Hide all Microsoft services box.
  4. Click Disable all.
  5. Go to the Startup tab, and click Open Task Manager.
  6. Close the Task manager then click Ok.
  7. Reboot your PC.

Performing a clean boot for your computer reduces conflicts related to software that can bring up the root causes of the Task Scheduler not running Python script.

These conflicts can be caused by applications and services that start up and run in the background whenever you start Windows normally.

Expert Tip: Some PC issues are hard to tackle, especially when it comes to corrupted repositories or missing Windows files. If you are having troubles fixing an error, your system may be partially broken. We recommend installing Restoro, a tool that will scan your machine and identify what the fault is.
Click here to download and start repairing.

You will have a clean boot environment after all the above steps are carefully followed, afterwards check if your Task Scheduler still doesn’t run the Python script, or if the problem is gone.

8. Create a new user account

  1. Click Start, and select Settings.
  2. Choose Accounts, and click on Add someone else to this PC.
  3. Fill in the form with the user name and password.
  4. Your new user account will be created.
  5. Select Change account type.
  6. Click the drop-down arrow, and choose Administrator to set the account to administrator level.
  7. Restart your PC.
  8. Login to the new account you just created.

You can create a new user profile then change settings to administrator privileges, and check if the issue of Task Scheduler not working persists.

If the issue goes away, then it may mean your other user profile is corrupted. Learn how to fix that by following our detailed guide.

You can try the following in case of a corrupted user profile:

  1. On your new account, use it to downgrade your usual account.
  2. Click Apply or Ok.
  3. Raise back your old account to its default admin level.
  4. Rinse and repeat a few times as this will help to remove any corruption.
  5. Leave your account on as Administrator.

Check whether the issue of Task Scheduler not working goes away when using the newly created account. If it does, then you can either fix the old user account or migrate to the new account.

9. Perform a repair install

  1. Insert the Windows installation DVD.
  2. Restart your computer.
  3. If asked to boot from your DVD drive, do so.
  4. Choose your language.
  5. Click Next.
  6. Click Repair your computer.
  7. Select the operating system you want to repair.

Also, if Windows 10 won’t install, no worries, we got the right solutions for you, just take a closer look at our comprehensive guide.

Particular troubleshooting steps on Task Scheduler

1. A task doesn’t run as and when it is expected to

If this happens, ensure the task is enabled, and check that the triggers on the task are set correctly. Check the task’s history to see when it was started and check for errors.

A task only runs if its conditions are met. Some run when a particular user is logged in depending on the security options on the task itself, so ensure the task’s security options are correctly set.

2. The task runs, but the program didn’t run correctly

If this happens, try running the program manually (not from the task) to check that it works properly. You can add a command line option to the program’s path.

Some programs need elevated privileges to run correctly, so set the task to run with the highest privileges by changing its security options on the General tab of the Task Properties dialog box.

If the program doesn’t run properly, check the task’s history for any errors.

3. You get an error when the task tries to send an email

If this happens, and the email isn’t sent correctly, ensure the settings for email action on the task are properly set.

The email action should have a valid value for the SMTP server To and From settings. Ensure the SMTP server is set up correctly.

4. A task uses 100% of the CPU

  1. Restart in Safe Mode (Task Scheduler doesn’t run in Safe Mode).
  2. In Windows/System32/Tasks folder, rename the task file, or delete it.
  3. Restart in Normal Mode.
  4. Redefine the task.

If this occurs, the system can be rendered unusable. Disable the task, then change its trigger. If the system is unresponsive because of this issue, follow the above steps.

Now that your Task Scheduler works fine and the Python script is running normally, check out our comprehensive guide to learn to use it at its full potential!

We hope that our solution were helpful and helped you to fix the Task Scheduler if is not running Python script. For more suggestions, please access the comments section below.

idee restoro Still having issues? Fix them with this tool:
  1. Download this PC Repair Tool rated Great on TrustPilot.com (download starts on this page).
  2. Click Start Scan to find Windows issues that could be causing PC problems.
  3. Click Repair All to fix issues with Patented Technologies (Exclusive Discount for our readers).

Restoro has been downloaded by 0 readers this month.

This article covers:Topics: