Fix Windows 11 Task Scheduler Not Running Tasks
In this article
Yes, you can fix Windows 11 Task Scheduler not running scheduled tasks by verifying task settings, checking service status, and ensuring proper permissions. The most common cause is the Task Scheduler service being stopped or misconfigured, or the task set to wake the computer but the system not supporting wake-on-LAN.
What You'll Need
- Administrator access to the Windows 11 PC
- Knowledge of the task name or purpose
- Optional: Command Prompt or PowerShell access
Step-by-Step
- Press Windows + R, type
taskschd.msc, and press Enter to open Task Scheduler. Confirm the console loads without errors. - In the left pane, click Task Scheduler Library to view all tasks. Locate the task that isn’t running. Right-click it and select Properties.
- Go to the General tab. Ensure Run whether user is logged on or not is selected. If it’s set to Run only when user is logged on, the task won’t run during sleep or lock screen.
- Check Run with highest privileges if the task performs system-level actions like file operations or service control.
- Switch to the Triggers tab. Select each trigger and click Edit. Confirm the schedule is correct and that Enabled is checked. Ensure Wake the computer to run this task is only enabled if the PC supports wake-on-LAN and is not on battery power (laptops).
- Go to the Conditions tab. Uncheck Start the task only if the computer is on AC power if you want it to run on battery. Uncheck Wake the computer to run this task if the system fails to wake or you don’t need it.
- On the Settings tab, ensure Allow task to be run on demand is checked. Set If the task fails, restart every to 1 minute with up to 3 retries. This helps recover from hiccups.
- Click OK, then re-enter your password if prompted. This confirms stored credentials for the task.
- Press Windows + R, type
services.msc, and press Enter. Scroll to Task Scheduler in the list. Right-click it and select Properties. - Set Startup type to Automatic. If the service is not running, click Start. Click Apply then OK.
- Open Command Prompt as administrator: search for cmd, right-click Command Prompt, and choose Run as administrator. Run this command:
schtasks /Run /TN "YourTaskName", replacing YourTaskName with the exact name in Task Scheduler (include quotes if spaces). - If the task runs manually but not automatically, check the History tab in Task Scheduler. Right-click the task and choose View History. Look for errors like 0x800705b4 (task not triggered) or 0x80041319 (task disabled).
- Ensure the user account running the task has not had a password change. If it has, go back to task Properties > General and re-enter the password.
- Verify disk space and system health. A full system drive or corrupted system files can prevent task execution. Run
sfc /scannowin an elevated Command Prompt. - Test with a simple task: create a new task that opens Notepad at a future time. If it runs, the original task has a configuration issue.
Common Mistakes
- Leaving the task set to Run only when user is logged on, which prevents execution during sleep or lock.
- Enabling Wake the computer to run this task on laptops without reliable AC power or BIOS support.
- Forgetting to re-enter passwords after a user account password change.
- Setting triggers too frequently, causing overlap or timeout errors.
- Running scripts from network or restricted paths without proper permissions.
Tips
- Use the Run with highest privileges option for tasks modifying system files or services.
- Name tasks clearly with dates or purposes (e.g., Backup_Documents_Weekly) for easier troubleshooting.
- Log task output: in the Actions tab, add a second action to write results to a text file using
echoor PowerShell. - Check BIOS settings for Wake on LAN or Resume by RTC if using wake timers.
- Use
schtasks /Query /TN "TaskName" /XMLto export task configurations as backup.
Troubleshooting
If the task still won’t run, start with the basics: restart the PC and try running the task manually again. If it fails, check the Task Scheduler service status in services.msc and restart it if needed. If the service won’t start, run sc start schedule in an elevated Command Prompt.
Verify the task’s security context: tasks running under built-in accounts like SYSTEM don’t need passwords, but user accounts do. If the task uses a Microsoft account, ensure the password is current. Switch to a local administrator account if issues persist.
Check Group Policy if on a domain. Policies like Disable Task Scheduler or Maximum wait time for scheduled tasks can block execution. Contact your administrator if needed.
Look for error codes in the Task Scheduler Library. Right-click the library, choose Enable All Tasks History if not already on. Then, view the History tab for detailed error logs.
If the task runs scripts, ensure the script path is correct and the file hasn’t moved. Use full paths (e.g., C:\Scripts\backup.ps1) and avoid relative paths.
Frequently Asked Questions
Why does my scheduled task show 'Ready' but not run?
This usually means the trigger condition isn’t met, such as power settings blocking wake-up or the task requiring user login. Check the Conditions tab.
Can Task Scheduler run tasks when the PC is asleep?
Only if Wake the computer to run this task is enabled and the system supports wake-on-LAN or RTC alarm. Otherwise, the PC must be in sleep, not hibernation or off.
How do I see if a task failed?
Right-click the task and select View History. Ensure task history is enabled in the main console.
Does Task Scheduler work on battery power?
Yes, but only if the Conditions tab doesn’t restrict it to AC power. Uncheck that option to allow battery execution.
What if Task Scheduler service won’t start?
Run sfc /scannow to repair system files. If the issue persists, use DISM /Online /Cleanup-Image /RestoreHealth in an elevated Command Prompt.
Can I run a script with arguments?
Yes. In the Actions tab, set Program/script to cmd.exe or PowerShell.exe, then add arguments in the field below.