What is Last Run Result (0x80042000)?

7,754

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:
7,754

Related videos on Youtube

William Leara
Author by

William Leara

Updated on September 17, 2022

Comments

  • William Leara
    William Leara over 1 year

    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?

    • splattne
      splattne almost 15 years
      What kind of task is your job? If it's a script, what kind of script?