none
Win 7 Autounattend.xml 32 und 64 bit RRS feed

  • السؤال

  • Moin,

     

    ich habe ein kleines Problem mit der Silent installation unserer 64 Bit Rechner.

    Ich habe eine lauffähige Autounattend.xml, besser gesagt lauffähig unter 32bit.
    Diese Installiert das OS, führt specialize aus, führt oobeSystem aus und führt die SetupComplete.cmd aus.
    Alles wie ich es mir vorstelle.

    In beide install.wim`s habe ich per dism alle Treiber eingefügt, und diese werden auch gefunden.
    Es handelt sich dabei um Dell NB`s ich habe es mit e6410 und e4310 getestet, kein Unterschied.

    Bei der 64 Bit Version stoppt die Installation nach einrichten der Treiber.
    Woran könnte das liegen?

    Ich habe die Installationen per Altiris und USB getestet, beides ist gleich.
    Was mir auffällt ist das die Installation auf beiden systemen sehr langsam ist 32 und 64 bit.

    Anbei die Autounattend.xml

    %PROCTYPE% wird durch altiris in x86 oder amd64 ersetzt, oder manuell bei tests mit USB installation.

     

    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <settings pass="windowsPE">
            <component name="Microsoft-Windows-Setup" processorArchitecture="%PROCTYPE%" 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>
                    <WillShowUI>OnError</WillShowUI>
                    <Disk>
                        <DiskID>0</DiskID>
                        <WillWipeDisk>true</WillWipeDisk>
                        <CreatePartitions>
                            <CreatePartition>
                                <!-- Create primary partition, 300 MB -->
                                <Order>1</Order>
                                <Type>Primary</Type>
                                <Size>300</Size>
                            </CreatePartition>
                            <!-- Create extended partition and fill the rest of the hard disk -->
                            <CreatePartition>
                                <Order>2</Order>
                                <Type>Primary</Type>
                                <Extend>true</Extend>
                            </CreatePartition>
                        </CreatePartitions>
                        <ModifyPartitions>
                            <ModifyPartition wcm:action="modify">
                                <Active>true</Active>
                                <Format>NTFS</Format>
                                <Label>System</Label>
                                <Order>1</Order>
                                <PartitionID>1</PartitionID>
                            </ModifyPartition>
                            <ModifyPartition wcm:action="modify">
                                <Format>NTFS</Format>
                                <Label>Windows</Label>
                                <Order>2</Order>
                                <PartitionID>2</PartitionID>
                            </ModifyPartition>
                        </ModifyPartitions>
                    </Disk>
                </DiskConfiguration>
                <UserData>
                   <ProductKey>
                       <WillShowUI>OnError</WillShowUI>
                       <!--Key></Key  -->
                   </ProductKey>
                   <AcceptEula>true</AcceptEula>
                   <Organization>xyz Europe GmbH</Organization>
                   <FullName>xyz Europe GmbH</FullName>
                </UserData>
                <ImageInstall>
                    <OSImage>
                        <InstallTo>
                            <DiskID>0</DiskID>
                            <PartitionID>2</PartitionID>
                        </InstallTo>
                        <InstallToAvailablePartition>false</InstallToAvailablePartition>
                        <WillShowUI>OnError</WillShowUI>
                    </OSImage>
                </ImageInstall>
                <EnableFirewall>false</EnableFirewall>
                <EnableNetwork>true</EnableNetwork>
                <Restart>Restart</Restart>
                <UseConfigurationSet>true</UseConfigurationSet>
            </component>
            <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="%PROCTYPE%" 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>
                    <WillShowUI>OnError</WillShowUI>
                </SetupUILanguage>
                <InputLocale>en-US</InputLocale>
                <SystemLocale>en-US</SystemLocale>
                <UILanguage>en-US</UILanguage>
                <UserLocale>en-USE</UserLocale>
            </component>
        </settings>
        <settings pass="specialize">
            <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="%PROCTYPE%" 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>%COMPNAME%</ComputerName>
                <ProductKey>x,y,z</ProductKey>
            </component>      
            <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="%PROCTYPE%" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <FavoritesList>
                    <FavoriteItem wcm:action="add">
                        <FavID>02</FavID>
                        <FavTitle>SSL VPN</FavTitle>
                        <FavURL>https://euconnect.xyz.com</FavURL>
                    </FavoriteItem>
                    <FavoriteItem wcm:action="add">
                        <FavID>03</FavID>
                        <FavTitle>Web Mail</FavTitle>
                        <FavURL>http://webmail.xyz.com/</FavURL>
                    </FavoriteItem>
                </FavoritesList>
                <StartPages>
                    <StartPage wcm:action="add">
                        <StartPageUrl>http://intranet/</StartPageUrl>
                        <StartPageKey>01</StartPageKey>
                    </StartPage>
                </StartPages>
                <BlockPopups>yes</BlockPopups>
                <CompanyName>xyz Europe GmbH</CompanyName>
                <DisableFirstRunWizard>true</DisableFirstRunWizard>
                <Home_Page>http://intranet/</Home_Page>
                <LocalIntranetSites>http://intranet/</LocalIntranetSites>
            </component>
            <component name="Microsoft-Windows-International-Core" processorArchitecture="%PROCTYPE%" 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>en-US</SystemLocale>
                <UILanguage>en-US</UILanguage>
                <UserLocale>de-DE</UserLocale>
            </component>
            <component name="Microsoft-Windows-DNS-Client" processorArchitecture="%PROCTYPE%" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <DNSSuffixSearchOrder>
                    <DomainName wcm:action="add" wcm:keyValue="1">corp.xyz.com</DomainName>
                    <DomainName wcm:action="add" wcm:keyValue="2">xyz.com</DomainName>
                </DNSSuffixSearchOrder>
            </component>
            <component name="Networking-MPSSVC-Svc" processorArchitecture="%PROCTYPE%" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <DomainProfile_EnableFirewall>false</DomainProfile_EnableFirewall>
                <PrivateProfile_EnableFirewall>false</PrivateProfile_EnableFirewall>
                <PublicProfile_EnableFirewall>false</PublicProfile_EnableFirewall>
            </component>
            <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="%PROCTYPE%" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <fDenyTSConnections>false</fDenyTSConnections>
            </component>
               </settings>
        <settings pass="oobeSystem">
            <component name="Microsoft-Windows-Shell-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="%PROCTYPE%">
                <OOBE>
                    <HideEULAPage>true</HideEULAPage>
                    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
                    <NetworkLocation>Work</NetworkLocation>
                    <ProtectYourPC>3</ProtectYourPC>
                    <SkipMachineOOBE>true</SkipMachineOOBE>
                    <SkipUserOOBE>true</SkipUserOOBE>
                </OOBE>
                <AutoLogon>
                    <Password>
                        <Value>Egal123</Value>
                        <PlainText>true</PlainText>
                    </Password>
                    <Enabled>true</Enabled>
                    <LogonCount>1</LogonCount>
                    <Username>Test</Username>
                </AutoLogon>
                <UserAccounts>
                    <LocalAccounts>
                        <LocalAccount wcm:action="add" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
                            <Password>
                                <Value>Egal123</Value>
                                <PlainText>true</PlainText>
                            </Password>
                            <Description>local account</Description>
                            <DisplayName>xyz</DisplayName>
                            <Group>Administrators</Group>
                            <Name>Test</Name>
                        </LocalAccount>
                    </LocalAccounts>
                </UserAccounts>
                <FirstLogonCommands>
                    <SynchronousCommand>
                        <Order>1</Order>
                        <!-- deletes setupcomplete.cmd -->
                        <CommandLine>rem del /Q c:\windows\Setup\Scripts\setupcomplete.cmd</CommandLine>
                    </SynchronousCommand>
                    <SynchronousCommand>
                        <Order>2</Order>
                        <!-- restart after 3 min -->
                        <CommandLine>shutdown -r -t 180</CommandLine>
                    </SynchronousCommand>
                </FirstLogonCommands>
                <RegisteredOwner>xyz Europe GmbH</RegisteredOwner>
                <RegisteredOrganization>xyz Europe GmbH</RegisteredOrganization>
                <TimeZone>W. Europe Standard Time</TimeZone>
                <Display>
                    <ColorDepth>32</ColorDepth>
                    <HorizontalResolution>1024</HorizontalResolution>
                    <RefreshRate>70</RefreshRate>
                    <VerticalResolution>768</VerticalResolution>
                </Display>
                <OEMInformation>
                    <Manufacturer>xyz Europe GmbH</Manufacturer>
                </OEMInformation>
                <Themes>
                    <ThemeName>Windows Classic</ThemeName>
                    <WindowColor>Windows Classic</WindowColor>
                    <DesktopBackground>Solid Color</DesktopBackground>
                    <ScreenSaver>none</ScreenSaver>
                    <DefaultThemesOff>false</DefaultThemesOff>
                </Themes>
                <WindowsFeatures>
                    <ShowInternetExplorer>true</ShowInternetExplorer>
                    <ShowMediaCenter>false</ShowMediaCenter>
                    <ShowWindowsMail>false</ShowWindowsMail>
                    <ShowWindowsMediaPlayer>true</ShowWindowsMediaPlayer>
                </WindowsFeatures>
            </component>
            <component name="Microsoft-Windows-International-Core" processorArchitecture="%PROCTYPE%" 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>en-US</SystemLocale>
                <UserLocale>de-DE</UserLocale>
                <UILanguage>en-US</UILanguage>
            </component>
        </settings>
       <cpi:offlineImage cpi:source="wim:c:/waik/install.wim#Windows 7 PROFESSIONAL" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>

     

    Hätte jemand eine Idee woran das liegen könnte und woran man schrauben könnte, oder wo ich nach dem Fehler suchen kann.
    In den Logs unter c:\windows\panther kann ich leider nicht viel erkennen. Kennt jemand gute Infos zu den Logs?

     

    Gruß
    und Danke für die Mühe
    Gerhard

    • تم النقل بواسطة Andrei TalmaciuModerator 02/رمضان/1431 07:30 ص Deployment Thema (aus:Windows 7 Installationsprobleme)
    01/رمضان/1431 08:24 ص

الإجابات

  • Danke für den Link, war mir aber schon bekannt.
    Welches die Protokolldateien sind war mir schon bekannt, aber den Inhalt verstehen ist schon etwas komplizierter.
    Habe das Problem auf jeden Fall auf die Install sources zurückgeführt da die unattend.xml ja funktioniert. Deshalb habe ich neue genommen und es funktioniert. Jetzt nur noch Treiber ins wim einbinden und fertig.

    Danke

    02/رمضان/1431 07:47 ص

جميع الردود