tycoon
Goto Top

Windows 7 mit WDS auf Windows Server 2008 R2 autounattend greift nicht

Hallo,

ich versuche grade Windows 7 über WDS auf Server 2008 R2 mit unattend bereitzustellen. Das abbild wurde von einem vorbereiteten Rechner mittels sysprep und imagex abgezogen.

Bereitstellung funktioniert, Windows wird verteilt. Man muss nur die Tastaturbelegung, Partitionierung etc. selbst eingebn.

Dieses möchte ich nun mit autounattend umgehen. Die Datei habe ich vorbereitet. WDS in der autounattend hinzugefügt. Soweit sogut.
Im WDS habe ich die unbeaufsichtigte Installation erlaubt und auch beim Installationsabbild.

Da ich mit dem mit sysprep und imagex erstellten Image keine autounattend erstellen konnte (der Vorgang wird mit dem Fehler: Von Windows SIM konnte kein Katalog generiert werden.), habe ich die Datei mit der install.wim von der DVD erstellt.
Die unbeaufsichtigte Installation ohne WDS funktioniert. Bis auf die Zeiteinstellungen, diese muss man noch manuell bestättigen. (vlt. hat jemand einen Tipp, wie ich auch das umgehen kann?)

Soweit sogut.

Wenn ich nun die Installation über WDS starte greift die autounattend.xml nicht. als ob die nicht da wäre.

Weiß einer von Euch, woran das liegt?

Gruß

Content-Key: 157060

Url: https://administrator.de/contentid/157060

Printed on: April 19, 2024 at 01:04 o'clock

Member: Xaero1982
Xaero1982 Dec 15, 2010 at 22:28:38 (UTC)
Goto Top
Hi,

noch mal von vorne:
1. Warum benutzt du ImageX? Du kannst für die Bereitstellung die Boot.wim benutzen. Diese bindest du als Startabbild ein und machst einen Rechtsklick auf dieses und sagst Aufzeichnungsabbild erstellen, welches du dann wiederum einpflegst.
2. Welches Sysprep - mit welchen Optionen hast du genutzt?
3. Du brauchst eine WDSUnattend.xml für den WDS Server, welche du in den Eigenschaften des Servers einträgst.
4. Du brauchst eine Imageunattend.xml für das Image, welche du in den Optionen des Images einpflegst.
5. Für die Erstellung dieser Dateien benutzt du das WAIK iVm der Install.wim von Windows 7.

Schicke mal bitte diese xml dateien, dann kann man dir sicher auch den Fehler beheben.

VG
Member: tycoon
tycoon Dec 16, 2010 at 07:46:53 (UTC)
Goto Top
Hi,

danke für Deine Antwort.

ich habe das wie in der Anleitung von Video2xxxx gemacht.

1. Ich habe den Rechner vorinstalliert, dann mit Sysprep vorbereitet und mit ImageX gecaptured.
2. Das Sysprep von Windows 7 unter %windir%/system32/sysprep
3. und 4. Ich habe nur mit einer Datei autounattend.xml gearbeitet. Wie in der Videoanleitung
5. Bin auch so vorgegangen.

Hie ist die xml-Datei:

<?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="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>
</SetupUILanguage>
<InputLocale>de-DE</InputLocale>
<SystemLocale>de-DE</SystemLocale>
<UILanguage>de-DE</UILanguage>
<UserLocale>de-DE</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">
<UserData>
<ProductKey>
<WillShowUI>Never</WillShowUI>
<Key>xxxx-xxxx-xxxxx-xxxx-xxxxx</Key>
</ProductKey>
<AcceptEula>true</AcceptEula>
<FullName>hajadiwa</FullName>
<Organization>hajadiwa</Organization>
</UserData>
<DiskConfiguration>
<Disk wcm:action="remove">
<CreatePartitions>
<CreatePartition wcm:action="add">
<Order>1</Order>
<Type>Primary</Type>
<Extend>true</Extend>
<Size>80000</Size>
</CreatePartition>
<CreatePartition wcm:action="add">
<Order>2</Order>
<Size>50000</Size>
<Type>Primary</Type>
</CreatePartition>
<CreatePartition wcm:action="add">
<Order>3</Order>
<Size>150000</Size>
<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>
<ModifyPartition wcm:action="add">
<Format>NTFS</Format>
<Label>Daten</Label>
<Letter>D</Letter>
<Order>2</Order>
<PartitionID>2</PartitionID>
</ModifyPartition>
<ModifyPartition wcm:action="add">
<Format>NTFS</Format>
<Label>VMaschinen</Label>
<Letter>E</Letter>
<Order>3</Order>
<PartitionID>3</PartitionID>
</ModifyPartition>
</ModifyPartitions>
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
</Disk>
</DiskConfiguration>
<ImageInstall>
<OSImage>
<InstallToAvailablePartition>false</InstallToAvailablePartition>
<WillShowUI>OnError</WillShowUI>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>1</PartitionID>
</InstallTo>
</OSImage>
</ImageInstall>
<WindowsDeploymentServices>
<Login>
<Credentials>
<Domain>domaene.de</Domain>
<Password>Administrator</Password>
<Username>Passwort</Username>
</Credentials>
</Login>
<ImageSelection>
<InstallImage>
<Filename>win7.wim</Filename>
<ImageGroup>Windows7 blank</ImageGroup>
<ImageName>Win 7</ImageName>
</InstallImage>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>1</PartitionID>
</InstallTo>
</ImageSelection>
</WindowsDeploymentServices>
</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">
<TimeZone>W.Europe Standard Time</TimeZone>
<UserAccounts>
<AdministratorPassword>
<Value>Passwort</Value>
<PlainText>false</PlainText>
</AdministratorPassword>
<LocalAccounts>
<LocalAccount wcm:action="remove">
<Password>
<Value>Passwort</Value>
<PlainText>false</PlainText>
</Password>
<Name>User</Name>
<DisplayName>User</DisplayName>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Work</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
</OOBE>
</component>
</settings>
<settings pass="specialize">
<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></ComputerName>
<AutoLogon>
<Password>
<Value>Passwort</Value>
<PlainText>false</PlainText>
</Password>
<Enabled>true</Enabled>
<LogonCount>2</LogonCount>
<Username>Administrator</Username>
</AutoLogon>
</component>
</settings>
<settings pass="auditUser">
<component name="Microsoft-Windows-Deployment" 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">
<Generalize>
<Mode>Audit</Mode>
</Generalize>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:e:/winows/deploy/install.wim#Windows 7 PROFESSIONAL" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
Member: Xaero1982
Xaero1982 Dec 16, 2010 at 08:01:47 (UTC)
Goto Top
Moin,

benutz mal bitte Code-Tags für die XML <'code'> und <'/code'> ohne '

Ist natürlich Käse mit der einen XML und wie du siehst gehts auch nicht und ich habe sehr sehr viele Tutorials durch und auch durch eigene Erfahrung weiß ich, dass es nicht mit einer geht.

WDSUnattend.xml
<?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="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>
            </SetupUILanguage>
            <InputLocale>de-DE</InputLocale>
            <SystemLocale>de-DE</SystemLocale>
            <UILanguage>de-DE</UILanguage>
            <UserLocale>de-DE</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>
                            <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>
                <WillShowUI>OnError</WillShowUI>
            </DiskConfiguration>
            <WindowsDeploymentServices>
                <Login>
                    <Credentials>
                        <Domain>XXXX.XXXX</Domain>
                        <Password>XXXX</Password>
                        <Username>Administrator</Username>
                    </Credentials>
                </Login>
                <ImageSelection>
                    <InstallImage>
                        <Filename>xxxx.wim</Filename>
                        <ImageGroup>xxxxx</ImageGroup>
                        <ImageName>xxxxx</ImageName>
                    </InstallImage>
                    <InstallTo>
                        <DiskID>0</DiskID>
                        <PartitionID>1</PartitionID>
                    </InstallTo>
                </ImageSelection>
            </WindowsDeploymentServices>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="catalog://idefix/reminst/images/windows 7 install/install_windows 7 professional.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />  
</unattend>
(Achtung XML ist für EINE komplette Partition - musst du entsprechend anpassen)

ClientUnattend.xml
<?xml version="1.0" encoding="utf-8"?>  
<unattend xmlns="urn:schemas-microsoft-com:unattend">  
    <settings pass="oobeSystem">  
        <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>
            <UILanguage>de-DE</UILanguage>
            <UserLocale>de-DE</UserLocale>
            <SystemLocale>de-DE</SystemLocale>
        </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">  
            <OOBE>
                <HideEULAPage>true</HideEULAPage>
                <NetworkLocation>Work</NetworkLocation>
                <ProtectYourPC>1</ProtectYourPC>
                <SkipUserOOBE>true</SkipUserOOBE>
                <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
            </OOBE>
            <UserAccounts>
                <AdministratorPassword>
                    <Value>xxxx</Value>
                    <PlainText>false</PlainText>
                </AdministratorPassword>
                <LocalAccounts>
                    <LocalAccount wcm:action="add">  
                        <Password>
                            <Value>xxxxx</Value>
                            <PlainText>false</PlainText>
                        </Password>
                        <DisplayName>Administrator</DisplayName>
                        <Group>Administrators</Group>
                        <Name>Administrator</Name>
                        <Description>local Admin</Description>
                    </LocalAccount>
                </LocalAccounts>
            </UserAccounts>
            <RegisteredOrganization>xxxx</RegisteredOrganization>
            <RegisteredOwner>xxxx</RegisteredOwner>
            <Themes>
                <DefaultThemesOff>false</DefaultThemesOff>
            </Themes>
            <FirstLogonCommands>
                <SynchronousCommand wcm:action="add">  
                    <CommandLine>cscript.exe c:\windows\system32\slmgr.vbs /ipk xxxxx.xxxxx.xxxxx.xxxxx.xxxxx</CommandLine>
                    <Order>1</Order>
                    <RequiresUserInput>false</RequiresUserInput>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">  
                    <Order>2</Order>
                    <CommandLine>cscript.exe c:\windows\system32\slmgr.vbs /ato</CommandLine>
                    <RequiresUserInput>false</RequiresUserInput>
                </SynchronousCommand>
            </FirstLogonCommands>
            <TimeZone>W. Europe Standard Time</TimeZone>
        </component>
    </settings>
    <settings pass="specialize">  
        <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>xxxxxxx</Value>
                    <PlainText>false</PlainText>
                </Password>
                <Domain>xxx.xxx</Domain>
                <Enabled>true</Enabled>
                <LogonCount>2</LogonCount>
                <Username>Administrator</Username>
            </AutoLogon>
            <ComputerName>%MACHINENAME%</ComputerName>
            <ProductKey>xxxxx-xxxxx-xxxxx-xxxxx-xxxxx</ProductKey>
        </component>
        <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>
                <Credentials>
                    <Domain>XXXX.XXXX</Domain>
                    <Password>XXXXXX</Password>
                    <Username>Administrator</Username>
                </Credentials>
                <JoinDomain>XXXX.XXXX</JoinDomain>
            </Identification>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="catalog://idefix/reminst/images/windows 7 install/install_windows 7 professional.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />  
</unattend>

Für die Bearbeitung benutze bitte das WAIK für Server 2008 und Windows 7.
Alles wo xxxx steht muss angepasst werden mit PW, Domain, Key etc.

Diese Zeilen:
            <FirstLogonCommands>
                <SynchronousCommand wcm:action="add">  
                    <CommandLine>cscript.exe c:\windows\system32\slmgr.vbs /ipk xxxxx.xxxxx.xxxxx.xxxxx.xxxxx</CommandLine>
                    <Order>1</Order>
                    <RequiresUserInput>false</RequiresUserInput>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">  
                    <Order>2</Order>
                    <CommandLine>cscript.exe c:\windows\system32\slmgr.vbs /ato</CommandLine>
                    <RequiresUserInput>false</RequiresUserInput>
                </SynchronousCommand>
            </FirstLogonCommands>
dienen der Aktivierung von Windows. Einzige für mich funktionierende Methode.

VG
Member: tycoon
tycoon Dec 16, 2010 at 08:28:25 (UTC)
Goto Top
Danke Dir!

Werde ich gleich mal versuchen.

Gurß
Member: tycoon
tycoon Dec 16, 2010 at 10:19:13 (UTC)
Goto Top
So, habs nun versucht.

Der Client bekommt eine IP, bleibt aber beim TFTP hängen mit dem Fehler:

PXE- E32: TFTP timeout.

Was kann ich nun falschgemacht haben?

Gruß
Member: Xaero1982
Xaero1982 Dec 16, 2010 at 10:58:57 (UTC)
Goto Top
Hi,

starte mal den WindowsBereitstellungsdienst neu.

VG
Member: tycoon
tycoon Dec 16, 2010 at 11:52:49 (UTC)
Goto Top
Hi!

Ein Reboot tut gut! face-smile

Installiert grade. Mal sehen, wie gut ich mich bei der Antwortdatei angestellt habe face-big-smile

Mal eine Andere Frage. Ich richte den WDS für einen Schulungsraum ein. Für jede Schulung werde ich jeweils ein Image vorbereiten mit bereits vorinstallierten Programmen etc.
Ist es besser das jeweilige Image dann zu aktivieren und nach Installation zu deaktivieren? Oder kennst du eine andere Vorgehensweise?

Vielen Dank für deine Hilfe!!!

Gruß
Member: tycoon
tycoon Dec 16, 2010 at 13:28:19 (UTC)
Goto Top
So ich habe jetzt ein kleines Problem mit der Antwortdatei.

Die Installation wird mit dem Fehler

"Die Antwortdatei für die unbeaufsichtigte Installation für Durchgang [specialize]
konnte nicht analysiert oder verarbeitet werden. Die in der Antwortdatei angegebenen Einstellungen
können nicht angewendet werden. Der Fehler wurde beim Verarbeiten von Einstellungen für die Komponente
[Microsoft-Windows-Shell-Setup] erkannt"

abgebrochen.

Da habe ich ja nur folgendes:

         
<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>xxxxxxx</Value>
                    <PlainText>false</PlainText>
                </Password>
                <Domain>dom.dom.de</Domain>
                <Enabled>true</Enabled>
                <LogonCount>2</LogonCount>
                <Username>Administrator</Username>
            </AutoLogon>
            <ComputerName>%MACHINENAME%</ComputerName>
            <ProductKey>xxxxx-xxxxx-xxxxx-xxxxx-xxxxx</ProductKey>
        </component> 


Alle Werte habe ich mehrmals überprüft. PW, Domäne, Key sind richtig.

Was passt denn da nicht?

Gruß

P.S.

setupact.log sagt Folgndes:

2010-12-16 13:09:27, Info                         [windeploy.exe] ------------------------------------------------
2010-12-16 13:09:27, Info                         [windeploy.exe] WinDeploy.exe launched with command-line ...
2010-12-16 13:09:27, Info                         [windeploy.exe] Setup has not completed, adding pending reboot.
2010-12-16 13:09:27, Info                         [windeploy.exe] Found generalization state [0x4], setup.exe completion flag [False] --> launching setup.exe.
2010-12-16 13:09:27, Info                         [windeploy.exe] Launching [C:\Windows\system32\oobe\setup.exe]...
2010-12-16 13:11:52, Info                         [Shell Unattend] Running 'specialize' pass  
2010-12-16 13:11:53, Info                         [Shell Unattend] ComputerName set to PL8 
2010-12-16 13:11:53, Info                         [Shell Unattend] Starting service sppsvc
2010-12-16 13:11:53, Info                         [Shell Unattend] Service sppsvc already running
2010-12-16 13:12:05, Error                        [Shell Unattend] ProductKey: 'xxxxx-xxxxx-xxxxx-xxxxx-xxxxx' installation failed (0xc004f015)   
2010-12-16 13:12:05, Info                         [Shell Unattend] Exiting 'specialize' pass with status 0xc004f015  
2010-12-16 14:07:36, Info                         [windeploy.exe] Process exited with exit code [0x1f]
2010-12-16 14:07:36, Error                        [windeploy.exe] Setup.exe failed, returning exit code [0x1f]
2010-12-16 14:07:36, Error                        [windeploy.exe] Failure occured during online installation.  Online installation cannot complete at this time.; hr = 0x80004005
2010-12-16 14:07:36, Info                         [windeploy.exe] Flushing registry to disk...
2010-12-16 14:07:37, Info                         [windeploy.exe] Flush took 281 ms.
2010-12-16 14:07:37, Info                         [windeploy.exe] WinDeploy.exe exiting with code [0x80004005]



Edit: Fehler gefunden. Beruht auf meiner Dumheit. Falsche Version von Windows = falscher Key

Funktioniert jetzt zwar nur das Netzwerk "Work" wird noch nicht übernommen.
Member: dino74
dino74 Jan 19, 2011 at 09:41:31 (UTC)
Goto Top
Member: dino74
dino74 Jan 19, 2011 at 09:48:55 (UTC)
Goto Top
Hallo, hab folgendes Problem.
Die automatische Installation würde sauber durchlaufen, wenn nicht immer das Fenster zur Abfrage des Betriebssystems kommen würde. Hier mal meine Antwortdatei :

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<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">
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1024</HorizontalResolution>
<RefreshRate>60</RefreshRate>
<VerticalResolution>768</VerticalResolution>
</Display>
<UserData>
<ProductKey>
<Key>xxxx</Key>
<WillShowUI>OnError</WillShowUI>
</ProductKey>
<AcceptEula>true</AcceptEula>
<FullName>xxxx</FullName>
<Organization>xxxx</Organization>
</UserData>
<EnableFirewall>false</EnableFirewall>
<EnableNetwork>true</EnableNetwork>
<Restart>Restart</Restart>
<DiskConfiguration>
<WillShowUI>OnError</WillShowUI>
<Disk wcm:action="add">
<CreatePartitions>
<CreatePartition wcm:action="add">
<Order>1</Order>
<Size>60000</Size>
<Type>Primary</Type>
<Extend>false</Extend>
</CreatePartition>
<CreatePartition wcm:action="add">
<Order>3</Order>
<Extend>true</Extend>
<Type>Logical</Type>
</CreatePartition>
<CreatePartition wcm:action="add">
<Extend>true</Extend>
<Order>2</Order>
<Type>Extended</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>
<ModifyPartition wcm:action="add">
<Active>false</Active>
<Extend>false</Extend>
<Format>NTFS</Format>
<Label>Daten</Label>
<Letter>D</Letter>
<Order>2</Order>
<PartitionID>2</PartitionID>
</ModifyPartition>
</ModifyPartitions>
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
</Disk>
</DiskConfiguration>
<WindowsDeploymentServices>
<ImageSelection>
<InstallImage>
<Filename>install.wim</Filename>
<ImageGroup>Win_7_x64</ImageGroup>
<ImageName>Windows 7 PROFESSIONAL</ImageName>
</InstallImage>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>1</PartitionID>
</InstallTo>
</ImageSelection>
<Login>
<Credentials>
<Domain>xxxx</Domain>
<Password>xxxx</Password>
<Username>administrator</Username>
</Credentials>
</Login>
</WindowsDeploymentServices>
</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>
<UILanguageFallback>de-DE</UILanguageFallback>
<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>Work</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
<UserAccounts>
<AdministratorPassword>
<Value>QABzAHUAawByAGEAbQAyADAAMAA5AEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value>
<PlainText>false</PlainText>
</AdministratorPassword>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>cwB1AGsAcgBhAG0AMgAwADAAOQBQAGEAcwBzAHcAbwByAGQA</Value>
<PlainText>false</PlainText>
</Password>
<Description>xxxx</Description>
<DisplayName>xxxx</DisplayName>
<Group>xxxx</Group>
<Name>xxxx</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<RegisteredOrganization>xxxx</RegisteredOrganization>
<RegisteredOwner>xxxx</RegisteredOwner>
<ShowWindowsLive>false</ShowWindowsLive>
<TimeZone>W. Europe Standard Time</TimeZone>
</component>
</settings>
<settings pass="specialize">
<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>0407:00000407</InputLocale>
<SystemLocale>de-DE</SystemLocale>
<UILanguage>de-DE</UILanguage>
<UILanguageFallback>de-DE</UILanguageFallback>
<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">
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1024</HorizontalResolution>
<RefreshRate>60</RefreshRate>
<VerticalResolution>768</VerticalResolution>
</Display>
<BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled>
<ComputerName>xxxx</ComputerName>
<CopyProfile>false</CopyProfile>
<DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
<DoNotCleanTaskBar>true</DoNotCleanTaskBar>
<ProductKey>xxxx</ProductKey>
<RegisteredOrganization>xxxx</RegisteredOrganization>
<RegisteredOwner>xxxx</RegisteredOwner>
<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>
<JoinWorkgroup>xxxx</JoinWorkgroup>
<UnsecureJoin>true</UnsecureJoin>
</Identification>
</component>
</settings>
<settings pass="generalize">
<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">
<OEMInformation>
<HelpCustomized>false</HelpCustomized>
<Manufacturer>xxxx</Manufacturer>
<Model>Windows 7 64 RTM</Model>
<SupportHours>08:00 - 17:00</SupportHours>
</OEMInformation>
<BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled>
<DoNotCleanTaskBar>true</DoNotCleanTaskBar>
<RegisteredOrganization>xxxx</RegisteredOrganization>
<RegisteredOwner>xxxx</RegisteredOwner>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:d:/winsim/images/install.wim#Windows 7 PROFESSIONAL" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
Member: dino74
dino74 Jan 19, 2011 at 13:18:20 (UTC)
Goto Top
Erledigt

bei step 1 in der unattend.xml International-Core-WinPE package einfügen.

Und siehe da es klappt

LoL
Member: tycoon
tycoon Feb 17, 2011 at 14:04:20 (UTC)
Goto Top
ich hab jetzt auch die Situation, wo das Fenster zur Abfrage des Betribssystems kommt.
Und die Formatierung und Partitionierung werden auch nicht angenommen, der Rest läuft wunderbar durch.
Ich versuch das heute schon den ganzen Tag zu lösen, kriege es aber nicht hin. Es geht um eine Einzelplatzinstallation und
die AutoUnattend.xml ist in das Image integriert. Das Image wurde von der Installations DVD gezogen, kein Capture. Als Testrechner dient eine VM in VirtualBox.

Hier die Unattend

<?xml version="1.0" encoding="utf-8"?>  
<unattend xmlns="urn:schemas-microsoft-com:unattend">  
    <settings pass="oobeSystem">  
        <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>
            <UILanguage>de-DE</UILanguage>
            <UserLocale>de-DE</UserLocale>
            <SystemLocale>de-DE</SystemLocale>
        </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">  
            <OOBE>
                <HideEULAPage>true</HideEULAPage>
                <NetworkLocation>Work</NetworkLocation>
                <ProtectYourPC>1</ProtectYourPC>
                <SkipUserOOBE>true</SkipUserOOBE>
                <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
            </OOBE>
            <UserAccounts>
                <AdministratorPassword>
                    <Value>geheim</Value>
                    <PlainText>false</PlainText>
                </AdministratorPassword>
                <LocalAccounts>
                    <LocalAccount wcm:action="add">  
                        <Password>
                            <Value>geheim</Value>
                            <PlainText>false</PlainText>
                        </Password>
                        <DisplayName>Admin</DisplayName>
                        <Group>Administrators</Group>
                        <Name>Admin</Name>
                        <Description>local Admin</Description>
                    </LocalAccount>
                </LocalAccounts>
            </UserAccounts>
            <RegisteredOrganization>Meistertrainer</RegisteredOrganization>
            <RegisteredOwner>Meistertrainer</RegisteredOwner>
            <Themes>
                <DefaultThemesOff>false</DefaultThemesOff>
            </Themes>
            <TimeZone>W. Europe Standard Time</TimeZone>
        </component>
    </settings>
    <settings pass="specialize">  
        <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>geheim</Value>
                    <PlainText>false</PlainText>
                </Password>
                <Domain></Domain>
                <Enabled>true</Enabled>
                <LogonCount>2</LogonCount>
                <Username>Administrator</Username>
            </AutoLogon>
            <ComputerName>win7-2</ComputerName>
            <ProductKey>xxxxx-xxxxx-xxxxx-xxxxx</ProductKey>
        </component>
    </settings>
    <settings pass="windowsPE">  
        <component name="Microsoft-Windows-International-Core-WinPE" 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">  
            <SetupUILanguage>
                <UILanguage>de-DE</UILanguage>
            </SetupUILanguage>
            <InputLocale>de-DE</InputLocale>
            <SystemLocale>de-DE</SystemLocale>
            <UILanguage>de-DE</UILanguage>
            <UserLocale>de-DE</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">  
            <ImageInstall>
                <OSImage>
                    <InstallTo>
                        <DiskID>0</DiskID>
                        <PartitionID>1</PartitionID>
                    </InstallTo>
                    <WillShowUI>OnError</WillShowUI>
                    <InstallToAvailablePartition>false</InstallToAvailablePartition>
                </OSImage>
            </ImageInstall>
            <DiskConfiguration>
                <Disk wcm:action="add">  
                    <CreatePartitions>
                        <CreatePartition wcm:action="add">  
                            <Order>1</Order>
                            <Size>20000</Size>
                        </CreatePartition>
                    </CreatePartitions>
                    <ModifyPartitions>
                        <ModifyPartition wcm:action="add">  
                            <Active>true</Active>
                            <Format>NTFS</Format>
                            <Letter>C</Letter>
                            <Order>1</Order>
                            <PartitionID>1</PartitionID>
                        </ModifyPartition>
                    </ModifyPartitions>
                    <DiskID>0</DiskID>
                    <WillWipeDisk>true</WillWipeDisk>
                </Disk>
                <WillShowUI>OnError</WillShowUI>
            </DiskConfiguration>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:d:/windows/win7_32_dvd_pro_kopie/sources/install.wim#Windows 7 PROFESSIONAL" xmlns:cpi="urn:schemas-microsoft-com:cpi" />  
</unattend>

Hab ich irgendwas falsch gemacht?

Gruß