SOLVED

Success codes for MDT

%3CLINGO-SUB%20id%3D%22lingo-sub-310414%22%20slang%3D%22en-US%22%3ESuccess%20codes%20for%20MDT%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-310414%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20currently%20updating%20MDT%20to%208540%20and%20tackling%20a%20Windows%2010%20deployment.%26nbsp%3B%20In%20my%20research%2C%20I've%20seen%20a%20lot%20of%20articles%20that%20mention%20adding%20specific%20numbers%20to%20the%20Task%20Sequence%20area%20%22Success%20Codes%20(suppress%20errors)%22.%26nbsp%3B%20They%20mostly%20reference%20the%20number%20%222%22%20so%20MDT%20doesn't%20give%20an%20error%20after%20a%20reboot.%26nbsp%3B%20I'm%20looking%20to%20find%20a%20list%20of%20the%20success%20codes.%26nbsp%3B%20I've%20only%20come%20across%20%22Error%20codes%22%20in%20my%20searches%2C%20and%20none%20of%20those%20ever%20seem%20to%20match%20up.%26nbsp%3B%20Is%20there%20a%20published%20list%20of%20success%20codes%20anywhere%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-310414%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Emdt%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOperating%20System%20Deployment%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-325892%22%20slang%3D%22en-US%22%3ERe%3A%20Success%20codes%20for%20MDT%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-325892%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20Johan%2C%3C%2FP%3E%3CP%3EI%20looked%20at%20the%20list.%26nbsp%3B%26nbsp%3B%20I%20guess%20adding%20the%20number%202%20would%20be%20a%20vendor%20specific%20code%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20all%20the%20great%20articles%20too%2C%20they're%20a%20lifesaver!%20I%20think%20I%20have%20half%20your%20site%20bookmarked!!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-314927%22%20slang%3D%22en-US%22%3ERe%3A%20Success%20codes%20for%20MDT%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-314927%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20error%20codes%20list%20for%20msiexec%20contains%20a%20few%20success%20codes%20as%20well%3A%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fdesktop%2Fmsi%2Ferror-codes%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fdesktop%2Fmsi%2Ferror-codes%3C%2FA%3E%26nbsp%3BMost%20other%20installers%20simply%20use%200%20for%20success%2C%20but%20since%20you%20can%20customize%2C%20a%20lot%20of%20vendors%20do.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%2F%20Johan%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

I'm currently updating MDT to 8540 and tackling a Windows 10 deployment.  In my research, I've seen a lot of articles that mention adding specific numbers to the Task Sequence area "Success Codes (suppress errors)".  They mostly reference the number "2" so MDT doesn't give an error after a reboot.  I'm looking to find a list of the success codes.  I've only come across "Error codes" in my searches, and none of those ever seem to match up.  Is there a published list of success codes anywhere?

2 Replies
Highlighted
Best Response confirmed by alljunkandcrap (New Contributor)
Solution

The error codes list for msiexec contains a few success codes as well: https://docs.microsoft.com/en-us/windows/desktop/msi/error-codes Most other installers simply use 0 for success, but since you can customize, a lot of vendors do. 

 

/ Johan

Highlighted

Thanks Johan,

I looked at the list.   I guess adding the number 2 would be a vendor specific code? 

 

Thanks for all the great articles too, they're a lifesaver! I think I have half your site bookmarked!!