rpaz61 Posted November 22, 2011 Posted November 22, 2011 Hello,Here's our unattend.xml file:<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="specialize"> <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"> <RunSynchronous> <RunSynchronousCommand wcm:action="add"> <Description>EnableAdmin</Description> <Order>1</Order> <Path>cmd /c net user Administrator /active:yes</Path> <WillReboot>Always</WillReboot> </RunSynchronousCommand> </RunSynchronous> </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"> <Display> <ColorDepth>32</ColorDepth> <DPI>96</DPI> <HorizontalResolution>1024</HorizontalResolution> <RefreshRate>60</RefreshRate> <VerticalResolution>768</VerticalResolution> </Display> <BluetoothTaskbarIconEnabled>true</BluetoothTaskbarIconEnabled> <ComputerName>%MachineName%</ComputerName> <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet> <DoNotCleanTaskBar>true</DoNotCleanTaskBar> <RegisteredOrganization>Company Name</RegisteredOrganization> <RegisteredOwner>Company Name</RegisteredOwner> <TimeZone>Central Standard Time</TimeZone> <CopyProfile>false</CopyProfile> <ShowWindowsLive>false</ShowWindowsLive> <StartPanelOff>false</StartPanelOff> </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>Domain Name</Domain> <Password>Password</Password> <Username>Username</Username> </Credentials> <JoinDomain>Domain Name</JoinDomain> <MachineObjectOU>OU=Computers,OU=USA,DC=production,DC=domain,DC=com</MachineObjectOU> </Identification> </component> <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>0409:00000409</InputLocale> <SystemLocale>en-US</SystemLocale> <UILanguage>en-US</UILanguage> <UILanguageFallback>en-US</UILanguageFallback> <UserLocale>0409</UserLocale> </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"> <OOBE> <NetworkLocation>Work</NetworkLocation> <ProtectYourPC>3</ProtectYourPC> <SkipMachineOOBE>true</SkipMachineOOBE> <SkipUserOOBE>true</SkipUserOOBE> <HideEULAPage>true</HideEULAPage> <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> </OOBE> <BluetoothTaskbarIconEnabled>true</BluetoothTaskbarIconEnabled> <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet> <DoNotCleanTaskBar>true</DoNotCleanTaskBar> <RegisteredOrganization>Company Name</RegisteredOrganization> <RegisteredOwner>Company Name</RegisteredOwner> <TimeZone>Central Standard Time</TimeZone> <UserAccounts> <AdministratorPassword> <Value>Password=</Value> <PlainText>false</PlainText> </AdministratorPassword> <LocalAccounts> <LocalAccount wcm:action="add"> <Password> <Value>Password</Value> <PlainText>false</PlainText> </Password> <Description>Image</Description> <DisplayName>Image</DisplayName> <Group>Administrators</Group> <Name>Image</Name> </LocalAccount> </LocalAccounts> <DomainAccounts> <DomainAccountList wcm:action="add"> <Domain>Domain Name</Domain> </DomainAccountList> </DomainAccounts> </UserAccounts> <ShowWindowsLive>false</ShowWindowsLive> <StartPanelOff>false</StartPanelOff> </component> </settings> <settings pass="offlineServicing"> <component name="Microsoft-Windows-PnpCustomizationsNonWinPE" 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"> <DriverPaths> <PathAndCredentials wcm:action="add" wcm:keyValue="1"> <Credentials> <Domain>Domain Name</Domain> <Password>Password</Password> <Username>Username</Username> </Credentials> <Path>\\Servername.domain_name.com\Win7x64\Drivers</Path> </PathAndCredentials> </DriverPaths> </component> </settings> <settings pass="generalize"> <component name="Microsoft-Windows-PnpSysprep" 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"> <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> </component> </settings> <cpi:offlineImage cpi:source="wim://servername/win7x64/win7entsp2x64idev1.0.wim#Windows 7 Enterprise Edition SP1 x64 SSI IDEV Image v1.0" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend>The image deploys without any issues. The only issue I'm having is that after the image is done deploying and the machine reboots for the first time, the Windows 7 Set Up prompts us to select the following:Country or regionTime and currencyKeyboard layoutAlong with being prompted to "Help protect your computer and improve Windows automatically" and select one of the following for Windows Updates:Use recommended settingsInstall important updates onlyAsk me laterAny help would be appreciated.Thanks,Rob
Tripredacus Posted November 23, 2011 Posted November 23, 2011 You are missing this in 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"> <SystemLocale>en-US</SystemLocale> <UILanguage>en-US</UILanguage> <UserLocale>0409:00000409</UserLocale> <UILanguageFallback>en-US</UILanguageFallback> </component>And this too which goes in the oobeSystem pass too, but under the Microsoft-Windows-Shell-Setup component.<OOBE><ProtectYourPC>2</ProtectYourPC></OOBE>
myselfidem Posted November 24, 2011 Posted November 24, 2011 (edited) You are using an Autounattend.xml AIO (x86/amd64) ?Remove first the last line:<cpi:offlineImage cpi:source="wim://servername/win7x64/win7entsp2x64idev1.0.wim#Windows 7 Enterprise Edition SP1 x64 SSI IDEV Image v1.0" xmlns:cpi="urn:schemas-microsoft-com:cpi" />Remove, because those values are deprecated for Windows 7!<SkipMachineOOBE>true</SkipMachineOOBE> <SkipUserOOBE>true</SkipUserOOBE>And add the values given by Tripedacus. Edited November 28, 2011 by myselfidem
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now