Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: The "Fatal error during the execution of Sysprep" error witch Unattend

18 Sep 2012   #1
balubeto

Windows 7
 
 
The "Fatal error during the execution of Sysprep" error witch Unattend

Hi

I have Windows 7 SP1 64-bit in Audit mode and I put the Unattend.xml file

Code:
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="generalize">
        <component name="Microsoft-Windows-Security-Licensing-SLC" processorArchitecture="x86" <?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="generalize">
        <component name="Microsoft-Windows-Security-Licensing-SLC" processorArchitecture="x64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <SkipRearm>1</SkipRearm>
        </component>
       <component name="Microsoft-Windows-PnpSysprep" processorArchitecture="x64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
          <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
       </component>
    </settings>
    <settings pass="specialize">
        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <CopyProfile>true</CopyProfile>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</Unattend>
in the c:\windows\panther directory.

Then, I opened the Command Prompt in the c:\windows\system32\sysprep directory, I wrote the sysprep /generalize /oobe /reboot command.

At this point, the error "Fatal error during the execution of Sysprep" is displayed.

In the C:\Windows\System32\sysprep\Panther directory, I found the setupact.log file with this content:

Code:
2012-09-19 10:08:16, Info                  SYSPRP ========================================================
2012-09-19 10:08:16, Info                  SYSPRP ===          Beginning of a new sysprep run          ===
2012-09-19 10:08:16, Info                  SYSPRP ========================================================
2012-09-19 10:08:16, Info       [0x0f004d] SYSPRP The time is now 2012-09-19 10:08:16
2012-09-19 10:08:16, Info       [0x0f004e] SYSPRP Initialized SysPrep log at C:\Windows\System32\sysprep\Panther
2012-09-19 10:08:16, Info       [0x0f0054] SYSPRP ValidateUser:User has required privileges to sysprep machine
2012-09-19 10:08:16, Info       [0x0f007e] SYSPRP FCreateTagFile:Tag file C:\Windows\System32\sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything
2012-09-19 10:08:17, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'GENERALIZE'
2012-09-19 10:08:17, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'OOBE'
2012-09-19 10:08:17, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'REBOOT'
2012-09-19 10:08:17, Info       [0x0f004a] SYSPRP WaitThread:Entering spawned waiting thread
2012-09-19 10:08:17, Error                        [sysprep.exe] UnattendSearchExplicitPath: Found unattend file at [C:\Windows\Panther\unattend.xml] but unable to deserialize it; status = 0x80073714, hrResult = 0x0.
2012-09-19 10:08:17, Error      [0x0f009e] SYSPRP SysprepSearchForUnattend: Failed while searching for unattend file; hr = 0x80073714
2012-09-19 10:08:17, Error      [0x0f00a5] SYSPRP WinMain:Encountered error while searching for unattend file; hr = 0x80073714
2012-09-19 10:08:18, Info       [0x0f004c] SYSPRP WaitThread:Exiting spawned waiting thread
2012-09-19 10:08:18, Info       [0x0f0052] SYSPRP Shutting down SysPrep log
2012-09-19 10:08:18, Info       [0x0f004d] SYSPRP The time is now 2012-09-19 10:08:18
and I found the setuperr.log file with this content:

Code:
2012-09-19 10:08:17, Error                        [sysprep.exe] UnattendSearchExplicitPath: Found unattend file at [C:\Windows\Panther\unattend.xml] but unable to deserialize it; status = 0x80073714, hrResult = 0x0.
2012-09-19 10:08:17, Error      [0x0f009e] SYSPRP SysprepSearchForUnattend: Failed while searching for unattend file; hr = 0x80073714
2012-09-19 10:08:17, Error      [0x0f00a5] SYSPRP WinMain:Encountered error while searching for unattend file; hr = 0x80073714
So, as I do to fix this?

Thanks

Bye


My System SpecsSystem Spec
.
19 Sep 2012   #2
balubeto

Windows 7
 
 

I was wrong encoding to save: I used Unicode encoding instead of UTF-8.

Now, the error:

Could not parse or process the answer file for unattended installation [C:\Windows\Panther\unattend.xml]. The answer file is not valid. Error detected at line 17, column 1 of the answer file.

is displayed. Why is that?

Thanks

Bye
My System SpecsSystem Spec
Reply

 The "Fatal error during the execution of Sysprep" error witch Unattend




Thread Tools




Similar help and support threads
Thread Forum
WMP Server Execution Error,Save "Class not recognised" error, others.
Hey! My father's computer, after running ADWCleaner yesterday, started behaving finicky. At first, Explorer.exe didn't work right. It kept saying "failed to initialize". Following some online guides, I issued regsvr32.exe over every file in the C: drive. This fixed that problem. But other...
General Discussion
Fatal error during installation. hpzsetup.exe wstub "786912" hp d1360
Normally my printer works with the limited basic driver. But, if i install the full software installation, of hp software, it is installed up to 96% and in configuring, it takes long time and came out with this error. How to over come this error. I downloaded the patch for this from hp site as...
Drivers
Sysprep Fatal Error caused by "wevtapi.dll"
Like the title says. I simply want to set my hard drive to OOBE so that I can install it on my new computer set up, but sysprep has a problem with wevtapi.dll . Here is the error log: 2012-09-12 22:20:34, Error SYSPRP LaunchDll:Failure occurred while executing...
Installation & Setup
BSOD help... "video scheduler has experienced unexpected fatal error"
WOW, my computer just bluescreened for the 4th time today... the last one was in the middle of uploading my .zip file. Please help!! Thanks! Running Windows 7 Professional 32-bit, SP1 on a Dell Vostro 1400 Laptop
BSOD Help and Support
Sysprep fatal error
Error SYSPRP LaunchDll:Failure occurred while executing 'C:\Windows\System32\slc.dll,SLReArmWindows', returned error code -1073425657 Error SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = -1073425657 Error SYSPRP WinMain:Hit...
Installation & Setup
"Fatal System Error" when installing Windows 7
Hello, I am new to this forum and hope you guys can help me out with my issue, any help is appreciated. Now, the problem that I am having is that I am trying to install a RTM version of Windows 7 Ultimate onto my pc, and the installation seems to go well but when it gets to the finalizing stage...
Installation & Setup


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 09:04.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App