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

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

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 for2: The "Fatal error during the execution of Sysprep" error witch Unattend
Thread Forum
Sysprep Fatal Error when custom installing General Discussion
Sysprep Fatal Error caused by "wevtapi.dll" Installation & Setup
Substituting the unattend option of sysprep witch an file Installation & Setup
"Fatal error" when attempting to open any saved*.xml file Microsoft Office
BSOD help... "video scheduler has experienced unexpected fatal error" BSOD Help and Support
Sysprep fatal error Installation & Setup
"Fatal System Error" when installing Windows 7 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 12:04 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33