Deployment Workbench Crashes when opening the Win PE tab in properties?

rhoutz 116 Reputation points
2022-03-03T13:02:39.503+00:00

I'm noticing this on every machine in our facility that has DeploymentWorkbench installed. Version is MDT6.3.8456
Everything looks to work fine until you attempt to open the properties of the deployment share and click on the Win PE Tab.
179693-deploywrkbenscreenshot-2022-03-03-074805.png

When I check Event Viewer I notice the mmc crash had something to do with kernelbase.dll.
I've run sfc /scannow as well as DISM seen in this link it doesn't fix the problem.
https://answers.microsoft.com/en-us/windows/forum/all/system-file-check-sfc-scan-and-repair-system-files/bc609315-da1f-4775-812c-695b60477a93

Again this behavior isn't isolated to one system it's doing it even on the server that is deploying the images.
Any help would be greatly appreciated.

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

Accepted answer
  1. Simon Ren-MSFT 29,956 Reputation points Microsoft Vendor
    2022-03-08T01:40:03.68+00:00

    Hi,

    Thanks very much for your feedback. We're glad that the question is solved now. It's appreciated that you could click "Accept Answer" to the helpful reply, this will help other users to search for useful information more quickly. Here's a short summary for the problem.

    Problem/Symptom:
    Deployment Workbench crashes with the error "MDT mmc has detected an error in a snap-in and will unload it" when opening the Win PE tab in properties.

    Solution/Workaround:
    Install the Windows PE add-on for the Windows ADK. Because from Windows 10, version 1809, Windows Preinstallation Environment (PE) is avalable separately form the Assessment and Deployment Kit (ADK).

    Reference Link:
    Download and install the Windows ADK

    Thanks again for your time!

    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.

    2 people found this answer helpful.

3 additional answers

Sort by: Most helpful
  1. Peter Smith Kent Community Health 136 Reputation points
    2022-08-30T14:45:06.597+00:00

    Copied from Ismael answer which worked for me

    Create the following empty folder: C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs
    mkdir C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs
    Disable x86 support in MDT when you have Windows ADK for Windows 11 installed.
    This is enough to avoid the crash in Windows PE tab and skip x86 boot images creation.

    27 people found this answer helpful.

  2. rhoutz 116 Reputation points
    2022-03-04T14:57:06.177+00:00

    Hi @Simon Ren-MSFT
    Thanks for the info but unfortunately that didn't solve the MMC crashing problem.

    Another problem I'm seeing is the deployment server reports the deployment was successful with no errors. However the device shows it had 1 error during the deployment and stopped the deployment wizard.

    I don't know if the two problems are related but I figured I'd better take care of the MMC crashing problem before I address the problem that doesn't seem to matter.

    I as well as my coworkers inherited our MDT setup so attempting to maintain it with out having all the details on the initial setup has been a challenge.

    I know when I started working on updating our deployment server it was not using the latest MDT version so I had to update the MDT that was installed.
    I might have missed some things when updating the server because at one time the deployment share was on the same partition as the server OS but was moved to a different partition.

    I can't find the configuration manager or even the Microsoft Endpoint Manager on our server hosting the LiteTouch boot as well as deployment share.
    Shouldn't that be included when you install the MDT and Win ADK?

    Thanks again for the advice.

    2 people found this answer helpful.

  3. Simon Ren-MSFT 29,956 Reputation points Microsoft Vendor
    2022-03-04T06:23:52.62+00:00

    Hi,

    Thanks for posting in Microsoft MECM Q&A forum.

    As the issue happend on multiple device, it may be caused by the snap-in trying to reach a server share on a server that was decommissioned. We could try to detect and remove the missing share using the commands below as example to allow the snap-in to start properly.

    PS C:\> Import-Module 'C:\Program Files\Microsoft Deployment Toolkit\Bin\MicrosoftDeploymentToolkit.psd1'
    PS C:\> Get-MDTPersistentDrive

    Name Path Description

    DS001 \Server01/Distribution MDT Deployment Share

    PS C:\> Remove-MDTPersistentDrive -Name DS001

    Similar thread for your reference:
    Deployment Workbench MMC Error

    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.

    0 comments No comments