Anyone clued up on creating unattend.xml files?
I've created two, one of these is called 'WDSClientUnattend' which is used for entering my domain info, creating partitions, and setting the language etc.
The other is called OOBEUnattend, which handles the remaining phases of the automated setup.
Whenever I PXE boot my system, it appears to just ignore the files completely and just goes into the normal setup process.
I've done allot of research and just can't make sense of why mine doesn't work. I've changed all the regional and locale settings from en-gb to en-us as this is a known issue, but nothing.
I checked out the panther file after the failed attempt and it says:
This is obviously the problem, but I just don't understand why it can't see my unattend files on my server (which are located in C:\RemoteInstall\WdsClientUnattend)
I have multiple deployment images on my server in different groups, this is the reason I've omitted 'Image Selection' from 'WindowsDeploymentServices'
I've created two, one of these is called 'WDSClientUnattend' which is used for entering my domain info, creating partitions, and setting the language etc.
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="x86" publicKeyToken="" 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>
</SetupUILanguage>
<InputLocale>en-gb</InputLocale>
<SystemLocale>en-gb</SystemLocale>
<UILanguage>en-us</UILanguage>
<UILanguageFallback>en-us</UILanguageFallback>
<UserLocale>en-gb</UserLocale>
</component>
<component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="" 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>true</Extend>
<Order>1</Order>
<Type>Primary</Type>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Active>true</Active>
<Extend>false</Extend>
<Format>NTFS</Format>
<Label>System</Label>
<Letter>C</Letter>
<Order>1</Order>
<PartitionID>1</PartitionID>
</ModifyPartition>
</ModifyPartitions>
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
</Disk>
</DiskConfiguration>
<WindowsDeploymentServices>
<Login>
<Credentials>
<Domain>ayy.lmao</Domain>
<Password>ayy</Password>
<Username>Administrator</Username>
</Credentials>
</Login>
</WindowsDeploymentServices>
</component>
</settings>
<cpi:offlineImage cpi:source="catalog://ayyy.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
The other is called OOBEUnattend, which handles the remaining phases of the automated setup.
Code:
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="specialize">
<component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="x86" publicKeyToken="" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Identification>
<Credentials>
<Domain>ayy.lmao</Domain>
<Password>ayy</Password>
<Username>administrator</Username>
</Credentials>
<JoinDomain>ayy.lmao</JoinDomain>
</Identification>
</component>
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ProductKey>****-****-****-****-****</ProductKey>
<ComputerName>*</ComputerName>
<TimeZone>gmt standard time</TimeZone>
<CopyProfile>true</CopyProfile>
<RegisteredOrganization>AyyLmao ltd</RegisteredOrganization>
<RegisteredOwner>Ayy</RegisteredOwner>
<ShowWindowsLive>false</ShowWindowsLive>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<InputLocale>en-gb</InputLocale>
<UILanguage>en-us</UILanguage>
<SystemLocale>en-gb</SystemLocale>
<UILanguageFallback>en-us</UILanguageFallback>
<UserLocale>en-gb</UserLocale>
</component>
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" 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>MAA5AG0AdQBzAGgAeQBCAFAAYQBzAHMAdwBvAHIAZAA=</Value>
<PlainText>false</PlainText>
</Password>
<Domain>ayy.lmao</Domain>
<Enabled>true</Enabled>
<LogonCount>5</LogonCount>
<Username>administrator</Username>
</AutoLogon>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Work</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
</OOBE>
<UserAccounts>
<AdministratorPassword>
<Value>UwBBADMAMABwAGIAbwB4AEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value>
<PlainText>false</PlainText>
</AdministratorPassword>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>UwBBADMAMABwAGIAbwB4AFAAYQBzAHMAdwBvAHIAZAA=</Value>
<PlainText>false</PlainText>
</Password>
<Description>Local Admin Account</Description>
<DisplayName>Ayyyyy</DisplayName>
<Group>Administrators</Group>
<Name>Ayyyyy</Name>
</LocalAccount>
</LocalAccounts>
<DomainAccounts>
<DomainAccountList wcm:action="add">
<Domain>ayy.lmao</Domain>
<DomainAccount wcm:action="add">
<Group>Domain Users</Group>
<Name>shoptest</Name>
</DomainAccount>
</DomainAccountList>
</DomainAccounts>
</UserAccounts>
<TimeZone>gmt standard time</TimeZone>
</component>
</settings>
<cpi:offlineImage cpi:source="catalog://ayyy.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
Whenever I PXE boot my system, it appears to just ignore the files completely and just goes into the normal setup process.
I've done allot of research and just can't make sense of why mine doesn't work. I've changed all the regional and locale settings from en-gb to en-us as this is a known issue, but nothing.
I checked out the panther file after the failed attempt and it says:
Code:
[0x0b002e] WDS InitializeUnattend: There is no unattend file available on the server.
This is obviously the problem, but I just don't understand why it can't see my unattend files on my server (which are located in C:\RemoteInstall\WdsClientUnattend)
I have multiple deployment images on my server in different groups, this is the reason I've omitted 'Image Selection' from 'WindowsDeploymentServices'