predalon
Goto Top

Autounattend.xml im Stammverzeichniss wird Ignoriert

Hallo irgendwie wird meine Autounattend.xml die im Stammverzeichniss meines Windows 7 Installationsstick´s ignoriert.

Hier der Inhalt meiner XML

<?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">  
            <UserData>
                <ProductKey>
                    <Key>XXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key>
                </ProductKey>
                <AcceptEula>true</AcceptEula>
				<HideEula>true</HideEula>
                <FullName>XXXXX</FullName>
                <Organization>XXXX</Organization>
            </UserData>
            <DiskConfiguration>
                <Disk wcm:action="add">  
                    <CreatePartitions>
                        <CreatePartition wcm:action="add">  
                            <Type>Primary</Type>
                            <Size>100000</Size>
                            <Order>1</Order>
                        </CreatePartition>
                        <CreatePartition wcm:action="add">  
                            <Type>Extended</Type>
                            <Order>2</Order>
                            <Extend>true</Extend>
                        </CreatePartition>
                        <CreatePartition wcm:action="add">  
                            <Order>3</Order>
                            <Type>Logical</Type>
							<Extend>true</Extend>
                        </CreatePartition>
                    </CreatePartitions>
                    <ModifyPartitions>
                        <ModifyPartition wcm:action="add">  
                            <Label>System</Label>
                            <Letter>C</Letter>
                            <Active>true</Active>
                            <Extend>false</Extend>
                            <Format>NTFS</Format>
                            <Order>1</Order>
                            <PartitionID>1</PartitionID>
                        </ModifyPartition>
                        <ModifyPartition wcm:action="add">  
                            <Order>2</Order>
                            <PartitionID>2</PartitionID>
                            <Letter>D</Letter>
                            <Label>Daten</Label>
                            <Format>NTFS</Format>
                            <Active>false</Active>
                            <Extend>false</Extend>
                        </ModifyPartition>
                    </ModifyPartitions>
                    <DiskID>0</DiskID>
                    <WillWipeDisk>true</WillWipeDisk>
                </Disk>
                <WillShowUI>OnError</WillShowUI>
            </DiskConfiguration>
            <ImageInstall>
                <OSImage>
                    <InstallTo>
                        <DiskID>0</DiskID>
                        <PartitionID>1</PartitionID>
                    </InstallTo>
                    <WillShowUI>OnError</WillShowUI>
                </OSImage>
            </ImageInstall>
        </component>
        <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>de-DE</UILanguage>
            </SetupUILanguage>
            <UserLocale>de-DE</UserLocale>
            <UILanguage>de-DE</UILanguage>
            <SystemLocale>de-DE</SystemLocale>
            <InputLocale>de-DE</InputLocale>
        </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">  
            <AutoLogon>
                <Password>
                    <Value>XXXX</Value>
                    <PlainText>true</PlainText>
                </Password>
                <Enabled>true</Enabled>
                <LogonCount>1</LogonCount>
                <Username>mfiadmin</Username>
            </AutoLogon>
            <OOBE>
                <HideEULAPage>true</HideEULAPage>
                <NetworkLocation>Work</NetworkLocation>
                <ProtectYourPC>1</ProtectYourPC>
            </OOBE>
            <UserAccounts>
                <LocalAccounts>
                    <LocalAccount wcm:action="add">  
                        <Password>
                            <Value>XXXXX</Value>
                            <PlainText>true</PlainText>
                        </Password>
                        <Name>XXXXX</Name>
                        <Group>Administrators</Group>
                    </LocalAccount>
                </LocalAccounts>
            </UserAccounts>
        </component>
    </settings>
    <settings pass="specialize">  
        <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>XXX-XXxxx</ComputerName>
            <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>XXXTemp</JoinWorkgroup>
            </Identification>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:e:/sources/install.wim#Windows 7 PROFESSIONAL" xmlns:cpi="urn:schemas-microsoft-com:cpi" />  
</unattend>

Content-Key: 248829

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

Printed on: April 24, 2024 at 18:04 o'clock

Member: Webfuchs
Webfuchs Sep 11, 2014 at 06:35:09 (UTC)
Goto Top
Die Antwortdatei im SIM schon geprüft? Fehler?

LG
Member: Predalon
Predalon Sep 11, 2014 at 06:51:11 (UTC)
Goto Top
Was meinst du mit SIM?

VG
Member: Webfuchs
Webfuchs Sep 11, 2014 at 07:32:02 (UTC)
Goto Top
Der WindowsSystem Image Manager ist ein Bestandteil des WAIK. Schau mal hier:
http://community.certbase.de/blogs/mg/archive/2009/09/30/wim-und-waik.a ...
Member: Predalon
Predalon Sep 11, 2014 at 07:46:57 (UTC)
Goto Top
So habe meine xml im dem Programm mal über Extras Überprüfen lassen und es gab keine Fehlerausgabe.
Member: Webfuchs
Webfuchs Sep 11, 2014 at 10:04:25 (UTC)
Goto Top
Es kann viele Gründe haben. Wo hast du die Autounattend.xml her? Selbst erstellt? Passt die Architektur x64 zum Installationsmedium? Ist es eine Professional? Ist die Win7 untouched? Versuch mal von DVD zu installieren und die XML auf den Stick oder mit auf die DVD (RW).
Hier gibts auch noch weitere Infos zu dem Problem: http://social.technet.microsoft.com/Forums/de-DE/2798e83b-32d2-4058-a63 ...
Member: Predalon
Predalon Sep 11, 2014 at 10:09:15 (UTC)
Goto Top
Die aus WAIK herraus erstellt worden. Architektur ist x64 und es handelt sich auch um Professional. Das Win7 wurde im Audit Modus eingerichtet und danach mit sysprep und den parametern generalize und oobe wieder versiegelt.
Member: colinardo
colinardo Sep 11, 2014 updated at 10:27:56 (UTC)
Goto Top
Moin Pedalon,
denke das hier ist der Fehler: Hier wird via festem Pfad auf das Image verwiesen:
<cpi:offlineImage cpi:source="wim:e:/sources/install.wim#Windows 7 PROFESSIONAL" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> 
Das sieht normalerweise für die XML anders aus:
http://technet.microsoft.com/en-us/library/dd799255%28v=ws.10%29.aspx
<ImageInstall>
    <OSImage>
        <InstallFrom>
            <MetaData wcm:action="add">  
                <Key>/IMAGE/NAME</Key>
                <Value>Windows 7 PROFESSIONAL</Value>
            </MetaData>
...
...
Dem Image muss dazu natürlich beim Capture mit ImageX der obige Name zugewiesen worden sein! Ansonsten lässt sich das auch via Image-Index machen.

Grüße Uwe
Member: Predalon
Predalon Sep 11, 2014 at 10:37:23 (UTC)
Goto Top
Hallo Colinardo,

kann man das sonst auf relative angaben umsetzten da es ja bei jedem Rechner einen anderen LW Buchstaben hat.
Member: colinardo
colinardo Sep 11, 2014 updated at 10:41:34 (UTC)
Goto Top
Zitat von @Predalon:
kann man das sonst auf relative angaben umsetzten da es ja bei jedem Rechner einen anderen LW Buchstaben hat.
siehe die Variante oben ... und im Link!
http://technet.microsoft.com/en-us/library/ff716384.aspx
Member: Predalon
Predalon Sep 17, 2014 at 08:08:01 (UTC)
Goto Top
Hallo habe das jetzt mal versucht mit den Tipps von colinardo, jedoch wird dann trotzdem die Datei Ignoriert. Ich habe die Datei jetzt mal neu erstellt mit dem SIM.

Hier einmal die neu erstellt Datei, leider wird diese aber auch noch erstelllt.

<?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">  
            <UserData>
                <ProductKey>
                    <Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key>
                    <WillShowUI>OnError</WillShowUI>
                </ProductKey>
                <AcceptEula>true</AcceptEula>
                <FullName>MFI-XFAB</FullName>
                <Organization>XFAB Itzehoe</Organization>
            </UserData>
            <DiskConfiguration>
                <Disk wcm:action="add">  
                    <CreatePartitions>
                        <CreatePartition wcm:action="add">  
                            <Type>Primary</Type>
                            <Size>100000</Size>
                            <Order>1</Order>
                        </CreatePartition>
                        <CreatePartition wcm:action="add">  
                            <Type>Extended</Type>
                            <Order>2</Order>
                            <Extend>true</Extend>
                        </CreatePartition>
                        <CreatePartition wcm:action="add">  
                            <Order>3</Order>
                            <Type>Logical</Type>
                            <Extend>true</Extend>
                        </CreatePartition>
                    </CreatePartitions>
                    <ModifyPartitions>
                        <ModifyPartition wcm:action="add">  
                            <Label>System</Label>
                            <Letter>C</Letter>
                            <Active>true</Active>
                            <Extend>false</Extend>
                            <Format>NTFS</Format>
                            <Order>1</Order>
                            <PartitionID>1</PartitionID>
                        </ModifyPartition>
                        <ModifyPartition wcm:action="add">  
                            <Order>2</Order>
                            <PartitionID>2</PartitionID>
                            <Letter>D</Letter>
                            <Label>Daten</Label>
                            <Format>NTFS</Format>
                            <Active>false</Active>
                            <Extend>false</Extend>
                        </ModifyPartition>
                    </ModifyPartitions>
                    <DiskID>0</DiskID>
                    <WillWipeDisk>true</WillWipeDisk>
                </Disk>
                <WillShowUI>OnError</WillShowUI>
            </DiskConfiguration>
            <ImageInstall>
                <OSImage>
                    <InstallTo>
                        <DiskID>0</DiskID>
                        <PartitionID>1</PartitionID>
                    </InstallTo>
                    <WillShowUI>OnError</WillShowUI>
                    <InstallToAvailablePartition>true</InstallToAvailablePartition>
                </OSImage>
            </ImageInstall>
        </component>
        <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>de-DE</UILanguage>
            </SetupUILanguage>
            <UserLocale>de-DE</UserLocale>
            <UILanguage>de-DE</UILanguage>
            <SystemLocale>de-DE</SystemLocale>
            <InputLocale>de-DE</InputLocale>
        </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">  
            <AutoLogon>
                <Password>
                    <Value>bQBmAGkAMQAxAHQAbwBvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value>
                    <PlainText>false</PlainText>
                </Password>
                <Enabled>true</Enabled>
                <LogonCount>1</LogonCount>
                <Username>XXXXXX</Username>
            </AutoLogon>
            <OOBE>
                <HideEULAPage>true</HideEULAPage>
                <NetworkLocation>Work</NetworkLocation>
                <ProtectYourPC>1</ProtectYourPC>
                <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
            </OOBE>
            <UserAccounts>
                <LocalAccounts>
                    <LocalAccount wcm:action="add">  
                        <Password>
                            <Value>bQBmAGkAMQAxAHQAbwBvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value>
                            <PlainText>false</PlainText>
                        </Password>
                        <Name>XXXXXXX</Name>
                        <Group>Administrators</Group>
                        <DisplayName>XXXX</DisplayName>
                        <Description>XXXXX</Description>
                    </LocalAccount>
                </LocalAccounts>
            </UserAccounts>
            <RegisteredOrganization>XXXXXX</RegisteredOrganization>
            <RegisteredOwner>XXXXXX</RegisteredOwner>
            <TimeZone>W. Europe Standard Time</TimeZone>
        </component>
    </settings>
    <settings pass="specialize">  
        <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>izh-mfixxx</ComputerName>
            <TimeZone>W. Europe Standard Time</TimeZone>
            <DoNotCleanTaskBar>true</DoNotCleanTaskBar>
            <RegisteredOrganization>MFI XFAB Itzehoe</RegisteredOrganization>
            <RegisteredOwner>IZH MFIADMIN</RegisteredOwner>
        </component>
		 <CopyProfile>true</CopyProfile>
        <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>XFABTemp</JoinWorkgroup>
            </Identification>
        </component>
        <component name="Microsoft-Windows-IE-InternetExplorer" 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">  
            <Home_Page>http://sp.erf.xfab.de/MFI/default.aspx</Home_Page>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="catalog:D:/sources/install_Windows 7 PROFESSIONAL.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />  
</unattend>
Member: colinardo
colinardo Sep 17, 2014 at 08:41:00 (UTC)
Goto Top
es fehlt schon wieder die InstallFrom Section .... halt dich an die Bestpractices dann lüppt das!
Member: Predalon
Predalon Sep 17, 2014 at 10:35:10 (UTC)
Goto Top
Okay fehlen mir nur wieso muss ich die dann auch nicht einbauen und außerdem wird das Image ja nicht aus dem Netz geladen sondern liegt mit auf dem Stick.

Die Install.wim die Verwendet wird ist eine angepasst wo Software schon mit vorinstalliert ist.
Member: colinardo
colinardo Sep 17, 2014 at 10:41:41 (UTC)
Goto Top
Zitat von @Predalon:
Okay fehlen mir nur wieso muss ich die dann auch nicht einbauen und außerdem wird das Image ja nicht aus dem Netz geladen sondern liegt mit auf dem Stick.
??? schon klar das das nicht aus dem Netz geladen wird, trotzdem muss der Abschnitt rein ....