Hello everyone!
So, I have Windows Server 2012 R2 installed with WDS role, and I have another server with AD role. I'm trying to make unattended setup of windows 8.1 and make the unattended file with Windows ADK. I made two unattended files - one for installation and one for post configuration So I faced with one more issues:
- In fist file (which I placed in WDS properties -> Client tab -> enable unattended setup) I created disk partitions and define image selection and credentials to log in to wds. But when I start installation I see a window that offer me to choose what
image I want to install. Here my xml file bellow. Whats wrong?
<?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></SetupUILanguage><InputLocale>en-us</InputLocale><SystemLocale>en-us</SystemLocale><UILanguage>en-us</UILanguage><UILanguageFallback>en-us</UILanguageFallback><UserLocale>en-us</UserLocale></component><component name="Microsoft-Windows-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"><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><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>domain.org</Domain><Password>password</Password><Username>user</Username></Credentials></Login><ImageSelection><InstallImage><Filename>install.wim</Filename><ImageGroup>IC-class</ImageGroup><ImageName>Windows 8.1 Enterprise</ImageName></InstallImage><InstallTo><DiskID>0</DiskID><PartitionID>1</PartitionID></InstallTo></ImageSelection></WindowsDeploymentServices><UseConfigurationSet>true</UseConfigurationSet></component></settings><cpi:offlineImage cpi:source="wim:c:/remoteinstall/iso/windows8.1/install.wim#Windows 8.1 Enterprise" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend>
- When system was installed, it configure itself with product key I provided in second xml file (the content placed bellow), but it does not set the right timezone I want and does not join the computer in the domain I provided. What I made wrong in my configuration
and how do I make a change
<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend"><settings pass="specialize"><component name="Microsoft-Windows-UnattendedJoin" 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"><Identification><Credentials><Domain>domain.org</Domain><Password>password</Password><Username>user</Username></Credentials><JoinDomain>domain.org</JoinDomain><MachineObjectOU>PATH_TO_OU</MachineObjectOU><DebugJoin>true</DebugJoin></Identification></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"><ProductKey>MY-PRODUCT-KEY</ProductKey><TimeZone>Волгоград, Москва, Санкт-Петербург</TimeZone><RegisteredOrganization>My Organization</RegisteredOrganization><DisableAutoDaylightTimeSet>true</DisableAutoDaylightTimeSet></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"><UserAccounts><AdministratorPassword><Value>some hashed password</Value><PlainText>false</PlainText></AdministratorPassword><DomainAccounts><DomainAccountList wcm:action="add"><DomainAccount wcm:action="add"><Group>Администраторы</Group><Name>user</Name></DomainAccount><Domain>domain.org</Domain><DomainAccount wcm:action="add"><Group>Администраторы</Group><Name>user2</Name></DomainAccount></DomainAccountList></DomainAccounts></UserAccounts><OOBE><HideEULAPage>true</HideEULAPage><NetworkLocation>Work</NetworkLocation><ProtectYourPC>1</ProtectYourPC></OOBE></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>ru</InputLocale><SystemLocale>ru</SystemLocale><UILanguage>ru</UILanguage><UILanguageFallback>ru</UILanguageFallback><UserLocale>ru</UserLocale></component></settings><settings pass="windowsPE"><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"><UseConfigurationSet>true</UseConfigurationSet></component><component name="Microsoft-Windows-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"><UseConfigurationSet>true</UseConfigurationSet></component></settings><cpi:offlineImage cpi:source="wim:c:/remoteinstall/iso/windows8.1/install.wim#Windows 8.1 Enterprise" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend>
And tha last question: is there any sense to merge this files, and which place if yes?
Thanks in advance!
Max