Share this article

Improve this guide

A Fatal Error Occurred While Trying to Sysprep the Machine [Fix]

Repair the corrupt system files and Windows image

3 min. read

Updated onMarch 18, 2024

updated onMarch 18, 2024

Share this article

Improve this guide

Read our disclosure page to find out how can you help Windows Report sustain the editorial teamRead more

Key notes

The System Preparation tool is an essential part of the Windows OS and helps in duplicating, testing, and delivering new installations. However, while running it, you may encounterA fatalerroroccurred while trying to sysprep the machine.

Thiserroroccurs if theWindows Software Licensing Rearmprogram has run more than three-time in a single Windows image. Keep reading to find out the solutions!

How do I fix Sysprep’s fatal error?

How do I fix Sysprep’s fatal error?

1. Edit SkipRearm Key

By editing the SkipRearam key, you can fix the Sysprep fatal error issue in Windows. Make sure youcreate a restore pointbefore editing any registry keys.

2. Edit GeneralizationState and CleanupState keys

EditingGenealizationStateandCleanupStateDWORDs can help fixthingsif you seeA fatal error occurred while trying to sysprep the machinewhen runningsysprep /generalize.

3. Run the DISM commands

TheDISM commandshelp repair the system image and can fix things when you receive errors while running theSystem Preparation Tool. You can also go for a specialized tool to simplify this process.

4. Uninstall MSDTC

That’s all! With these quick solutions, you should be able to fix Afatalerroroccurred while trying to sysprep the machinein Windows 7 and Windows 10.

Before you leave, find outhow to use Sysrep in Windows, the various commands, and actions.

Don’t forget to leave any other questions or suggestions that you may have in the comments section below.

More about the topics:error,windows 10

Tashreef Shareef

Tashreef Shareef is a software developer turned tech writer. He discovered his interest in technology after reading a tech magazine accidentally. Now he writes about everything tech from Windows to iOS and streaming services to IoT at WindowsReport.

User forum

0 messages

Sort by:LatestOldestMost Votes

Comment*

Name*

Email*

Commenting as.Not you?

Save information for future comments

Comment

Δ

Tashreef Shareef