Windows 10: Unattended setup (Sysprep & unattend.xml) is not working for me

Discus and support Unattended setup (Sysprep & unattend.xml) is not working for me in Windows 10 Installation and Upgrade to solve the problem; I've been trying to create a customized Win10 Pro (Build 1903) install image for the last week or so. No matter how many tutorials I follow, answer... Discussion in 'Windows 10 Installation and Upgrade' started by nomaxtech, Oct 20, 2019.

  1. nomaxtech Win User

    Unattended setup (Sysprep & unattend.xml) is not working for me


    I've been trying to create a customized Win10 Pro (Build 1903) install image for the last week or so. No matter how many tutorials I follow, answer files I create, or installs I perform, I just cannot get it to work properly. Every time I go to install Windows from my custom image file, Setup still

    • Asks my language, time and currency, and keyboard layout
    • Whether I want to actually install or repair my computer
    • Prompts me for the product key
    • Forces me to accept the EULA
    • Gives me the option for "Upgrade" or "Custom" install
    • Makes me choose which hard disk to install to

    I want my answer file to take care of all of this so our technicians who deploy it don't have to concern themselves with it.

    I've followed tutorials on Ten Forums, Win10Guru, docs.microsoft.com, and many others. I've made my own with the Windows System Image Manager and I've used the Answer File Generator online. I've copied and pasted others I've found online. Nothing seems to work. Now, my most recent answer file, generated completely by the official WSIM, crashes Setup altogether. It says it cannot parse or process the file for oobeSystem and mentions component Microsoft-Windows-Shell-Setup.

    Here's my answer file:

    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="windowsPE">
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
    <SetupUILanguage>
    <UILanguage>en-US</UILanguage>
    </SetupUILanguage>
    <InputLocale>0409:00000409</InputLocale>
    <SystemLocale>en-US</SystemLocale>
    <UILanguage>en-US</UILanguage>
    <UILanguageFallback>en-US</UILanguageFallback>
    <UserLocale>en-US</UserLocale>
    </component>
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
    <ImageInstall>
    <OSImage>
    <InstallTo>
    <DiskID>0</DiskID>
    <PartitionID>4</PartitionID>
    </InstallTo>
    </OSImage>
    </ImageInstall>
    <DiskConfiguration>
    <Disk wcm:action="add">
    <CreatePartitions>
    <CreatePartition wcm:action="add">
    <Order>1</Order>
    <Size>450</Size>
    <Type>Primary</Type>
    </CreatePartition>
    <CreatePartition wcm:action="add">
    <Order>2</Order>
    <Size>100</Size>
    <Type>EFI</Type>
    </CreatePartition>
    <CreatePartition wcm:action="add">
    <Order>3</Order>
    <Size>16</Size>
    <Type>MSR</Type>
    </CreatePartition>
    <CreatePartition wcm:action="add">
    <Order>4</Order>
    <Type>Primary</Type>
    </CreatePartition>
    </CreatePartitions>
    <ModifyPartitions>
    <ModifyPartition wcm:action="add">
    <Format>NTFS</Format>
    <Label>WinRE</Label>
    <Order>1</Order>
    <PartitionID>1</PartitionID>
    <TypeID>DE94BBA4-06D1-4D40-A16A-BFD50179D6AC</TypeID>
    </ModifyPartition>
    <ModifyPartition wcm:action="add">
    <Format>FAT32</Format>
    <Label>System</Label>
    <Order>2</Order>
    <PartitionID>2</PartitionID>
    </ModifyPartition>
    <ModifyPartition wcm:action="add">
    <Order>3</Order>
    <PartitionID>3</PartitionID>
    </ModifyPartition>
    <ModifyPartition wcm:action="add">
    <Format>NTFS</Format>
    <Label>Windows</Label>
    <Letter>C</Letter>
    <Order>4</Order>
    <PartitionID>4</PartitionID>
    </ModifyPartition>
    </ModifyPartitions>
    <DiskID>0</DiskID>
    <WillWipeDisk>true</WillWipeDisk>
    </Disk>
    </DiskConfiguration>
    <UserData>
    <ProductKey>
    <Key>VK7JG-NPHTM-C97JM-9MPGT-3V66T</Key>
    <WillShowUI>OnError</WillShowUI>
    </ProductKey>
    <AcceptEula>true</AcceptEula>
    <FullName>**********</FullName>
    <Organization>**********</Organization>
    </UserData>
    </component>
    </settings>
    <settings pass="oobeSystem">
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
    <InputLocale>0409:00000409</InputLocale>
    <SystemLocale>en-US</SystemLocale>
    <UILanguage>en-US</UILanguage>
    <UILanguageFallback>en-US</UILanguageFallback>
    <UserLocale>en-US</UserLocale>
    </component>
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
    <AutoLogon>
    <Password/>
    </AutoLogon>
    <ClientApplications/>
    <DesktopOptimization/>
    <Display/>
    <FirstLogonCommands/>
    <FolderLocations/>
    <LogonCommands/>
    <OEMInformation/>
    <OEMWelcomeCenter/>
    <OEMWelcomeCenterLinks/>
    <OOBE>
    <VMModeOptimizations>
    <SkipAdministratorProfileRemoval>false</SkipAdministratorProfileRemoval>
    </VMModeOptimizations>
    <HideEULAPage>true</HideEULAPage>
    <HideLocalAccountScreen>true</HideLocalAccountScreen>
    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
    <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
    <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
    <ProtectYourPC>1</ProtectYourPC>
    <UnattendEnableRetailDemo>false</UnattendEnableRetailDemo>
    </OOBE>
    <UserAccounts>
    <AdministratorPassword>
    <Value>
    **********
    </Value>
    <PlainText>false</PlainText>
    </AdministratorPassword>
    <LocalAccounts>
    <LocalAccount wcm:action="add">
    <Password>
    <Value>**********</Value>
    <PlainText>false</PlainText>
    </Password>
    <Description>Administrator Account</Description>
    <DisplayName>Installer</DisplayName>
    <Group>Administrators</Group>
    <Name>Installer</Name>
    </LocalAccount>
    </LocalAccounts>
    </UserAccounts>
    <VisualEffects/>
    <WindowsFeatures/>
    </component>
    </settings>
    <settings pass="specialize">
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
    <OEMInformation/>
    <CopyProfile>true</CopyProfile>
    <ComputerName>*</ComputerName>
    <OEMName>**********</OEMName>
    <RegisteredOrganization>**********</RegisteredOrganization>
    <RegisteredOwner>**********</RegisteredOwner>
    <TimeZone>035</TimeZone>
    </component>
    </settings>
    <cpiUnattended setup (Sysprep & unattend.xml) is not working for me :eek:fflineImage xmlns:cpi="urn:schemas-microsoft-com:cpi" cpi:source="wim://nmx-lt/my%20stuffwin10cm/iso_files/sources/install.wim#Nomax_Win10"/>
    </unattend>

    Any ideas on what I'm doing wrong??

    :)
     
    nomaxtech, Oct 20, 2019
    #1

  2. Unattend xml File....

    hiiii

    i would like to install windows via WDS Server. How To Create Unattend .XML File in Server 2012......

    Regard

    Mohit
     
    Mohit Bahirat, Oct 20, 2019
    #2
  3. SkyNet3 Win User
    Windows 10 XML file generator for unattended setup


    Anyone ran across a Windows 10 XML file generator for unattended setup? That Works!!!*Biggrin
     
    SkyNet3, Oct 20, 2019
    #3
  4. smokin Win User

    Unattended setup (Sysprep & unattend.xml) is not working for me

    smokin, Oct 20, 2019
    #4
Thema:

Unattended setup (Sysprep & unattend.xml) is not working for me

Loading...
  1. Unattended setup (Sysprep & unattend.xml) is not working for me - Similar Threads - Unattended setup Sysprep

  2. Win10 Pro x64 Ver 2004 Sysprep Unattend Problems

    in Windows 10 Installation and Upgrade
    Win10 Pro x64 Ver 2004 Sysprep Unattend Problems: Hello, I'm having issues with doing an unattend sysprep file on the Win10 Pro x64 Version 2004 (Build 19041). I had a working version of the file for the Win10 Pro x641607 version (Build 14393) I used Kari's Win10 Audit Mode with Sysprep tutorial (for both). The machine...
  3. Unattended sleep timer stopped working

    in Windows 10 Performance & Maintenance
    Unattended sleep timer stopped working: I have a Windows 10 Pro installation that has the Unattended Sleep Timeout value set visible in Power settings and a timeout value of 10mins. The computer has a scheduled task to wake at 05:00 each day and perform a backup which takes about 3-4 minutes. For the past year...
  4. Sysprep unattend first logon command error

    in Windows 10 Installation and Upgrade
    Sysprep unattend first logon command error: Hello, I am trying to create admin user that has "Password never expires" option with Unattend.xml. As I understand this can not be done while Sysprep, but rather on first log on. Therefore I wrote an Unattend.xml which looks like this: <?xml version="1.0"...
  5. unattended access history

    in AntiVirus, Firewalls and System Security
    unattended access history: I saw a blue icon with a cross in it and it says when opened Technical support unattended access history. does this mean someone hacked into my PC and has access?...
  6. Unattend File

    in Windows 10 Installation and Upgrade
    Unattend File: Hi, I'm using WDS with Unattend File to deploy Win 10 to my VMs. It works fine, but the problem is, after the installation, the VM restarts and then boots from PXE again. (Basically, it's an infinite loop of Win 10 Installation because of the restart). What options do I have...
  7. unattend xml not wiping drives / unable to create primary

    in Windows 10 Drivers and Hardware
    unattend xml not wiping drives / unable to create primary: I'm having an issue where the paritions are created, but something goes wrong and then I have to format the primary drive to install windows onto. It's a UEFI config, does anyone have any suggestions? 109354
  8. office 2016 unattend

    in Microsoft Office and 365
    office 2016 unattend: Guys, I need to create an unattend file for office 2016. I dont want others too see the lcience key.I tried using Microsoft Office Customization Tool but somehow i dont know how to get the msp file running. Anyone with some advice? Thanks. 94128
  9. Windows 10 XML file generator for unattended setup

    in Windows 10 Installation and Upgrade
    Windows 10 XML file generator for unattended setup: Anyone ran across a Windows 10 XML file generator for unattended setup? That Works!!!*Biggrin 5106
  10. Surface Pro 4 Unattended Sysprep Issue

    in Windows 10 Installation and Upgrade
    Surface Pro 4 Unattended Sysprep Issue: Hi Guys, Im attempting create an unattended sysprep windows 10 installation (1607) for the Surface Pro 4 using a USB and WinPE. I dont have the current script with me but the process is roughly the following; Install win 10 - audit mode Generate an unattend.xml using...

Users found this page by searching for:

  1. anttendet <value>==</value> <plaintext>false</plaintext>

    ,
  2. windows 10 1903 answer file generator