UnattendPE.xml und Image Unattend.xml für Windows Deployment Server und Windows 7 . Funktionieren GARANTIERT
Prämissen:
Active Directory vorhanden; Lizensierung über KMS;
Clients werden mit der Kennung “domain.local\administrator” zur Domäne hinzugefügt
(Was man aber besser aus Sicherheitsüberlegungen dahin gehend verbessern sollte, dass es einen User gibt, der zwar Clients der Domäne hinzufügen darf, aber NICHT in der Sicherheitsgruppe der Domänenadministratoren Mitglied ist…
Vielleicht dazu ein anderes Mal mehr…)
1.) Download: UnattendedPE.xml [3870 x heruntergeladen]
<?xml version=”1.0″ encoding=”utf-8″?> <unattend xmlns=”urn:schemas-microsoft-com:unattend”> <settings pass=”windowsPE”> <component name=”Microsoft-Windows-Setup” publicKeyToken=”31bf3856ad364e35″ language=”neutral” versionScope=”nonSxS” processorArchitecture=”x86″> <WindowsDeploymentServices> <Login> <WillShowUI>OnError</WillShowUI> <Credentials> <Username>administrator</Username> <Domain>hakneusiedl</Domain> <Password>Domaenen_Admin_Passwort</Password> </Credentials> </Login> <ImageSelection> <WillShowUI>OnError</WillShowUI> <InstallImage> <ImageName>windows 7 enterprise</ImageName> <ImageGroup>windoof 7</ImageGroup> <Filename>windows 7 enterprise</Filename> </InstallImage> <InstallTo> <DiskID>0</DiskID> <PartitionID>1</PartitionID> </InstallTo> </ImageSelection> </WindowsDeploymentServices> <DiskConfiguration> <Disk> <CreatePartitions> <CreatePartition> <Order>1</Order> <Type>Primary</Type> <Size>10</Size> </CreatePartition> </CreatePartitions> <ModifyPartitions> <ModifyPartition> <Active>true</Active> <Format>NTFS</Format> <Label>Windows7</Label> <Letter>C</Letter> <Order>1</Order> <PartitionID>1</PartitionID> <Extend>true</Extend> </ModifyPartition> </ModifyPartitions> <DiskID>0</DiskID> <WillWipeDisk>true</WillWipeDisk> </Disk> <WillShowUI>OnError</WillShowUI> </DiskConfiguration> </component> <component name=”Microsoft-Windows-International-Core-WinPE” publicKeyToken=”31bf3856ad364e35″ language=”neutral” versionScope=”nonSxS” processorArchitecture=”x86″> <SetupUILanguage> <WillShowUI>OnError</WillShowUI> <UILanguage>de-DE</UILanguage> </SetupUILanguage> <UILanguage>de-DE</UILanguage> </component> </settings> <cpi:offlineImage cpi:source=”wim://wicky/REMINST/Images/Windows 7/install.wim#windows 7 enterprise” xmlns:cpi=”urn:schemas-microsoft-com:cpi” /> </unattend>
2. Download: Image Unattend.xml [3708 x heruntergeladen]
<?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="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Identification> <JoinWorkgroup></JoinWorkgroup> <UnsecureJoin>false</UnsecureJoin> <Credentials> <Domain>hak-neusiedl.local</Domain> <Password>Domaenen_Admin_Passwort</Password> <Username>administrator</Username> </Credentials> <JoinDomain>hak-neusiedl.local</JoinDomain> <MachineObjectOU>OU=DV1,OU=klassenpcs,DC=hak-neusiedl,DC=local</MachineObjectOU> </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"> <ComputerName>%MACHINENAME%</ComputerName> </component> </settings> <settings pass="generalize"> <component name="Microsoft-Windows-Security-Licensing-SLC" 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"> <SkipRearm>1</SkipRearm> </component> </settings> <settings pass="oobeSystem"> <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"> <OOBE> <HideEULAPage>true</HideEULAPage> <NetworkLocation>Work</NetworkLocation> <ProtectYourPC>1</ProtectYourPC> <SkipMachineOOBE>true</SkipMachineOOBE> <SkipUserOOBE>true</SkipUserOOBE> </OOBE> <UserAccounts> <AdministratorPassword> <Value>lokales_AdminPasswort</Value> <PlainText>true</PlainText> </AdministratorPassword> <LocalAccounts> <LocalAccount wcm:action="add"> <Password> <Value>Lokales_SchuelerPasswort</Value> <PlainText>true</PlainText> </Password> <DisplayName>Schueler</DisplayName> <Group>Hauptbenutzer</Group> <Name>Schueler</Name> </LocalAccount> </LocalAccounts> </UserAccounts> <RegisteredOrganization>BHAK Neusiedl am See</RegisteredOrganization> <ShowWindowsLive>false</ShowWindowsLive> <TimeZone>W. Europe Standard Time</TimeZone> <VisualEffects> <FontSmoothing>ClearType</FontSmoothing> </VisualEffects> </component> <component name="Microsoft-Windows-International-Core" 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"> <InputLocale>DE-DE</InputLocale> <SystemLocale>DE-DE</SystemLocale> <UILanguage>DE-DE</UILanguage> <UserLocale>DE-DE</UserLocale> <UILanguageFallback>EN-EN</UILanguageFallback> </component> </settings> <settings pass="auditSystem"> <component name="Microsoft-Windows-PnpCustomizationsNonWinPE" 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"> <DriverPaths> <PathAndCredentials wcm:action="add" wcm:keyValue="1"> <Credentials> <Domain>hak-neusiedl.local</Domain> <Password>Domaenen_Admin_Passwort</Password> <Username>administrator</Username> </Credentials> <Path>\\wicky\drivers</Path> </PathAndCredentials> </DriverPaths> </component> </settings> <settings pass="offlineServicing"> <component name="Microsoft-Windows-PnpCustomizationsNonWinPE" 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"> <DriverPaths> <PathAndCredentials wcm:action="add" wcm:keyValue="1"> <Credentials> <Domain>hak-neusiedl.local</Domain> <Password>Domaenen_Admin_Passwort</Password> <Username>administrator</Username> </Credentials> <Path>\\wicky\drivers</Path> </PathAndCredentials> </DriverPaths> </component> </settings> <cpi:offlineImage cpi:source="wim://wicky/REMINST/Images/Windows 7/install.wim#windows 7 enterprise" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattend>
Anmerkung:
Falls ältere Monitore mit geringer Auflösung im Netz unterwegs sein sollten, kann man für diese eine eigene XML-Datei hinterlegen, die folgende Zeilen zusätzlich beinhaltet:
<settings pass="oobeSystem"> <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"> <Display> <ColorDepth>32</ColorDepth> <HorizontalResolution>1024</HorizontalResolution> <VerticalResolution>768</VerticalResolution> <RefreshRate>60</RefreshRate> </Display> <OOBE> <HideEULAPage>true</HideEULAPage> <NetworkLocation>Work</NetworkLocation> <ProtectYourPC>1</ProtectYourPC> <SkipMachineOOBE>true</SkipMachineOOBE> <SkipUserOOBE>true</SkipUserOOBE> </OOBE>