Deployment Workbench and "return code: 2" RRS feed

  • Question

  • I am trying to use Microsoft Deployment Workbench to install some applications. I am running to an issue where I receive the following error, "Application Chrome returned an unexpected return code: 2".  The first app I setup, Acrobat Reader DC, works just fine. Chrome and FireFox both return this error. From what I have been reading, Return code: 2  means that it cannot find the folder or file however I verified and tested over and over that all paths and filenames are correct. Here is what I have tried so far:

    1. I am using "Application with source files"
    2. Tried both .exe and .msi installers
    3. Manually installed successfully using the same UNC path, filenames, and command line switches
    4. Tried installing on a Win10 target machine AND the MDT server itself
    5. Removed any spaces in filenames
    6. Verified both Share and NTFS permissions
    7. Disabled UAC and Windows firewall
    8. Checked logs however there does not appear to be much detail on the install failures

    Please help!!

    Monday, March 23, 2020 7:20 PM

All replies

  • From my past experience, a return code of 2 means a reboot is required.

    In the Success Codes box, there is a 0 and 3010. Add a space and a 2 so it shows

    0 3010 2

    That will suppress the reboot error.

    Thursday, March 26, 2020 1:16 PM