1. Open Windows Registry Editor. To do that:
2. Inside Windows Registry, navigate (from the left pane) to this key:
HKEY_LOCAL_MACHINE\System\Setup\Status\SysprepStatus
3a. At the right pane change the CleanupState value to 2 and click OK.
3b. Change the GeneralizationState value to 7 and click OK.
4. At the left pane navigate to the following key:
HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\SoftwareProtectionPlatform
5. At the right pane, change the SkipRearm value to 1.
6. Close Registry Editor.
1. Open command prompt with Administrative privileges. To do that:
In Windows 7 & Vista go to:
In Windows 10, 8 & 8.1:
2. In command prompt window type the following command and press Enter to uninstall the MSDTC service:
msdtc –uninstall
3. Then re-install the MSDTC service by typing the following command (and press Enter).
msdtc –install
4. Close command prompt.
1. Open Windows Explorer and navigate to C:Windows\System32\sysprep folder.
2. Delete (or Rename) the Panther folder.
3. Now run sysprep again. Sysprep should run now without any problems.