Unattended-Deployment mit WDS: Nur der original gesysprepte Rechner installiert sich richtig.
Liebe Leidensgenossen,
ich habe einen Win 7 Prof.-Rechner virtuell (HyperV / 2008 R2) aufgesetzt und ihn mit Sysprep für den WDS vorbereitet. Dabei habe ich die unten angefügte Unattended.xml-Datei verwendet.
Nach dem problemlosen Aufzeichnen des Images durch den WDS konnte ich das Image auf die gewünschten Rechner verteilen. Allerdings waren die im unattended-File angegebenen Parameter nicht berücksichtigt.
Beim Starten des originalen mit Sysprep vorbereiteten Rechners wurde jedoch der korrekte Installationsvorgang inkl. Anlegen des Admins mit korrekter Passwortvergabe, DomainJoin, Aktivierung von Windows) vollzogen.
Wieso kommt es zu dieser unterschiedlichen Verarbeitung. Eigentlich müsste sich doch das WDS-Image ebenso verhalten wie der "Master-Image-Rechner"?
Gibt es etwa einen Fehler in meinem Unattended-File, der den ganzen Schlamassel verursacht hat?
Vielen Dank für eventuelle Hinweise.
Wolfgang Pöschl
--
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="specialize">
<component name="Microsoft-Windows-Deployment" 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">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Order>1</Order>
<Path>net user administrator /active:yes</Path>
</RunSynchronousCommand>
</RunSynchronous>
</component>
<component name="Microsoft-Windows-Security-SPP-UX" 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">
<SkipAutoActivation>true</SkipAutoActivation>
</component>
<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">
<ComputerName>*</ComputerName>
<CopyProfile>true</CopyProfile>
<ShowWindowsLive>false</ShowWindowsLive>
<TimeZone>W. Europe Standard Time</TimeZone>
</component>
<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>schule.loc</Domain>
<Password>DomainPasswort</Password>
<Username>administrator</Username>
</Credentials>
<JoinDomain>schule.loc</JoinDomain>
<UnsecureJoin>false</UnsecureJoin>
</Identification>
</component>
</settings>
<settings pass="oobeSystem">
<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>de-de</InputLocale>
<SystemLocale>de-de</SystemLocale>
<UILanguage>de-de</UILanguage>
<UserLocale>de-de</UserLocale>
</component>
<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>
<NetworkLocation>Home</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
</OOBE>
<TimeZone>W. Europe Standard Time</TimeZone>
<UserAccounts>
<AdministratorPassword>
<Value>LokalPasswort</Value>
<PlainText>true</PlainText>
</AdministratorPassword>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>LokalPasswort</Value>
<PlainText>true</PlainText>
</Password>
<Description>Administrator Lokal</Description>
<DisplayName>Administrator</DisplayName>
<Group>Administrators</Group>
<Name>Administrator</Name>
</LocalAccount>
</LocalAccounts>
<DomainAccounts>
<DomainAccountList wcm:action="add">
<Domain>Schule.loc</Domain>
<DomainAccount wcm:action="add">
<Group>Administrators</Group>
<Name>Administrator</Name>
</DomainAccount>
</DomainAccountList>
</DomainAccounts>
</UserAccounts>
<AutoLogon>
<Password>
<Value>DomainPasswort</Value>
<PlainText>true</PlainText>
</Password>
<Domain>Schule.loc</Domain>
<Enabled>true</Enabled>
<LogonCount>2</LogonCount>
<Username>administrator</Username>
</AutoLogon>
<RegisteredOrganization>Schulname</RegisteredOrganization>
<RegisteredOwner>Schulname</RegisteredOwner>
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<CommandLine>cscript b c:\windows\system32\slmgr.vbs /ipk MAK-Keyfile</CommandLine>
<Order>1</Order>
<RequiresUserInput>false</RequiresUserInput>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>cscriptb c:\windows\system32\slmgr.vbs /ato</CommandLine>
<Order>2</Order>
<RequiresUserInput>false</RequiresUserInput>
</SynchronousCommand>
</FirstLogonCommands>
</component>
</settings>
<settings pass="generalize">
<component name="Microsoft-Windows-Security-SPP" 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">
<SkipRearm>1</SkipRearm>
</component>
<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>
<DomainAccounts>
<DomainAccountList wcm:action="add">
<Domain>schule.loc</Domain>
<DomainAccount wcm:action="add">
<Group>Administrators</Group>
<Name>Administrator</Name>
</DomainAccount>
</DomainAccountList>
</DomainAccounts>
<AdministratorPassword>
<Value>DomainPasswort</Value>
<PlainText>false</PlainText>
</AdministratorPassword>
</UserAccounts>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:c:/install.wim#Windows 7 ENTERPRISE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
ich habe einen Win 7 Prof.-Rechner virtuell (HyperV / 2008 R2) aufgesetzt und ihn mit Sysprep für den WDS vorbereitet. Dabei habe ich die unten angefügte Unattended.xml-Datei verwendet.
Nach dem problemlosen Aufzeichnen des Images durch den WDS konnte ich das Image auf die gewünschten Rechner verteilen. Allerdings waren die im unattended-File angegebenen Parameter nicht berücksichtigt.
Beim Starten des originalen mit Sysprep vorbereiteten Rechners wurde jedoch der korrekte Installationsvorgang inkl. Anlegen des Admins mit korrekter Passwortvergabe, DomainJoin, Aktivierung von Windows) vollzogen.
Wieso kommt es zu dieser unterschiedlichen Verarbeitung. Eigentlich müsste sich doch das WDS-Image ebenso verhalten wie der "Master-Image-Rechner"?
Gibt es etwa einen Fehler in meinem Unattended-File, der den ganzen Schlamassel verursacht hat?
Vielen Dank für eventuelle Hinweise.
Wolfgang Pöschl
--
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="specialize">
<component name="Microsoft-Windows-Deployment" 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">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Order>1</Order>
<Path>net user administrator /active:yes</Path>
</RunSynchronousCommand>
</RunSynchronous>
</component>
<component name="Microsoft-Windows-Security-SPP-UX" 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">
<SkipAutoActivation>true</SkipAutoActivation>
</component>
<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">
<ComputerName>*</ComputerName>
<CopyProfile>true</CopyProfile>
<ShowWindowsLive>false</ShowWindowsLive>
<TimeZone>W. Europe Standard Time</TimeZone>
</component>
<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>schule.loc</Domain>
<Password>DomainPasswort</Password>
<Username>administrator</Username>
</Credentials>
<JoinDomain>schule.loc</JoinDomain>
<UnsecureJoin>false</UnsecureJoin>
</Identification>
</component>
</settings>
<settings pass="oobeSystem">
<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>de-de</InputLocale>
<SystemLocale>de-de</SystemLocale>
<UILanguage>de-de</UILanguage>
<UserLocale>de-de</UserLocale>
</component>
<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>
<NetworkLocation>Home</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
</OOBE>
<TimeZone>W. Europe Standard Time</TimeZone>
<UserAccounts>
<AdministratorPassword>
<Value>LokalPasswort</Value>
<PlainText>true</PlainText>
</AdministratorPassword>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>LokalPasswort</Value>
<PlainText>true</PlainText>
</Password>
<Description>Administrator Lokal</Description>
<DisplayName>Administrator</DisplayName>
<Group>Administrators</Group>
<Name>Administrator</Name>
</LocalAccount>
</LocalAccounts>
<DomainAccounts>
<DomainAccountList wcm:action="add">
<Domain>Schule.loc</Domain>
<DomainAccount wcm:action="add">
<Group>Administrators</Group>
<Name>Administrator</Name>
</DomainAccount>
</DomainAccountList>
</DomainAccounts>
</UserAccounts>
<AutoLogon>
<Password>
<Value>DomainPasswort</Value>
<PlainText>true</PlainText>
</Password>
<Domain>Schule.loc</Domain>
<Enabled>true</Enabled>
<LogonCount>2</LogonCount>
<Username>administrator</Username>
</AutoLogon>
<RegisteredOrganization>Schulname</RegisteredOrganization>
<RegisteredOwner>Schulname</RegisteredOwner>
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<CommandLine>cscript b c:\windows\system32\slmgr.vbs /ipk MAK-Keyfile</CommandLine>
<Order>1</Order>
<RequiresUserInput>false</RequiresUserInput>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>cscriptb c:\windows\system32\slmgr.vbs /ato</CommandLine>
<Order>2</Order>
<RequiresUserInput>false</RequiresUserInput>
</SynchronousCommand>
</FirstLogonCommands>
</component>
</settings>
<settings pass="generalize">
<component name="Microsoft-Windows-Security-SPP" 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">
<SkipRearm>1</SkipRearm>
</component>
<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>
<DomainAccounts>
<DomainAccountList wcm:action="add">
<Domain>schule.loc</Domain>
<DomainAccount wcm:action="add">
<Group>Administrators</Group>
<Name>Administrator</Name>
</DomainAccount>
</DomainAccountList>
</DomainAccounts>
<AdministratorPassword>
<Value>DomainPasswort</Value>
<PlainText>false</PlainText>
</AdministratorPassword>
</UserAccounts>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:c:/install.wim#Windows 7 ENTERPRISE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
Please also mark the comments that contributed to the solution of the article
Content-Key: 215852
Url: https://administrator.de/contentid/215852
Printed on: April 18, 2024 at 22:04 o'clock
4 Comments
Latest comment
Solange dem zu verteilenden Image keine Antwortdatei beiliegt werden "nur" die Imageeigenschaften abgearbeitet, nicht jedoch der Userteil, dieser wurde per Sysprep entfernt. Domänenbeitritt, User etc. müssen per Antwortdatei an das Image übergeben werden und in den Imageeigenschaften zugewiesen werden.
Bin ich zu Anfang auch drauf reingefallen.
Bin ich zu Anfang auch drauf reingefallen.