User Tools

Site Tools


microsoft:fix_sysprep

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
microsoft:fix_sysprep [2021/09/27 12:00]
admin
microsoft:fix_sysprep [2021/09/27 12:30] (current)
admin
Line 5: Line 5:
  
 ===== Solution 1: Editing SkipRearm Key ===== ===== 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: 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:
Line 11: Line 10:
   -     Press Windows Key + R to open Run.   -     Press Windows Key + R to open Run.
   -     Type in ‘regedit’ and then hit Enter.   -     Type in ‘regedit’ and then hit Enter.
-  -     In the Windows Registry, navigate to the following location:​HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\+  -     In the Windows Registry, navigate to the following location:<code bash> 
 +HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\ 
 +</​code>​
   -     In the right-hand side pane, locate SkipRearm key and double-click it.   -     In the right-hand side pane, locate SkipRearm key and double-click it.
   -     ​Change its value to 1 and click OK.   -     ​Change its value to 1 and click OK.
Line 23: Line 24:
 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 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
  
-    Press Windows Key + R to open Run. +  -     Press Windows Key + R to open Run. 
-    Type in ‘regedit’ and press Enter. +  ​- ​    Type in ‘regedit’ and press Enter. 
-    Navigate to the following location: +  ​- ​    Navigate to the following location:<code bash> 
- +HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus 
-    ​HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus +</​code>​ 
- +  ​- ​    Double-click the GeneralizationState key. 
-    Double-click the GeneralizationState key. +  ​- ​    Change the value to 7 and click OK. 
-    Change the value to 7 and click OK. +  ​- ​    Then, double-click the **CleanupState** key and set the value to 2. 
-    Then, double-click the CleanupState key and set the value to 2. +  ​- ​    Click OK. 
-    Click OK. +  ​- ​    If there’s no **CleanupState** key, don’t worry, just edit the **GeneralizationState** key. 
-    ​GeneralizationState and CleanupState Keys +  ​- ​    Run sysprep again.
-    ​If there’s no CleanupState key, don’t worry, just edit the GeneralizationState key. +
-    Run sysprep again.+
  
 ===== Solution 3: Uninstall MSDTC ===== ===== Solution 3: Uninstall MSDTC =====
Line 41: Line 40:
 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: 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:
  
-    Press Windows Key + X and select Command Prompt (Admin) from the list to open an elevated command prompt. +  -     Press Windows Key + X and select Command Prompt (Admin) from the list to open an elevated command prompt. 
-    Type in the following and then press enter: +  ​- ​    Type in the following and then press enter: ​<code bash> 
- +msdtc -uninstall 
-    ​msdtc -uninstall +</​code>​ 
- +  ​- ​    This will uninstall the service. Now to install it again, type in: <code bash> 
-    This will uninstall the service. Now to install it again, type in: +msdtc -install 
- +</​code> ​Reinstalling MSDTC...This will install the service again. 
-    ​msdtc -install +  -     Run sysprep again.
- +
-    ​Reinstalling MSDTC +
-    ​This will install the service again. Run sysprep again.+
microsoft/fix_sysprep.1632736839.txt.gz · Last modified: 2021/09/27 12:00 by admin