WDS: 2012R2 capture boot image (0xc000000f)

This blog is about the usage of a Windows Server 2012R2 boot.wim file to create a 2012R2 capture boot image.

When you use Windows Deployment Services and use the boot.wim from the installation DVD, you’ll get the stop error 0xc000000f
Indicating that \Windows\System32\boot\winload.exe could not be loaded.

Microsoft doesn’t have a fix or solution released for it now, but if you follow this workaround you’ll get a perfectly working 2012R2 capture image.

– logon to your WDS server.
– start a command box
– enter the command:

dism /mount-wim /wimfile:D:\RemoteInstall\Boot\x64\Images\[capture-filename].wim /mountdir:D:\MountFolder /Index:1

[capture-filename] = the name of the WDS created capture wim file
The mountfolder can be any empty folder on any drive, d:\MountFolder is just an example.

Okay, after you succesfully mounted the image, you can now unmount it.

dism /unmount-wim /mountdir:D:\MountFolder /commit

**  You’ll understand that the mountfolder from the first command should be the same as the mountfolder in the second command

After both commands are completed, you can now use the capture image without any stop error!