WDS - configuring the unattended install correctly  


  1. Posts : 8
    10
       #1

    WDS - configuring the unattended install correctly


    Hi Everyone,

    I have been struggling trying to get this going now and I have been working on this for about a month now (on and off) with little progress.

    My goals for the unattended install are as follows:

    - not have to enter admin credentials to proceed with the install
    - enable the admin account and not create a local account at all (possible or only half of this can be done?)
    - Not have to click next on my install (currently it by passes license agreement and product key only)..i.e. it just loads and begins configuring and installing

    Current XML file:

    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="windowsPE">
    <component name="Microsoft-Windows-International-Core-WinPE" 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">
    <SetupUILanguage>
    <UILanguage>en-US</UILanguage>
    <WillShowUI>Never</WillShowUI>
    </SetupUILanguage>
    <InputLocale>en-US</InputLocale>
    <SystemLocale>en-US</SystemLocale>
    <UILanguage>en-US</UILanguage>
    <UserLocale>en-US</UserLocale>
    </component>
    <component name="Microsoft-Windows-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">
    <DiskConfiguration>
    <Disk wcm:action="add">
    <CreatePartitions>
    <CreatePartition wcm:action="add">
    <Order>1</Order>
    <Size>500</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>
    <Extend>true</Extend>
    <Type>Primary</Type>
    </CreatePartition>
    </CreatePartitions>
    <ModifyPartitions>
    <ModifyPartition wcm:action="add">
    <Format>NTFS</Format>
    <Order>1</Order>
    <Label>WINRE</Label>
    <PartitionID>1</PartitionID>
    <TypeID>DE94BBA4-06D1-4D40-A16A-BFD50179D6AC</TypeID>
    </ModifyPartition>
    <ModifyPartition wcm:action="add">
    <PartitionID>2</PartitionID>
    <Order>2</Order>
    <Label>System</Label>
    <Format>FAT32</Format>
    </ModifyPartition>
    <ModifyPartition wcm:action="add">
    <Order>3</Order>
    <PartitionID>3</PartitionID>
    </ModifyPartition>
    <ModifyPartition wcm:action="add">
    <PartitionID>4</PartitionID>
    <Order>4</Order>
    <Letter>C</Letter>
    <Label>Windows</Label>
    <Format>NTFS</Format>
    </ModifyPartition>
    </ModifyPartitions>
    <DiskID>0</DiskID>
    <WillWipeDisk>true</WillWipeDisk>
    </Disk>
    </DiskConfiguration>
    <ImageInstall>
    <OSImage>
    <InstallTo>
    <DiskID>0</DiskID>
    <PartitionID>4</PartitionID>
    </InstallTo>
    </OSImage>
    </ImageInstall>
    <UserData>
    <ProductKey>
    <Key>VK7JG-NPHTM-C97JM-9MPGT-3V66T</Key>
    </ProductKey>
    <AcceptEula>true</AcceptEula>
    <Organization>Trans Ontario Express</Organization>
    </UserData>
    <WindowsDeploymentServices>
    <Login>
    <Credentials>
    <Domain>corp.company.com</Domain>
    <Password>adminpassword</Password>
    <Username>admin account</Username>
    </Credentials>
    </Login>
    </WindowsDeploymentServices>
    </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></Manufacturer>
    </OEMInformation>
    <TimeZone>Eastern Standard Time</TimeZone>
    <ComputerName>Work-PC1</ComputerName>
    <CopyProfile>true</CopyProfile>
    <RegisteredOrganization>Trans Ontario Express</RegisteredOrganization>
    <RegisteredOwner>Trans Ontario</RegisteredOwner>
    </component>
    </settings>
    <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">
    <OOBE>
    <HideEULAPage>true</HideEULAPage>
    <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
    <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
    <ProtectYourPC>2</ProtectYourPC>
    </OOBE>
    <UserAccounts>
    <LocalAccounts>
    <LocalAccount wcm:action="add">
    <Password>
    <Value>NAAxADAAMAB4AEQAVgBEACoAUABhAHMAcwB3AG8AcgBkAA==</Value>
    <PlainText>false</PlainText>
    </Password>
    <Description>Local Account</Description>
    <DisplayName>Deployment</DisplayName>
    <Group>Administrators</Group>
    <Name>Deployment</Name>
    </LocalAccount>
    </LocalAccounts>
    <AdministratorPassword>
    <Value>NAAxADAAMAB4AEQAVgBEACoAQQBkAG0AaQBuAGkAcwB0AHIAYQB0AG8AcgBQAGEAcwBzAHcAbwByAGQA</Value>
    <PlainText>false</PlainText>
    </AdministratorPassword>
    </UserAccounts>
    <TimeZone>Eastern 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">
    <InputLocale>en-US</InputLocale>
    <SystemLocale>en-US</SystemLocale>
    <UILanguage>en-US</UILanguage>
    <UserLocale>en-US</UserLocale>
    </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:c:/win1903/sources/install.wim#Windows 10 Pro" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>


    All this is currently for 1903 install off a server 2016 WSUS server with the WDS role applied.

    What am I doing wrong? What are the options I need to configure in the answer file to make this work properly (is it possible at all)?

    Thanks
      My Computer


  2. Posts : 4,224
    Windows 10
       #2

    Dear @bloodyskullz: @Kari is our resident expert on unattended installs and sysprep stuff. I happen to know he's currently laid low with a recurrent malaise, but will bring this to his attention. He may be able to set you straight when he starts feeling better. Stay tuned!
    --Ed--

    [PS Added 2 mins later] I just sent Kari a link to this thread on MS Teams, where he and I maintain a constant connection for our Win10.Guru website. He'll probably get back to you when he's back online. Please be patient.
      My Computers


  3. Posts : 8
    10
    Thread Starter
       #3

    Not a problem. I am not in a rush for this since I got the basics up and running, I can work with that for now if necessary.
      My Computer


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

    bloodyskullz said:
    Not a problem. I am not in a rush for this since I got the basics up and running, I can work with that for now if necessary.
    I saw this thread now. I need time to check and test your answer file, will post back when I have something to tell.

    Kari
      My Computer


  5. Posts : 8
    10
    Thread Starter
       #5

    Did you manage to find anything wrong with my answer file?
      My Computer


  6. Posts : 8
    10
    Thread Starter
       #6

    After doing some more research, i've been seeding MDT pop up along side WDS if people can't afford SCCM for their business.

    Is MDT basically the answer to my issue?
      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 14:04.
Find Us




Windows 10 Forums