SCCM capture of Windows 8 fails during Sysprep stage – Fatal error occurred while trying to sysprep the machine

sccm logo 600x400

Last updated on March 30th, 2023 at 05:19 pm

Read Time:2 Minute, 18 Second

I’ve recently been trying to create a custom built Windows 8 image for future deployment using SCCM 2012 SP1. I built a clean Windows 8 base image and then installed all the programs that I wanted on the image and then run Windows Update.

I made some changes to the Metro front screen and updated, added and removed some apps using the Windows Store. Once I was happy with the build, I mounted the SCCM capture ISO and started the usual capture process.

However, when the process got to the Sysprep stage, it failed with the standard unhelpful Microsoft generic error code and message like the one below:

SCCM capture of Windows 8 fails during Sysprep stage - Fatal error occurred while trying to sysprep the machine 1

I started to look on the internet for a solution but there are so many mis-directions with this problem including trying the following:

  • Make changes to the registry
  • Change the re-arm settings
  • Deleting the user account and creating a new one
  • Manually sysprep the machine

There were many more but not one of these solutions worked so I’d suggest that you avoid all the above to avoid wasting more valuable time!

Something you may get if you do run the sysprep manually is an error like the one below:

SCCM capture of Windows 8 fails during Sysprep stage - Fatal error occurred while trying to sysprep the machine 2

Basically there is a reason the sysprep is failing and the reason can be found in your sysprep log files after a failed sysprep. You can find the following file:

setuperr.log

In a location around (may vary on your machine):

C:\Windows\System32\Sysprep\Panther

In there, you will find any errors that are stopping the sysprep from completing. In my case, the simple error was that the metro apps on my base image were not “generic” as I had updated, removed and amended them making them individual to the local administrator account.

The big problem with this is that no matter how many of the above methods I tried to fix this, they didn’t work and ended up making a complete mess of the base image I had created.

So, the solution to this problem is that you should not make any changes to the apps on the Windows 8 Metro. Updating, removing, adding or even OPENING one of these apps (you can open the Desktop!) will make your Sysprep fail.

I decided to start my base image again, but this time did not go anywhere near the Metro or apps, just installed Windows 8, put my custom software on the machine and ran the SCCM capture ISO again – this time it ran all the way through perfectly and I’ve been using this captured image for the last few days on a number of different machines.

If you have any questions or require any help, please leave a comment and I’ll get back to you when I can.

Click to rate this post!
[Total: 0 Average: 0]

Free Subscription

If you want to be notified when we post more quality guides like this one, sign up to our free subscription service and you will receive an email when a new post is live.

Join 441 other subscribers.

No need to worry, we will not be filling your inbox with spam and you can unsubscribe anytime you like.


Leave us a message...

This site uses Akismet to reduce spam. Learn how your comment data is processed.