If you see an error message that says "A fatal error occurred while attempting to sysprep the machine“, It means there was a problem running the System Preparation Tool. It is a tool that is a crucial part of the Windows operating system and helps the platform create duplicates, run tests and perform new installations.
The error apparently appears when the Windows software licensing tool or Rearm command has been run three or more times on a single window image.
So, let's see how to solve this problem.
Method 1: Changing the SkipRearm Key in Registry Editor
Step 1: press the Windows + R keys together on the keyboard to open the file run I send. Now Write regedit in the search field and press ok to open the file Registry Editor window.
Step 2: A Registry Editor window, go to the following path:
Now, on the right side of the panel, find and select the file SkipRearm key.
Step 3: Double click on the file SkipRearm key to open yours Edit DWORD (32-bit) value the dialog box. Now go to Valuable data field and set the value to 1.
print ok to save changes and exit.
Now restart your PC and the error should go away. But if the problem persists, try the second method.
Method 2: Changing the GeneralizationState and CleanupState keys in Registry Editor
Step 1: Follow Step 1 da 1 method to open the file Registry Editor window. Now, in the log window, go to the following path:
Go to the right side of the panel and select State of generalization key.
Step 2: Double click on the file State of generalization key to open the file Edit DWORD (32-bit) value the dialog box.
Now, change the file Valuable data to 7 and press ok to save changes and exit.
Step 3: Now back in Registry Editor window, right-click the blank area on the right side, select New in the context menu and click Valore DWORd (32 bit).
Step 4: Now give the file a name New value similar field State of cleanliness.
Step 5: Double click on State of cleanliness key to open the file Edit DWORD (32-bit) value the dialog box.
Now, change the file Valuable data to 2 and press ok to save changes and exit.
Restart your PC for the changes to take effect. If that also doesn't work, try the third method.
Method 3: Using Command Prompt
Step 1: Go to Home button up your desk and type Symbol of the system in the search field. Right-click on the result and select Run as administrator Open Symbol of the system in administrator mode.
Step 2: A Symbol of the system , type the two commands below one by one and press Log in whenever.
Now exit the file Symbol of the system window, restart your computer and the error will disappear.