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

balubeto

New member
Member
VIP
Local time
7:44 AM
Messages
106
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="[URL]http://schemas.microsoft.com/WMIConfig/2002/State[/URL]" xmlns:xsi="[URL]http://www.w3.org/2001/XMLSchema-instance[/URL]">
            <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="[URL]http://schemas.microsoft.com/WMIConfig/2002/State[/URL]" xmlns:xsi="[URL]http://www.w3.org/2001/XMLSchema-instance[/URL]">
            <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
 
Last edited:

My Computer My Computer

At a glance

Windows 7
OS
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 Computer My Computer

At a glance

Windows 7
OS
Windows 7
Back
Top