Dirty Environment found - Windows 11 deployment

M E T A L L 0 Reputation points
2023-06-07T12:09:14.76+00:00

Hi everyone,

I keen for your help on this issue while I'm trying to deploy windows 11 using MDT v8456 and all went well till it reaches to the step were starting to install custom application automatically after logging, but unfortunately a pop-up message saying (An existing in-progress deployment was found but is not in an expected state..etc) Pic attached.

I selected both NO & YES on each time but nothing happens after that.

MDT_Error

Many thanks and appreciate your support in advance.

Cheers

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).
919 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,455 questions
{count} votes

3 answers

Sort by: Most helpful
  1. AllenLiu-MSFT 47,316 Reputation points Microsoft Vendor
    2023-06-08T06:05:44.0366667+00:00

    Hi, @M E T A L L

    Thank you for posting in Microsoft Q&A forum.

    Based on the error message you provided, it appears that MDT has detected an existing in-progress deployment but it's not in the expected state. This could be due to a variety of reasons such as a previous deployment that was interrupted or a conflict with another deployment tool.

    To troubleshoot this issue, you can try the following steps:

    1. Ensure that there are no other deployment tools or processes running on the target machine that might interfere with MDT deployment.
    2. Check the MDT logs for any errors or warnings related to the deployment. You can find the logs in the "C:\MININT\SMSOSD\OSDLOGS" folder on the target machine.
    3. Restart the MDT deployment from scratch by deleting the existing deployment task sequence and creating a new one.
    4. If none of the above steps work, consider resetting the target machine to its original state and attempting the deployment again.

    It's also worth noting that MDT is not officially supported for use with Windows 11 or the ADK for Windows 11. You may want to consider using a different deployment tool that is supported for use with Windows 11, such as Microsoft Endpoint Configuration Manager.

    https://learn.microsoft.com/en-us/mem/configmgr/mdt/known-issues#the-create-boot-image-using-mdt-wizard-fails-when-creating-a-boot-image-in-microsoft-configuration-manager-after-upgrading-to-adk-for-windows-11-version-22h2


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Add comment".


  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  3. Mr. C 0 Reputation points
    2023-08-02T14:56:44.2566667+00:00

    User's image

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.