Tag Archives: errorlevel

Scheduled task error – Could not run

Problem: A scheduled task running on windows 2003 shows status “could not run” . The task is starting a batch (cmd) running some simple dos shell commands. So nothing special. Solution: Rights for user BATCH on %windir%\system32\cmd.exe missing Add rights … Continue reading

Posted in Information Technology | Tagged | Comments Off on Scheduled task error – Could not run

Scheduled task last result 0x2

Problem | A scheduled task running a command shell is returning “last result 0x2” but everything is fine. Reason | The last command within the batch is returning an errorlevel ; 0. This could be robocopy ending with skipped files. … Continue reading

Posted in Information Technology, Uncategorized | Tagged | Comments Off on Scheduled task last result 0x2