Windows 11 Capture with MDT Fails after sysprep

morbraden 41 Reputation points
2022-04-05T20:34:09.103+00:00

Hello,
I am having trouble capturing the Windows 11 image I have created.

I recently updated the WinPE and ADK files on the server to support Windows 11.
I created a base Windows 11 image on both a laptop and a VM (to try both)
I created a basic sysprep and capture task sequence with Windows 11 being the operating system (imported into MDT from mounted ISO file)

I am able to start the task sequence on the Windows 11 machine, it successfully syspreps and then reboots as if it will capture the image.
Instead, it reboots, loads into the Windows PE MDT, and asks for what task sequence I would like to run.

The behavior I am expecting is for it to sysprep, reboot, and then boot into the Windows PE MDT environemnt and continue the current task sequence and capture the image and load it onto the server.

Any potential reasons for why the task sequence stops part way through and asks for the name of the task sequence I want to run again after reboot?

If I examine the monitoring tab on the DeploymentShare, it shows the task sequence in progress at like 67%. If I then click next on the computer window that asks for the task sequence again, it jumps back to 50ish%. So it is acting like it sees the current task sequence but then it rollsback to a previous step. At that point it fails, obviously because it cannot sysprep a sysprepped machine.

Here are my deployment share settings:
[Settings]
Priority=Default
Properties=MyCustomProperty

[Default]
OSInstall=N
SkipCapture=NO
SkipAdminPassword=YES
SkipProductKey=YES
SkipComputerBackup=YES
SkipBitLocker=YES
DoCapture=YES
SLShare=\redacted\DeploymentShare$\Logs
EventService=http://redacted

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).
892 questions
{count} votes

Accepted answer
  1. Chibulls23 86 Reputation points
    2022-04-14T19:07:22.527+00:00

    OK I figured it out finally!...After three days of racking my head over this... I found answer on some other forums eventually...Its totally an ADK bug that needs to be resolved on Microsoft.. until then this is what need to be done...

    When the MDT task sequence boots to WinPE, and asks what you want to do (as opposed to just capturing the WIM like it's supposed to), exit to command line.

    Once there, go into disk part and assign the OS partition as c. In my case, the commands went something like:

    list disk

    select disk 0

    select part 3

    assign letter=c

    After that, I exited diskpart and ran "startnet.cmd" from the command line. ... the capture wim process now begins!

    Credit to people here... anyone_try_windows_11_yet

    2 people found this answer helpful.

4 additional answers

Sort by: Most helpful
  1. morbraden 41 Reputation points
    2022-04-12T16:26:55.35+00:00

    I have not found a solution yet. It appears to capture Windows 10 images just fine, so it is most likely an issue with the ADK and WinPE upgrade from 10 to 11.

    I am able to deploy windows 11 images from ISO files, but unable to capture from a machine to the server.

    For now we are creating a new server/deployment share from scratch to test captures on.

    I will update once I have a solution.

    1 person found this answer helpful.
    0 comments No comments

  2. Simon Ren-MSFT 34,021 Reputation points Microsoft Vendor
    2022-04-06T06:32:07.827+00:00

    Hi,

    Thanks for posting in Microsoft MECM Q&A forum.

    1,If possible, please help check smsts.log, bdd.log, setuperr.log, setupact.log on the client to see if there is any helpful information.

    2,Please try to change the OSInstall=N to OSInstall=YES to have a try. The OSInstall property indicates whether the target computer is authorized to have the target operating system installed.

    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.
    https://learn.microsoft.com/en-us/answers/articles/67444/email-notifications.html


  3. Simon Ren-MSFT 34,021 Reputation points Microsoft Vendor
    2022-04-12T16:57:11.363+00:00

    Hi @morbraden ,

    Thanks very much for your feedback. Looking forward to hearing from you.

    If possible, we could try to remove previous Windows ADK and PE Add-on, and then install the Windows PE add-on and the Windows ADK for Windows 11. In MDT consle, we choose Update Deployment Share and select Complete regenerate the Boot Images option.

    Thanks for your time. Have a nice day!

    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.


  4. Chibulls23 86 Reputation points
    2022-04-12T18:09:22.587+00:00

    Does it matter the order you install these?... Should it be ADK first than PE updates?...Im thinking about uninstalling and reinstalling again as you recommended.


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.