New
#1
Win10 20H2 WDS Unattended installation, stops after creating partition
Hello guys, I wanna create a fully automatic WDS installation.
The image I had was syspreped some time ago without any unattended file, so I am using the WDS options to add my XML files which I create using WSIM.
I can bypass Login details and image selection from server, it does create 2 partitions (System & Windows) (Bios is set to Legacy)
But it won't install automatically , I need to select the second partition and install from there.
If I delete all partitions created by my xml, it won't install at all.
I have two files, one for WinPE and one for OOBE etc.
First one is deployed in Server properties -> Client-> Enable unattended installation (I set my PE.XML to all 6 architectures.
Windows XML file is deployed through Image Properties -> Allow image to install in unattended mode.
(Windows XML works perfectly fine, I skip everything and autolog in Windows with my fresh account).
This is my WinPE file
Code:<?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>de-DE</UILanguage> <WillShowUI>Never</WillShowUI> </SetupUILanguage> <InputLocale>de-DE</InputLocale> <SystemLocale>de-DE</SystemLocale> <UILanguage>de-DE</UILanguage> <UILanguageFallback>en-US</UILanguageFallback> <UserLocale>de-DE</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"> <Extend>false</Extend> <Order>1</Order> <Type>Primary</Type> <Size>500</Size> </CreatePartition> <CreatePartition wcm:action="add"> <Extend>true</Extend> <Order>2</Order> <Type>Primary</Type> </CreatePartition> </CreatePartitions> <ModifyPartitions> <ModifyPartition wcm:action="add"> <Active>true</Active> <Format>NTFS</Format> <Label>SYSTEM</Label> <Order>1</Order> <PartitionID>1</PartitionID> </ModifyPartition> <ModifyPartition wcm:action="add"> <Format>NTFS</Format> <Label>Windows</Label> <Letter>C</Letter> <Order>2</Order> <PartitionID>2</PartitionID> <Active>false</Active> </ModifyPartition> </ModifyPartitions> <DiskID>0</DiskID> <WillWipeDisk>true</WillWipeDisk> </Disk> <WillShowUI>OnError</WillShowUI> </DiskConfiguration> <WindowsDeploymentServices> <Login> <Credentials> <Domain>domain</Domain> <Password>password</Password> <Username>Administrator</Username> </Credentials> </Login> <ImageSelection> <InstallImage> <Filename>V31.wim</Filename> <ImageGroup>ImageGroup1</ImageGroup> <ImageName>V31</ImageName> </InstallImage> </ImageSelection> </WindowsDeploymentServices> <ImageInstall> <OSImage> <InstallTo> <DiskID>0</DiskID> <PartitionID>2</PartitionID> </InstallTo> </OSImage> </ImageInstall> <UserData> <ProductKey> <Key>VK7JG-NPHTM-C97JM-9MPGT-3V66T</Key> </ProductKey> <AcceptEula>true</AcceptEula> <Organization>HOMEOFFICE</Organization> </UserData> </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"> <AutoLogon> <Password> <Value>password</Value> <PlainText>false</PlainText> </Password> <Username>Username</Username> <Enabled>true</Enabled> </AutoLogon> <ProductKey>VK7JG-NPHTM-C97JM-9MPGT-3V66T</ProductKey> </component> </settings> <cpi:offlineImage cpi:source="wim:c:/users/user/desktop/v31.wim#v31" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattend>