Share this article

Improve this guide

Task Scheduler not running the Python script? Try these fixes

7 min. read

Updated onOctober 4, 2023

updated onOctober 4, 2023

Share this article

Improve this guide

Read our disclosure page to find out how can you help Windows Report sustain the editorial teamRead more

Key notes

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 inWindows 10cannot 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?

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

1. Start Task Scheduler from Command Line

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 ourcomprehensive guide, so be sure to check it out.

2. Check if Task Scheduler is actually running

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

ASystem File Checkerscan 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

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

Once the command is executed, look for either of the followingerrors:

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

5. Restart Task Scheduler

6. Change Service Configuration

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

7. Perform a Clean Boot

Performing a clean boot for your computer reduces conflicts related to software that can bring up the root causes of theTask Schedulernot 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.

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

8. Create a new user account

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 followingour detailed guide.

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

Check whether the issue ofTask Schedulernot working goes away when using the newly created account. If it does, then you can either fix the old user accountor migrate to the new account.

9. Perform a repair install

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

Particular troubleshooting steps on Task Scheduler

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 forerrors.

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.

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 anyerrors.

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 theSMTP server is set up correctly.

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 ourcomprehensive 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.

More about the topics:task scheduler,windows 10

Milan Stanojevic

Windows Toubleshooting Expert

Milan has been enthusiastic about technology ever since his childhood days, and this led him to take interest in all PC-related technologies. He’s a PC enthusiast and he spends most of his time learning about computers and technology.

Before joining WindowsReport, he worked as a front-end web developer. Now, he’s one of the Troubleshooting experts in our worldwide team, specializing in Windows errors & software issues.

User forum

0 messages

Sort by:LatestOldestMost Votes

Comment*

Name*

Email*

Commenting as.Not you?

Save information for future comments

Comment

Δ

Milan Stanojevic

Windows Toubleshooting Expert

Before joining WindowsReport, he worked as a front-end web developer. Now, he’s specialized in Windows errors & software issues.