Sysprep w/Unattended.xml


  1. Posts : 3
    W10
       #1

    Sysprep w/Unattended.xml


    Hi, I am hoping maybe someone can assist me with this.

    I am building a windows 10 pro, 1803 image. The source is a premade with a volume MAK. The sysprep was successful.

    However, the issue is I am having problems with the unattended.xml file. All I need is the ability to bypass the OOBE. I've attempted three unattended.xml launched via the sysprep command line from audit.

    Three different failures.

    This resulted in a black screen with a recovery partition creating winre.wim, and hanging.

    The OOBE begins, but then gives me the "restart to download update" error

    Finally, just hanging at "Just Wait A moment"

    Please help....


    Here's my current unattended.xml

    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="oobeSystem">
    <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">
    <OEMInformation>
    <Manufacturer>Purolator</Manufacturer>
    </OEMInformation>
    <OOBE>
    <HideEULAPage>true</HideEULAPage>
    <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
    <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
    <ProtectYourPC>3</ProtectYourPC>
    <UnattendEnableRetailDemo>false</UnattendEnableRetailDemo>
    <HideLocalAccountScreen>true</HideLocalAccountScreen>
    <HideWirelessSetupInOOBE>false</HideWirelessSetupInOOBE>
    </OOBE>
    <UserAccounts>
    <LocalAccounts>
    <LocalAccount wcm:action="add">
    <Password>
    <Value>RQBTAFMAUAB1AHIAMAAhAFAAYQBzAHMAdwBvAHIAZAA=</Value>
    <PlainText>false</PlainText>
    </Password>
    <Description>Puro Admin</Description>
    <DisplayName>Administrator</DisplayName>
    <Group>Administrators</Group>
    <Name>Administrator</Name>
    </LocalAccount>
    </LocalAccounts>
    </UserAccounts>
    <RegisteredOrganization>Purolator</RegisteredOrganization>
    <RegisteredOwner>Purolator</RegisteredOwner>
    <TimeZone>Central Standard Time</TimeZone>
    </component>
    <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">
    <SystemLocale>Canada</SystemLocale>
    <UILanguage>English</UILanguage>
    <InputLocale>EN-US</InputLocale>
    <UserLocale>en-US</UserLocale>
    </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">
    <OEMInformation>
    <Manufacturer>Purolator</Manufacturer>
    </OEMInformation>
    <OEMName>Purolator</OEMName>
    <RegisteredOrganization>Purolator Inc</RegisteredOrganization>
    <RegisteredOwner>Purolator</RegisteredOwner>
    <TimeZone>Central Standard Time</TimeZone>
    <CopyProfile>false</CopyProfile>
    <ComputerName></ComputerName>
    </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:c:/users/thefu/desktop/esd2wim-wim2esd-v2/install.wim#Windows 10 Pro" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>
      My Computer


  2. Posts : 17,661
    Windows 10 Pro
       #2

    Reading your answer file, I noticed these settings that are definitely wrong:

    <SystemLocale>Canada</SystemLocale>
    <UILanguage>English</UILanguage>


    SystemLocale is given as xx-YY, where xx is language and YY is region. In your case, that should be en-CA, or in hexa code 1009:00000409. It means US English in Canada.

    The same applies to UILanguage, in your case you should use value en-US.

    Other than that, there seems to be no obvious errors. Here's a tutorial about how to create answer files: Create media for automated unattended install of Windows 10 | Tutorials

    Kari
      My Computer


  3. Posts : 3
    W10
    Thread Starter
       #3

    Thanks Kari

    I've rebuilt the file. With the tutorial and your information.

    I've checked the tutorial and reviewed my steps. It still oddly sits on the "Just wait a moment" screen, until I hard boot the machine, then it seems to work.

    ---

    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="oobeSystem">
    <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">
    <OEMInformation>
    <Manufacturer>Purolator</Manufacturer>
    </OEMInformation>
    <OOBE>
    <HideEULAPage>true</HideEULAPage>
    <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
    <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
    <ProtectYourPC>3</ProtectYourPC>
    <HideLocalAccountScreen>true</HideLocalAccountScreen>
    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
    <UnattendEnableRetailDemo>false</UnattendEnableRetailDemo>
    </OOBE>
    <UserAccounts>
    <LocalAccounts>
    <LocalAccount wcm:action="add">
    <Password>
    <Value>RQBTAFMAUAB1AHIAMAAhAFAAYQBzAHMAdwBvAHIAZAA=</Value>
    <PlainText>false</PlainText>
    </Password>
    <Description>Puro Admin</Description>
    <DisplayName>Administrator</DisplayName>
    <Group>Administrators</Group>
    <Name>Administrator</Name>
    </LocalAccount>
    </LocalAccounts>
    </UserAccounts>
    <RegisteredOrganization>Purolator</RegisteredOrganization>
    <RegisteredOwner>Purolator</RegisteredOwner>
    <TimeZone>Central Standard Time</TimeZone>
    </component>
    <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">
    <SystemLocale>en-CA</SystemLocale>
    <UILanguage>en-US</UILanguage>
    <InputLocale>en-US</InputLocale>
    <UserLocale>en-US</UserLocale>
    </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">
    <OEMInformation>
    <Manufacturer>Purolator</Manufacturer>
    </OEMInformation>
    <OEMName>Purolator</OEMName>
    <RegisteredOrganization>Purolator Inc</RegisteredOrganization>
    <RegisteredOwner>Purolator</RegisteredOwner>
    <TimeZone>Central Standard Time</TimeZone>
    <CopyProfile>false</CopyProfile>
    <ComputerName></ComputerName>
    </component>
    </settings>
    <cpifflineImage cpi:source="wim:c:/users/thefu/desktop/esd2wim-wim2esd-v2/install.wim#Windows 10 Pro" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>
    Last edited by MuseDriven; 16 Nov 2018 at 22:17.
      My Computer


  4. Posts : 35
    Windows 10
       #4

    I had a problem and was unable to create images on 1803, it does nto allow me to do so as its not a full update or something, I had to sysprep before updating to 1803 and then sysprep, which is a pain to updated every machine when I need them.. maybe its changed? this was 2 months ago
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 03:29.
Find Us




Windows 10 Forums