Share via


WDS Troubleshooting: Unable to Capture Sysprep Image using Capture image option

Error

"Windows\System32\winload.exe is missing or corrupt"

When you boot using the Capture image which was created using the capture wizard in WDS you get an error that the winload.exe is missing or corrupt. However, if you mount that image and check the file, it will be present in the Windows\System32 folder.

Cause

Unable to locate the winload.exe file in capture image.

Solution

Mount that image using below commands:

Dism /mount-wim /wimfile:"C:\MS\capture.wim" /mountdir:"C:\WDSTest" /index:1

Replace winload.exe from the working machine and then using below command un-mount the image:

Dism /unmount-wim /mountdir:"C:\WDSTest" /commit

Where in C:\WDSTest it is a test folder to mount the image. (You need to create this folder manually.)

Add it to the WDS to be able to boot using this Capture image.