Guest TheMagic89 Posted March 9, 2012 Posted March 9, 2012 I'm having a problem with getting past the User OOBE section of Windows setup (where you enter a local username and a computer name) For starters, here's some useful info about my situation... Deployment method: Altiris Deployment Server Image: .WIM Unattend file: C:\unattend.xml Using WDS?: No. My unattend file appears to work but it won't populate the computer name or local username, despite them being set in my unattend file! (which you can find below) I have tried changing the value of computer name to various things: , %MACHINENAME%, %ASSETTAG%, "WINPC", whatever... nothing works. The name itself is irrelevant as a PowerShell script will rename it as part of my build process. I have a local account created in the relevant section, just as I have always done, but that won't work either. The SkipUserOOBE setting has been deprecated so that won't solve my issue either (already tried just incase!) I also have a first logon command that should run, but that refuses too, although the reboot twice command and others work fine. Why does my unattend file only seem to run the bits it feels like running?!?! Any advice? Unattend file: <?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="windowsPE"> <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>OnError</WillShowUI> </ProductKey> <AcceptEula>true</AcceptEula> <FullName>Information Technology</FullName> <Organization>My Company</Organization> </UserData> </component> <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> <WillShowUI>OnError</WillShowUI> <UILanguage>en-US</UILanguage> </SetupUILanguage> <InputLocale>en-US</InputLocale> <SystemLocale>en-US</SystemLocale> <UILanguage>en-US</UILanguage> <UILanguageFallback>en-US</UILanguageFallback> <UserLocale>en-US</UserLocale> </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"> <OEMInformation> <Manufacturer>IT</Manufacturer> <SupportHours>9-5</SupportHours> <SupportPhone>911</SupportPhone> <SupportURL>www.google.co.uk</SupportURL> <HelpCustomized>false</HelpCustomized> </OEMInformation> <ComputerName> </ComputerName> <CopyProfile>true</CopyProfile> </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> <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> <HideEULAPage>true</HideEULAPage> <ProtectYourPC>3</ProtectYourPC> <NetworkLocation>Work</NetworkLocation> <SkipUserOOBE>true</SkipUserOOBE> </OOBE> <AutoLogon> <Password> <Value>Password here...</Value> <PlainText>false</PlainText> </Password> <Enabled>true</Enabled> <LogonCount>1</LogonCount> <Username>administrator</Username> </AutoLogon> <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <CommandLine>C:\Temp\Install.cmd</CommandLine> <Description>Install Agent</Description> <Order>2</Order> <RequiresUserInput>false</RequiresUserInput> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>1</Order> <Description>Activate Local Admin</Description> <RequiresUserInput>false</RequiresUserInput> <CommandLine>net user Administrator /active:yes</CommandLine> </SynchronousCommand> </FirstLogonCommands> <Themes> <DefaultThemesOff>true</DefaultThemesOff> </Themes> <UserAccounts> <AdministratorPassword> <Value>Password here...</Value> <PlainText>false</PlainText> </AdministratorPassword> <LocalAccounts> <LocalAccount wcm:action="add"> <Password> <Value>Password here...</Value> <PlainText>false</PlainText> </Password> <Description>Win7</Description> <DisplayName>Win7</DisplayName> <Group>Administrators;Users</Group> <Name>Win7</Name> </LocalAccount> </LocalAccounts> </UserAccounts> <VisualEffects> <FontSmoothing>ClearType</FontSmoothing> </VisualEffects> </component> </settings> <settings pass="generalize"> <component name="Microsoft-Windows-Security-SPP" 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"> <SkipRearm>1</SkipRearm> </component> </settings> <cpi:offlineImage cpi:source="wim:C:/images/windows7.wim#Windows 7 SP1" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattend> Continue reading... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.