MSFN Forum: Quirks with Unattended Install - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Quirks with Unattended Install Working fine otherwise, except for.. Rate Topic: -----

#1 User is offline   r3loaded 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 25-December 05

Posted 01 March 2008 - 10:17 AM

I've got my unattend file for Vista SP1 mostly sorted out, but I am having a couple of quirks. My planned install process is to do most of the installation automatically, switch to audit mode where I'll manually install apps and drivers, then reboot to automate OOBE and finish up at login screen. Here are the problems I'm having:
  • After the specialize pass finishes, the computer shuts down instead of restarting. I suspect it's to do with the sysprep command in specialize, I believe adding /quit to the end should fix it, but I haven't had time to test that yet.
  • After finishing audit mode and restarting to OOBE, it still prompts me to enter my product key and select the timezone. This is despite the fact my product key is entered twice, both during PE and specialize, and the timezone is also entered during specialize. The rest of OOBE runs automatically without any problems
I'd be really grateful for any help

 
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <servicing>
        <package action="configure" permanence="permanent">
            <assemblyIdentity name="Microsoft-Windows-Foundation-Package" version="6.0.6000.16386" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" />
            <selection name="Adhoc-Meetings" state="false" />
            <selection name="DFSR-Infrastructure-ClientEdition" state="false" />
            <selection name="FaxServicesUltimate" state="false" />
            <selection name="PurblePlace" state="false" />
            <selection name="FreeCell" state="false" />
            <selection name="Hearts" state="false" />
            <selection name="Inkball" state="false" />
            <selection name="Minesweeper" state="false" />
            <selection name="Printing-Foundation-Features" state="false" />
            <selection name="Printing-Foundation-InternetPrinting-Client" state="false" />
            <selection name="TabletPCOC" state="false" />
        </package>
    </servicing>
    <settings pass="windowsPE">
        <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>en-US</UILanguage>
                <WillShowUI>Never</WillShowUI>
            </SetupUILanguage>
            <InputLocale>2057:00000809</InputLocale>
            <SystemLocale>en-GB</SystemLocale>
            <UILanguage>en-US</UILanguage>
            <UserLocale>en-GB</UserLocale>
        </component>
        <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">
            <DiskConfiguration>
                <Disk wcm:action="add">
                    <ModifyPartitions>
                        <ModifyPartition wcm:action="add">
                            <Active>false</Active>
                            <Format>NTFS</Format>
                            <Label>Windows Vista Test</Label>
                            <Letter>C</Letter>
                            <PartitionID>2</PartitionID>
                            <Order>1</Order>
                        </ModifyPartition>
                    </ModifyPartitions>
                    <DiskID>0</DiskID>
                    <WillWipeDisk>false</WillWipeDisk>
                </Disk>
            </DiskConfiguration>
            <Display>
                <ColorDepth>32</ColorDepth>
                <HorizontalResolution>1680</HorizontalResolution>
                <VerticalResolution>1050</VerticalResolution>
            </Display>
            <DynamicUpdate>
                <Enable>true</Enable>
                <WillShowUI>Never</WillShowUI>
            </DynamicUpdate>
            <ImageInstall>
                <OSImage>
                    <InstallFrom>
                        <MetaData wcm:action="add">
                            <Value>Windows Vista ULTIMATE</Value>
                            <Key>/IMAGE/NAME</Key>
                        </MetaData>
                    </InstallFrom>
                    <InstallTo>
                        <DiskID>0</DiskID>
                        <PartitionID>2</PartitionID>
                    </InstallTo>
                </OSImage>
            </ImageInstall>
            <PageFile>
                <Size>0</Size>
            </PageFile>
            <UserData>
                <ProductKey>
                    <Key>PRODUCT_KEY</Key>
                </ProductKey>
                <AcceptEula>true</AcceptEula>
                <Organization>Home</Organization>
            </UserData>
            <EnableFirewall>true</EnableFirewall>
            <EnableNetwork>true</EnableNetwork>
            <UseConfigurationSet>true</UseConfigurationSet>
            <Restart>Restart</Restart>
        </component>
    </settings>
    <settings pass="specialize">
        <component name="Microsoft-Windows-Security-Licensing-SLC-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">
            <Display>
                <ColorDepth>32</ColorDepth>
                <DPI>96</DPI>
                <HorizontalResolution>1680</HorizontalResolution>
                <VerticalResolution>1050</VerticalResolution>
            </Display>
            <OEMInformation>
                <Manufacturer>Zepto</Manufacturer>
                <Model>Znote 6625WD</Model>
                <SupportHours>Between 08.30 and 16.30</SupportHours>
                <SupportPhone>0845 6020985</SupportPhone>
                <SupportURL>http://uk.zepto.com/Service/Default.aspx</SupportURL>
            </OEMInformation>
            <WindowsFeatures>
                <ShowInternetExplorer>false</ShowInternetExplorer>
                <ShowMediaCenter>true</ShowMediaCenter>
                <ShowWindowsMail>false</ShowWindowsMail>
                <ShowWindowsMediaPlayer>true</ShowWindowsMediaPlayer>
            </WindowsFeatures>
            <ComputerName>vista-test</ComputerName>
            <ShowWindowsLive>false</ShowWindowsLive>
            <TimeZone>GMT Standard Time</TimeZone>
            <ProductKey>PRODUCT_KEY</ProductKey>
        </component>
        <component name="Microsoft-Windows-SQMApi" 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">
            <CEIPEnabled>0</CEIPEnabled>
        </component>
        <component name="Microsoft-Windows-SystemRestore-Main" 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">
            <DisableSR>1</DisableSR>
        </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>Home</JoinWorkgroup>
            </Identification>
        </component>
        <component name="Microsoft-Windows-Wlansvc" 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">
            <RadioLocation>The switch for the wireless card can be located just under the system LED lights.</RadioLocation>
        </component>
        <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>%WINDIR%\system32\sysprep\sysprep.exe /quiet /audit</Path>
                    <Description>Switch to Audit Mode after specialize</Description>
                </RunSynchronousCommand>
            </RunSynchronous>
        </component>
    </settings>
    <settings pass="auditSystem">
        <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>
                <Enabled>true</Enabled>
                <LogonCount>5</LogonCount>
                <Username>Administrator</Username>
            </AutoLogon>
            <Display>
                <ColorDepth>32</ColorDepth>
                <HorizontalResolution>1680</HorizontalResolution>
                <VerticalResolution>1050</VerticalResolution>
                <DPI>96</DPI>
            </Display>
        </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>2057:00000809</InputLocale>
            <SystemLocale>en-GB</SystemLocale>
            <UserLocale>en-GB</UserLocale>
            <UILanguage>en-US</UILanguage>
        </component>
        <component name="Microsoft-Windows-Sidebar" 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">
            <Gadget1>%PROGRAMFILES%\windows sidebar\gadgets\Clock.Gadget,true</Gadget1>
            <Gadget2>%PROGRAMFILES%\windows sidebar\gadgets\CPU.Gadget,true</Gadget2>
            <Gadget4>%PROGRAMFILES%\windows sidebar\gadgets\Notes.Gadget,true</Gadget4>
            <Gadget5>%PROGRAMFILES%\windows sidebar\gadgets\Currency.Gadget,true</Gadget5>
        </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>
                <DPI>96</DPI>
                <HorizontalResolution>1680</HorizontalResolution>
                <VerticalResolution>1050</VerticalResolution>
            </Display>
            <OOBE>
                <HideEULAPage>true</HideEULAPage>
                <NetworkLocation>Other</NetworkLocation>
                <ProtectYourPC>1</ProtectYourPC>
                <SkipUserOOBE>true</SkipUserOOBE>
            </OOBE>
            <UserAccounts>
                <LocalAccounts>
                    <LocalAccount wcm:action="add">
                        <Password>
                            <Value>PASSWORD</Value>
                            <PlainText>false</PlainText>
                        </Password>
                        <Name>***</Name>
                        <Group>Administrators</Group>
                    </LocalAccount>
                </LocalAccounts>
            </UserAccounts>
            <VisualEffects>
                <FontSmoothing>ClearType</FontSmoothing>
            </VisualEffects>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="catalog:c:/deploy/ultimate/install_windows vista ultimate.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
 

This post has been edited by r3loaded: 27 April 2009 - 06:41 AM



#2 User is offline   r3loaded 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 25-December 05

Posted 02 March 2008 - 06:11 AM

Ok, I've fixed the shutdown problem by adding /quit at the end of the sysprep command (I think Microsoft changed sysprep's behaviour in SP1) and I've sorted the timezone prompt by adding it again to the oobeSystem pass.

But OOBE is still prompting me for a product key after rebooting from audit mode! I know that while in audit mode, the system does have my product key specified stored and ready for activation. Why is OOBE then ignoring the stored product key?

#3 User is offline   alucke 

  • Junior
  • Pip
  • Group: Members
  • Posts: 85
  • Joined: 17-October 05
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 02 March 2008 - 06:17 AM

hey check this post out: Interactive Logon Error

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy