myITforum.com Community Forum myITforum.com Community Forum

Home  Forums  Blogs  Live Support chat  Search Articles  Wiki  FAQ  Email Lists  Register  Login  My Profile  Inbox  Address Book  My Subscription  My Forums 

Photo Gallery  Member List  Search  Calendars  FAQ  Ticket List  Log Out

All Forums RSS Feed Subscription:


  


Query for exit codes? Need to find 1641's...

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
  Printable Version
All Forums >> [Management Products] >> Microsoft Systems Management Server >> SMS 2003 >> Query for exit codes? Need to find 1641's... Page: [1]
Login
Message << Older Topic   Newer Topic >>
Query for exit codes? Need to find 1641's... - 8/25/2008 8:35:20 PM   
jfraser174

 

Posts: 170
Score: 0
Joined: 2/24/2004
Status: offline
Can anyone post how to query for exit codes?  i need to find all exit codes that happen for a large install with exit code 1641.

Thanks in advance for any help.
Post #: 1
RE: Query for exit codes? Need to find 1641's... - 8/25/2008 11:13:19 PM   
jsandys


Posts: 531
Score: 17
Joined: 3/24/2005
From: San Antonio, TX
Status: offline
Exit codes are completely application dependant and do not have to follow any standard.  That being said, Windows does have a set standard of error codes which most applications do use for their return codes.  The easiest way to query for what a code means is to drop to a command shell and type
net helpmsg <error code>
In this case, a 1641 means "The requested operation completed successfully. The system will be restarted so the changes can take effect."

_____________________________

Jason
________________________________________
http://myitforum.com/cs2/blogs/jsandys/default.aspx

(in reply to jfraser174)
Post #: 2
RE: Query for exit codes? Need to find 1641's... - 8/29/2008 3:53:24 AM   
swipe


Posts: 146
Score: 2
Joined: 2/17/2006
Status: offline
I use this page for my exit codes:

http://desktopengineer.com/windowsinstallererrorcodes

(in reply to jsandys)
Post #: 3
RE: Query for exit codes? Need to find 1641's... - 8/29/2008 10:41:33 AM   
nickmo

 

Posts: 32
Score: 0
Joined: 8/25/2008
Status: offline
I also agree that it is not possible to build a collection based upon an exit code since that is server-related information as opposed to client inventory information.  However, if you are looking for a way to have an advertisment rerun on computers that failed, build your query such that it uses a subselect to list computers that are not in the list of computers with the software installed (sample below).  Then set your advertisment to run on a recurring basis.

select Name from  SMS_R_System where Name not in (select SMS_R_System.Name from  SMS_R_System inner join SMS_G_System_SoftwareFile on SMS_G_System_SoftwareFile.ResourceID = SMS_R_System.ResourceId where SMS_G_System_SoftwareFile.FilePath = "c:\\windows\\system32\\" and SMS_G_System_SoftwareFile.FileName = "xcacls.exe")


_____________________________

nick

(in reply to jfraser174)
Post #: 4
Page:   [1]
All Forums >> [Management Products] >> Microsoft Systems Management Server >> SMS 2003 >> Query for exit codes? Need to find 1641's... Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts



  
Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.422