SysPrep Help?

Page 1 of 2 12 LastLast

  1. Posts : 225
    windows 7 professional x32
       #1

    SysPrep Help?


    I made a sysprep file with Windows WAK and it giving us issues.

    We get a "A fatal error occurred while trying to sysprep the machine."

    This happens when it is "Processing cleanup phase Sysprep plugins..."

    Here is our file.

    <?xml version="1.0" encoding="UTF-8"?>
    -<unattend xmlns="urn:schemas-microsoft-com:unattend">-<settings pass="oobeSystem">-<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="46" name="Microsoft-Windows-International-Core"><InputLocale>en-US</InputLocale><SystemLocale>en-US</SystemLocale><UILanguage>en-US</UILanguage><UILanguageFallback>en-US</UILanguageFallback><UserLocale>en-US</UserLocale></component>-<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="46" name="Microsoft-Windows-Shell-Setup">-<OOBE><HideEULAPage>true</HideEULAPage><NetworkLocation>Work</NetworkLocation><ProtectYourPC>1</ProtectYourPC></OOBE>-<UserAccounts>-<LocalAccounts>-<LocalAccount wcm:action="add">-<Password><Value>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXValue><PlainText>false</PlainText></Password><Description>Win 7 Local Account</Description><DisplayName>Admin</DisplayName><Group>administrators</Group><Name>Admin</Name></LocalAccount></LocalAccounts></UserAccounts><TimeZone>Eastern Standard Time</TimeZone><copyprofile>true</copyprofile></component></settings>-<settings pass="specialize">-<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="46" name="Microsoft-Windows-Shell-Setup"><ProductKey>XXXX-XXXX-XXXX-XXXX-XXXX</ProductKey></component></settings><cpifflineImage xmlns:cpi="urn:schemas-microsoft-com:cpi" cpi:source="wim:c:/windows%20sysprep%20thing/install.wim#Windows 7 PROFESSIONAL"/></unattend>
    Last edited by z3r010; 04 Apr 2013 at 15:04. Reason: removed key
      My Computer


  2. Posts : 2,528
    Windows 10 Pro x64
       #2

    When you validate the XML in the WSIM, does the XML validate successfully and without errors?
      My Computer


  3. Posts : 6,830
    Windows 7 Ultimate 32-Bit & Windows 7 Ultimate 64-Bit
       #3

    Zman

    Try this

    type net stop WMPNetworkSvc in command prompt to kill the service BEFORE you start sysprep

    This is wrong processorArchitecture="46" it's suppose to be processorArchitecture="amd64"

       Tip
    Hide your Product Key so no one will take it when you upload your unattended.xml files to forums. You could put Xs inplace of the real key .
      My Computer


  4. Posts : 225
    windows 7 professional x32
    Thread Starter
       #4

    ahh I try that and see what happen thanks
      My Computer


  5. Posts : 6,830
    Windows 7 Ultimate 32-Bit & Windows 7 Ultimate 64-Bit
       #5

    Let me know how it goes
      My Computer


  6. Posts : 225
    windows 7 professional x32
    Thread Starter
       #6

    Me and a coworker try a different sysprep. We have it working to the letter but it is not progress the script to join it to the domain as it states from this site. Sysprep a Windows 7 Machine
    Any ideas?
    Sysprep
    ----------------------

    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="oobeSystem">
    <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <InputLocale>en-US</InputLocale>
    <SystemLocale>en-US</SystemLocale>
    <UILanguage>en-US</UILanguage>
    <UILanguageFallback>en-US</UILanguageFallback>
    <UserLocale>en-US</UserLocale>
    </component>
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <OOBE>
    <HideEULAPage>true</HideEULAPage>
    <NetworkLocation>Work</NetworkLocation>
    <ProtectYourPC>3</ProtectYourPC>
    </OOBE>
    <UserAccounts>
    <LocalAccounts>
    <LocalAccount wcm:action="add">
    <Password>
    <Value>TgB5AHMAVABlAGMAaAAxACEAUABhAHMAcwB3AG8AcgBkAA==</Value>
    <PlainText>false</PlainText>
    </Password>
    <Description>Local Administrator</Description>
    <DisplayName>Admin</DisplayName>
    <Group>administrators</Group>
    <Name>Admin</Name>
    </LocalAccount>
    </LocalAccounts>
    </UserAccounts>
    <TimeZone>Eastern Standard Time</TimeZone>
    </component>
    </settings>
    <settings pass="specialize">
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <ProductKey>Zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz</ProductKey>
    <CopyProfile>true</CopyProfile>
    </component>
    </settings>
    <cpifflineImage cpi:source="wim:c:/windows%20sysprep%20thing%2064bit/install.wim#Windows 7 PROFESSIONAL" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>
      My Computer


  7. Posts : 6,830
    Windows 7 Ultimate 32-Bit & Windows 7 Ultimate 64-Bit
       #7

    Try this

    Start up Windows SIM and in the components section of Windows Image, expand the section called
    Microsoft-Windows-UnattendedJoin right-click it and choose Add Setting to Pass 4 Specialize

    in the Answer File pane, click on the newly added setting and expand it, select Identification and enter the Domain name in the JoinDomain value.

       Note
    In addition, if you want to log domain join failures (logs to c:\windows\panther\unattendGC\) then set the DebugJoin option from false to true
      My Computer


  8. Posts : 225
    windows 7 professional x32
    Thread Starter
       #8

    VistaKing said:
    Try this

    Start up Windows SIM and in the components section of Windows Image, expand the section called
    Microsoft-Windows-UnattendedJoin right-click it and choose Add Setting to Pass 4 Specialize

    in the Answer File pane, click on the newly added setting and expand it, select Identification and enter the Domain name in the JoinDomain value.

       Note
    In addition, if you want to log domain join failures (logs to c:\windows\panther\unattendGC\) then set the DebugJoin option from false to true
    Alright we try that and get back to you in about an hour.
    Lunch time :P
      My Computer


  9. Posts : 6,830
    Windows 7 Ultimate 32-Bit & Windows 7 Ultimate 64-Bit
       #9

    Will be waiting for the results
      My Computer


  10. Posts : 225
    windows 7 professional x32
    Thread Starter
       #10

    Still working on it. Just been a busy day will up date tomorrow.
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About 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 20:33.
Find Us