// // 2 comments

[Guide] A fatal error occurred while trying to Sysprep the machine


Today While working on System Preparation Tool (Sysprep) in Windows 7, I received the following error message:

Guys you can also try workaround which is for Windows 8 & 8.1.
A fatal error occurred while trying to Sysprep the machine.


After spending quite time I found the soution for the error. And the solution is,
1. Go to Sysprerp folder i.e.  c:\windows\system32\sysprep\Panther
2. Then move or delete all contents of the Panther folder to another folder for backup purpose.
3. Now run the sysprep.exe
For few user’s sysprerp starts by stopping  mediaplayer process running and by uninstalling & installing mstdc. For me everything without success but above steps works 100%.

UPDATE -
1. Go to C:\Windows\System32\Sysprep folder & edit Unattend.xml file & delete skiprearm=1
2. Open Registrey Editor & Set GeneralizationState to 7 under HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus\
3. Open Command Prompt as Adminitrator & run below commands,
msdtc -uninstall 
msdtc -install 
4. Open Registrey Editor & Set SkipRearm to 1 Under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\
5. Try to run Sysprep