Showing results for 
Search instead for 
Did you mean: 
Level 7


Does anyone know what the expected return code should be? I had this working aa part of an MDT task sequence, and all of a sudden, its no longer working. It runs interactively from the desktop, but when I try it in the MDT task sequence, it appears to fail,  since autoboot is not set, and the pc stops for authentication. We didn't change anything in the script, it just stopped working.

Nothing appears to have changged in the console side either. In testing, I started checking for a return code and I'm getting CF000003, or -822083581. I assumed that was a failure, but now it appears to happen whether the exe succeeds or not. Doe anyone have any experience running this in a vbscript or batch file? Any syntax peculiarities I should know about?

0 Kudos