Monday, 16 June 2014

Windows 2008 r2 sysprep – A fatal error occurred while trying to sysprep the machine - Windows Could Not parse or process unattend answer file for pass

Windows 2008 r2 sysprep – A fatal error occurred while trying to sysprep the machine 

AND
 Windows Could Not parse or process unattend answer file for pass


When I run sysprep, I found an error message “A Fatal error occurred trying to sysprep the machine”

To solved this problem, I do a this workaround :
  • Change registry key HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus to 7

  • Change HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\SkipRearm to 1
  • And then Delete the folder Panther.

  • And then run sysprep again.


After reboot when the installation  through following error message


"Windows could not parse or process unattend answer file [C:\windows\Panther\unattend.xml] for pass [specialize]. A component or setting specified in the answer file does not exist"
do This:

  1. Press SHIFT+F10 to open a command prompt
  2. type regedit
  3. in registry editor navigate to:
  4. HKLM/SYSTEM/Setup/Status/ChildCompletion
  5. if setup.exe is 1, change it to 3.
  6. restart