FG
💻 Software

Windows 7 scheduled task returns 0x2

Fresh5 days ago
Mar 15, 202636001 views
Confidence Score0%
0%

Problem

I have identical scheduled tasks running in Windows XP Pro and Windows 7. The XP Pro one runs fine, the Windows 7 one always returns 0x2 (which means, "The system cannot find the file specified"; however, executing from the command line is no problem) in the Last Run Result column of the Task Sched…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Windows 7 scheduled task returns 0x2

Low Risk

I had this issue as well. 0x2 from task scheduler seemed to say it couldn't find the batch file. This was false - I added some pipe arrows (>>) to output my batch file to a logfile, then ran the scheduled task. Despite getting a 0x2 in Task Schedule…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment