Error message when you use the Sysprep tool on a Windows Vista-based computer: "A fatal error occurred while trying to sysprep the machine"

Article translations Article translations
Article ID: 947212 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

When you use the System Preparation (Sysprep) tool on a Windows Vista-based computer, you may receive the following error message:

A fatal error occurred while trying to sysprep the machine.
Additionally, an error message that resembles the following is logged in the Setuperr.log file:

Date Time, Error [0x0f0073] SYSPRP RunExternalDlls:Not running DLLs; either the machine is in an invalid state or we couldn't update the recorded state, dwRet = 31

CAUSE

This error message is designed to prevent the deployment of a corrupted image. When you run the Sysprep tool, its progress is tracked through each of the phases of Sysprep. Sysprep does not have a way to roll back when it experiences errors.

RESOLUTION

When you experience this error, you must re-create the image. You cannot correct the problem with the image. When the Sysprep tool runs, it clears the %windir%\system32\sysprep\panther\setupact.log file. Therefore, it is not possible to see what failed the last time that the Sysprep tool was run. To see what failed when you last ran the Sysprep tool, you must have a copy of the %windir%\system32\sysprep\panther\setupact.log file that existed before you ran Sysprep.

Note Before you create a new image or run the Sysprep tool again, we recommend that you save the contents of the following folders:
  • %Windir%\Panther
  • %Windir%\System32\Sysprep\Panther
Note Make sure that you save the contents of all the subfolders of these two folders.

Properties

Article ID: 947212 - Last Review: April 21, 2008 - Revision: 2.1
APPLIES TO
  • Windows Vista Enterprise 64-bit Edition
  • Windows Vista Home Basic 64-bit Edition
  • Windows Vista Home Premium 64-bit Edition
  • Windows Vista Ultimate 64-bit Edition
  • Windows Vista Business
  • Windows Vista Business 64-bit Edition
  • Windows Vista Enterprise
  • Windows Vista Home Basic
  • Windows Vista Home Premium
  • Windows Vista Starter
  • Windows Vista Ultimate
Keywords: 
kbtshoot kberrmsg kbexpertisebeginner kbprb KB947212

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com