Windows & BSOD · medium

How to fix Scheduled task fails with error 0x1

Error code: TASK-SCHEDULER-ERR

What this error means

A Windows Task Scheduler task runs but exits with return code 0x1 (general error) or 0x41301 (task is running). Another common trigger is 'Run only when user is logged on' vs 'Run whether user is logged on or not' mismatch.

Updated

Before you begin

Save open work and back up important files. Use instructions for your exact device and software version. If Windows cannot start, see the startup guide.

Work through these checks

0 of 3 complete
01Check task history in Task Scheduler for detailed error
  1. Check task history in Task Scheduler for detailed error
What to expect

Check whether the original symptom still occurs.

If it does not help

Continue only if this check applies to your device. Consult its manufacturer if you are unsure.

Browse related errors
02Set 'Start in' path to the folder containing the executable
  1. Set 'Start in' path to the folder containing the executable
What to expect

Check whether the original symptom still occurs.

If it does not help

Continue only if this check applies to your device. Consult its manufacturer if you are unsure.

Browse related errors
03Run as SYSTEM or a user with sufficient privileges
  1. Run as SYSTEM or a user with sufficient privileges
What to expect

Check whether the original symptom still occurs.

If it does not help

Continue only if this check applies to your device. Consult its manufacturer if you are unsure.

Browse related errors

Possible causes

  • 'Run only when user is logged on' vs 'Run whether user is logged on or not' mismatch
  • Incorrect working directory set in task properties
  • Missing permissions for the task action

Useful Windows tools

These commands open Windows tools. Review changes before applying them.

eventvwr.msc