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

Today I have a problem when I want to create new image using the existing image(old image) in citrix xen server.

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.

Source : (look at for Riffing answer)


  1. Libert · July 9, 2014

    Very helpful!!!

  2. Srikanthegowda A.P · December 24, 2014

    HI, Above steps help for windows 2008 R2 servers.

    Thanks for the information

    • akbaraji · June 15, 2016

      you’re welcome Srikanthegowda.

  3. Mel · January 8, 2015

    Thank you very much! It worked!

  4. Anthony Brian Wall · October 7, 2015

    Genius! Thanks!

  5. Jason Makatea · December 4, 2015

    Thank you so much really appreciate that it worked yay:)

  6. Yetendra · January 22, 2016

    Thanks for sharing. It really helped.

  7. Steven · July 7, 2017

    Great! It’s work! Many thanks!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.