The "Fatal error during the execution of Sysprep" error witch Unattend.xml file

Discussion in 'Windows 7' started by balubeto, Sep 18, 2012.

  1. balubeto

    balubeto MDL Senior Member

    Dec 22, 2009
    465
    9
    10
    #1 balubeto, Sep 18, 2012
    Last edited by a moderator: Apr 20, 2017
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. gearman

    gearman MDL Novice

    Sep 12, 2009
    35
    7
    0
    Sysprep will generate an error log file in panther.Check it for an error concerning this: drmv2clt.dll
    This is caused by Windows Media Player Network Service. Go to services, then stop "Windows Media Player Network Sharing" and try again.
    There could be other reasons but this is most common.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. balubeto

    balubeto MDL Senior Member

    Dec 22, 2009
    465
    9
    10
    #3 balubeto, Sep 19, 2012
    Last edited by a moderator: Apr 20, 2017
    (OP)
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. NICK@NUMBER11

    NICK@NUMBER11 MDL Expert

    Mar 23, 2010
    1,354
    633
    60
    just type "net stop WMPNetworkSvc" with a command prompt to kill the service BEFORE you start sysprep...
     
  5. balubeto

    balubeto MDL Senior Member

    Dec 22, 2009
    465
    9
    10
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. urie

    urie Moderator
    Staff Member

    May 21, 2007
    8,709
    3,066
    300
    If I was a mind reader I could tell you :D but without seeing the unattend.xml no one can help.
     
  7. balubeto

    balubeto MDL Senior Member

    Dec 22, 2009
    465
    9
    10
    #7 balubeto, Sep 20, 2012
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. HALIKUS

    HALIKUS MDL Addicted

    Jul 29, 2009
    527
    369
    30
    #8 HALIKUS, Sep 20, 2012
    Last edited by a moderator: Apr 20, 2017
  9. balubeto

    balubeto MDL Senior Member

    Dec 22, 2009
    465
    9
    10
    #9 balubeto, Sep 21, 2012
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. balubeto

    balubeto MDL Senior Member

    Dec 22, 2009
    465
    9
    10
    #10 balubeto, Sep 22, 2012
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...