You will Learn How to fix error
- MDT Sysprep and capture failed on Windows 10 1903
- MDT failed to capture the image
- BitLocker does not turn ON windows 10 1903 version
- Turn BitLocker off to run Sysprep. (0x80310039)
On January 14, 2020 the Windows 7 operating system is set to retire and will no longer be supported by Microsoft which means they will be no longer provide security updates. With deadline date approaching all IT Support persons are busy in doing upgrade of systems from Windows 7 to Windows10. Easy way to deploy Windows10 is from MDT, first need to build a Standard image with all configuration and patch updates.During initial stages can MDT Sysprep and capture failed?
With Latest build of Windows 10 build 1903 covers all patches and require less time to build the computer. So we started to Install a fresh Windows 10 build 1903 on Dell Latitude 5490 and updated with the latest windows patches, as this version has lesser patches to update and require few minutes.
Next Step to capture the image from MDT(Microsoft Deployment Toolkit), MDT Sysprep and capture failed to capture the image and an error occurred as shown below
1 2 3 4 5 6 7 8 |
InfoΒ SYSPRP ActionPlatform::LaunchModule: Executing method 'ValidateBitLockerState' from C:\Windows\System32\BdeSysprep.dll ErrorΒ SYSPRP BitLocker-Sysprep: BitLocker is on for the OS volume. Turn BitLocker off to run Sysprep. (0x80310039) Error SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'ValidateBitLockerState' from C:\Windows\System32\BdeSysprep.dll; dwRet = 0x80310039[gle=0x00000001] Error SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x80310039 Error SYSPRP RunPlatformActions:Failed while validating Sysprep session actions; dwRet = 0x80310039 Error [0x0f0070] SYSPRP RunDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x80310039 Error [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80310039 Info [0x0f0052] SYSPRP Shutting down SysPrep log |
Forums and blogs provided different solution but those suggested solutions does not work on Windows 10 build 1903. I continue further investigating on the problem found that Bitlocker was creating the problem. If you look at BitLocker settings in control panel it always show up that BitLocker is OFF and does not encrypt the disk.
Fix MDT Sysprep and capture failed on Windows 10 1903, with BitLocker to turn ON, follow below steps
- Open the cmd or command prompt with Administrative access
- Type command manage-bde -off C:
- Check the status manage-bde -status
you should screen as shown below
Important note:Β Windows 10 has built-in apps which have to be removed while building image for a corporate laptops or desktops. Apps like one-note,Skype, Xbox …
Here the list of apps need to remove, If you Copy & Paste on an elevated PS (Powershell)will work.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
Get-AppxPackage *3dbuilder* | Remove-AppxPackage Get-AppxPackage *windowsalarms* | Remove-AppxPackage Get-AppxPackage *Appconnector* | Remove-AppxPackage Get-AppxPackage *windowscalculator* | Remove-AppxPackage Get-AppxPackage *windowscommunicationsapps* | Remove-AppxPackage Get-AppxPackage *windowscamera* | Remove-AppxPackage Get-AppxPackage *CandyCrushSaga* | Remove-AppxPackage Get-AppxPackage *officehub* | Remove-AppxPackage Get-AppxPackage *skypeapp* | Remove-AppxPackage Get-AppxPackage *getstarted* | Remove-AppxPackage Get-AppxPackage *zunemusic* | Remove-AppxPackage Get-AppxPackage *windowsmaps* | Remove-AppxPackage Get-AppxPackage *Messaging* | Remove-AppxPackage Get-AppxPackage *solitairecollection* | Remove-AppxPackage Get-AppxPackage *ConnectivityStore* | Remove-AppxPackage Get-AppxPackage *bingfinance* | Remove-AppxPackage Get-AppxPackage *zunevideo* | Remove-AppxPackage Get-AppxPackage *bingnews* | Remove-AppxPackage Get-AppxPackage *onenote* | Remove-AppxPackage Get-AppxPackage *people* | Remove-AppxPackage Get-AppxPackage *CommsPhone* | Remove-AppxPackage Get-AppxPackage *windowsphone* | Remove-AppxPackage Get-AppxPackage *photos* | Remove-AppxPackage Get-AppxPackage *WindowsScan* | Remove-AppxPackage Get-AppxPackage *bingsports* | Remove-AppxPackage Get-AppxPackage *windowsstore* | Remove-AppxPackage Get-AppxPackage *Office.Sway* | Remove-AppxPackage Get-AppxPackage *Twitter* | Remove-AppxPackage Get-AppxPackage *soundrecorder* | Remove-AppxPackage Get-AppxPackage *bingweather* | Remove-AppxPackage Get-AppxPackage *xboxapp* | Remove-AppxPackage Get-AppxPackage *XboxOneSmartGlass* | Remove-AppxPackage |
You Might Also like To Knowβ¦.
- USB Stick Is Not Being Recognized as a Bootable Device
- Fix Windows10 /11 BSOD CSAgent.sys, OS Stuck at Recovery (CrowdStrike BUG)
- Troubleshooting Guide: Why Your AirPrint Isn’t Working and How to Fix It
- How to Fix Rufus Error: The Device is in Use by Another Process (Error 006564)
- How To Protect Eyes from Harmful Blue light Screens?