Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

No matter what I do, my task exits with "Last Run Result" 0x80042000. It claims to pass successfully, but it's not doing anything -- the process appears for an instant and then disappears. If I do Start/Run and type in the exact same command, then that works fine. I've setup the same task in Server2003 and it works fine there. I'm logged in as Administrator, so I don't think UAC is the problem.

I've searched for this code 0x80042000 and it's nowhere to be found. Anyone know what is means?

share|improve this question
What kind of task is your job? If it's a script, what kind of script? – splattne Jun 8 '09 at 9:39
Do you have the scheduled task set to run as Administrator, or as some particular user? – Laura Thomas Jun 15 '09 at 19:36
up vote 1 down vote accepted

Okay, here's what happened:

I was confused by the "Last Run Result", thinking that this was a Server 2008/Task Scheduler return code. Actually, it's the return code from the application that was run. So the Task "History" says "successfully finished", but the "Last Run Result" = 0x80042000.

So, once I figured that out, the answer was easy -- this is an InstallShield app and 0x80042000 is the return code for when the app encounters an InstallScript "abort" command.

share|improve this answer

Check this out for the error codes:

I would guess that you're running into an environment issue that you don't have when run as yourself. Can you post the command you're trying to run? There might be a run silently switch.

Let me know!

Cheers, -Mathew

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.