User Tools

Site Tools


Sidebar

microsoft:fix_sysprep

Fix Sysprep

Now, to fix your issue you can use the following solutions. There are a few solutions to this error which include Registry modification etc., therefore, make sure to follow the instructions carefully in order to avoid any mistakes which can potentially result in something critical.

Solution 1: Editing SkipRearm Key

To fix the issue, you can try to edit the SkipRearm key found in the Windows Registry and then run sysprep again. Here’s how to do it:

  1. Press Windows Key + R to open Run.
  2. Type in ‘regedit’ and then hit Enter.
  3. In the Windows Registry, navigate to the following location:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\
  4. In the right-hand side pane, locate SkipRearm key and double-click it.
  5. Change its value to 1 and click OK.
  6. Changing the SkipRearm Value to 1

Solution 2: Editing GeneralizationState and CleanupState Key

Another way of fixing the issue would be to edit a specific entry in the Windows Registry. The error occurs when sysrep GeneralizationState key is set to 9 in the Windows Registry. Therefore, you will have to change the value. Here’s how to do it:

PRO TIP: If the issue is with your computer or a laptop/notebook you should try using Restoro Repair which can scan the repositories and replace corrupt and missing files. This works in most cases, where the issue is originated due to a system corruption. You can download Restoro by Clicking Here

  1. Press Windows Key + R to open Run.
  2. Type in ‘regedit’ and press Enter.
  3. Navigate to the following location:
    HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus
  4. Double-click the GeneralizationState key.
  5. Change the value to 7 and click OK.
  6. Then, double-click the CleanupState key and set the value to 2.
  7. Click OK.
  8. If there’s no CleanupState key, don’t worry, just edit the GeneralizationState key.
  9. Run sysprep again.

Solution 3: Uninstall MSDTC

Lastly, if the issue doesn’t fix even after changing the GeneralizationState key value, you will have to uninstall MSDTC and then reinstall it. Here’s how to do it:

  1. Press Windows Key + X and select Command Prompt (Admin) from the list to open an elevated command prompt.
  2. Type in the following and then press enter:
    msdtc -uninstall
  3. This will uninstall the service. Now to install it again, type in:
    msdtc -install

    Reinstalling MSDTC…This will install the service again.

  4. Run sysprep again.
microsoft/fix_sysprep.txt · Last modified: 2021/09/27 12:30 by admin