What does exit status 1 (0x1) mean for a Windows GUI program?

0

1

I have recurring occurrences of Internet Explorer (C:\Program Files\Internet Explorer\iexplore.exe) exiting with exit status 1 (0x1) in my Windows Eventlogs (event id 4689).

Whenever I google for the meaning of these exit codes I always just end up with this list (in different incarnations), where exit code 1 is said to mean "Incorrect function", also clarified with "Indicates that Action has attempted to execute non-recognized command in Windows command prompt cmd.exe".

This doesn't really make sense at all for Internet Explorer, so what does it really mean then?

Is there perhaps another list with exit status codes specific for event id 4689, with completely different meanings from that list that you always end up in on Google, or what am I missing here?

QuestionOverflow

Posted 2016-09-12T19:04:22.193

Reputation: 103

What version of Windows is this happening on? From what I've found this seems to be a Windows Server thing. I just want to verify before spewing ideas on how to fix it :) – DrZoo – 2016-09-12T19:41:06.370

Yes, Windows Server (2008 or 2012, not sure which in this specific case), that's correct. – QuestionOverflow – 2016-09-12T21:18:35.797

Cool, from what I found this seems to be the clearest at stating how to check whether your COM+ services are installed and running.

– DrZoo – 2016-09-12T21:22:38.873

Your link seems to go to a colliding event id from the "Microsoft-Windows-Complus" application log source, while the one I'm referring to is the one in the Security log (as linked from my question text above)? – QuestionOverflow – 2016-09-12T23:14:41.993

Answers

0

Exit status 1 can mean literally anything, except perhaps 'success'. These status codes are defined by the program itself, and in most cases you'll find 1 used as a catch-all for every possible failure.

(Many GUI apps don't propagate errors to the exit status at all, since practically nothing checks it.)

Only command-line tools sometimes use different codes to allow easier scripting, and even those typically reserve 1 as the "something else happened" catch-all.

user1686

Posted 2016-09-12T19:04:22.193

Reputation: 283 655