Capture Boot Image Fails with 0xc000000f | WDS | Server 2012

Get the error “0xc000000f” when trying to capture image via WDS .

WIndows failed to start. A recently hardware or software change might be cause. TO fix a problem:

.........................................................................................................

.........................................................................................................

File: \windows\system32\winload.exe

Status: 0xc000000f

Info: The application or operating system couldn't be loaded because a required file is missing or contains error

bootimage.jpg

Why this happen - If you try to create a image of working windows with system, Then The problem may be happen, due to - 1) Unable to read winload.exe,

2) Not be find the winload.exe on directories - %systemDrive%\Windows\System32\boot\winload.exe.

3) May corrupt your winload.exe file.

Solved -

Method 1 - Try to add a fresh boot image (boot.wim) to WDS and create a capture image from that. Then boot from this capture image.

If problem is still there, Then Go to Method 2

Method 2- Mount the capture.wim file using dism.

Step 1 - Log on to WDS server and create a temp directory for mounting the image, Here i am createing “C:\TempMount\

Step 2 - Run command prompt as a administrator rights by right click on cmd.exe and click run as administrator.

Step 3 - To mount the capture boot image file type this command - dism /mount-wim /wimfile:"Path to capturebootimage file" /mountdir:"C:\TempMount\" /index:1

Example - dism /mount-wim /wimfile:E:\RemoteInstall\Boot\x64\Images\WinCapture.wim /mountdir:C:\TempMount /index:1

Step 4 - Unmount by type this command - dism /unmount-wim /mountdir:C:\TempMount /commit

Step 5 - Restart WDS service, Now you will see your problem has gone.

Command prompt example -

C:\>dism /mount-wim /wimfile:E:\RemoteInstall\Boot\x64\Images\WinCapture.wim /mountdir:C:\TempMount /index:1

Deployment Image Servicing and Management tool Version: 6.3.9600.17031 Mounting image [==========================100.0%==========================] The operation completed successfully.

C:\>dism /unmount-wim /mountdir:C:\TempMount /commit

Deployment Image Servicing and Management tool Version: 6.3.9600.17031 Image File : E:\RemoteInstall\Boot\x64\Images\WinCapture.wim Image Index : 1 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully.