MDT : the application returned an unexpected code 2

Hanen Chhibi 1 Reputation point

I try to install the nav application with mdt but still there is an error: "Application Nav returned an expected return code: 2
here are all the details87314-1.png87327-2.png87331-3.png

Microsoft Deployment Toolkit
Microsoft Deployment Toolkit
A collection of Microsoft tools and documentation for automating desktop and server deployment. Previously known as Microsoft Solution Accelerator for Business Desktop Deployment (BDD).
515 questions
Windows 10 Compatibility
Windows 10 Compatibility
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Compatibility: The extent to which hardware or software adheres to an accepted standard.
370 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Simon Ren-MSFT 13,226 Reputation points Microsoft Employee


    Thanks for posting in Microsoft MECM Q&A forum.

    Could we manually install the application on your computer? Please help check the bdd.log file and see what it says. Per my personal experience, unexpected code 2 usually means file not found, incorrect file path or permissions.
    Similar thread for your reference:

    Best regards,

    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.