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

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 issue occurs because the Sysprep tool tracks its progress through different phases as it runs. If a phase fails, and then you try to run the Sysprep tool again, you may receive this error message to prevent you from creating a corrupted or invalid image.

 

RESOLUTION

Typically, you experience this issue if the image is invalid. Therefore, we recommend that you create a new image.

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.

 


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

——————————————–

Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

 


You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

AddThis Social Bookmark Button

Leave a Reply

*
To prove that you're not a bot, enter this code
Anti-Spam Image