SCCM Capture “A fatal error occurred while trying to sysprep the machine.”


Yesterday I ran into a weird issue when I tried to capture a Windows 10 image with sccm.

‘A fatal error occurred while trying to sysprep the machine.’

Let’s check the logfile: c:\windows\system32\sysprep\panther\setuperr.log

Hmm, the problem is related with one of the built-in application.
I didnt want to remove these apps.

In this Windows installation, the local username created for first time was ‘User’

In this time, I had an idea…what if local username was the problem?

Immediately I installed another image where the local username was ‘SCCM’. Test with sysprep…bamm, sysprep ran without error!


Wrapping up: do not use built-in usernames like ‘user’ or ‘administartor’ etc. Local username should be unique