A fatal error occurred while trying to Sysprep the machine

Error:
The following error was encountered while running SyspREP:
A fatal error occurred while trying to Sysprep the machine
Resolution:
Running command: SLMGR/DLV can discover the Remaining Windows Rearm Count :0
Modify the registry:
HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ SoftwareProtectionPlatform \ SkipRearm set it from 0 to 1
HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus\GeneralizationState sets it from 3 to 7
Run sySPREP again, and if you still report an error, uninstall the reinstall component mSDTC-uninstall, -install
Cause:
When you encapsulate the system with sysprep/commune, the system reduces the number of rearm, and when REARM is 0, the problem that cannot be encapsulated occurs. The default number of Rearm is 3, which means you can only encapsulate 3 times.

Read More: