MDT : the application returned an unexpected code 2

Hanen Chhibi 1 Reputation point
2021-04-13T08:57:12.91+00:00

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
    2021-04-15T05:41:02.57+00:00

    Hi,

    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: https://community.spiceworks.com/topic/1325927-mdt-2013-update-1-application-installation

    Best regards,
    Simon


    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.