MSFN Forum: Unattend not working - MSFN Forum

Jump to content



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

Unattend not working Rate Topic: -----

#1 User is offline   esloan 

  • Group: Members
  • Posts: 3
  • Joined: 29-January 08

Posted 06 February 2008 - 10:47 AM

Hi Folks, I've had a good look round the site before posting this so appologies if I've missed something. My autounattend.xml continues to prompt for a User Accounr, Protection and Location even though I have these set. Can someone help me identify the issue as everything looks fine to me.....


<?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">
<DiskConfiguration>
<Disk wcm:action="add">
<CreatePartitions>
<CreatePartition wcm:action="add">
<Order>1</Order>
<Size>12000</Size>
<Type>Primary</Type>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Active>true</Active>
<Extend>false</Extend>
<Format>NTFS</Format>
<Label>OS_Install</Label>
<Letter>C</Letter>
<Order>1</Order>
<PartitionID>1</PartitionID>
</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>
<UserData>
<ProductKey>
<WillShowUI>OnError</WillShowUI>
<Key>xxxxxxxxxxxxxxxxxxxxxxxx</Key>
</ProductKey>
<AcceptEula>true</AcceptEula>
<FullName>xxxxxxxxxxxxxxxxx</FullName>
<Organization>xxxxxxxxxxxxxxxxx</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>
<UILanguage>en-GB</UILanguage>
</SetupUILanguage>
<InputLocale>en-GB</InputLocale>
<SystemLocale>en-GB</SystemLocale>
<UILanguage>en-US</UILanguage>
<UILanguageFallback>en-GB</UILanguageFallback>
<UserLocale>en-GB</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">
<UserAccounts>
<AdministratorPassword>
<Value>UABhAHMAcwB3AG8AcgBkAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value>
<PlainText>false</PlainText>
</AdministratorPassword>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>aABwAGMAZABzAFAAYQBzAHMAdwBvAHIAZAA=</Value>
<PlainText>false</PlainText>
</Password>
<Description>Test Account</Description>
<DisplayName>Test User</DisplayName>
<Group>administrators;users</Group>
<Name>TestUser</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<TimeZone>GMT Standard Time</TimeZone>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Other</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
<SkipUserOOBE>true</SkipUserOOBE>
<SkipMachineOOBE>true</SkipMachineOOBE>
</OOBE>
</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>en-GB</InputLocale>
<SystemLocale>en-GB</SystemLocale>
<UILanguage>en-US</UILanguage>
<UILanguageFallback>en-GB</UILanguageFallback>
<UserLocale>en-GB</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">
<ComputerName>*</ComputerName>
<TimeZone>GMT Standard Time</TimeZone>
<RegisteredOrganization>xxxxxxxxxxxxxxx</RegisteredOrganization>
<RegisteredOwner>xxxxxxx</RegisteredOwner>
</component>
<component name="Microsoft-Windows-Security-Licensing-SLC-UX" 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">
<SkipAutoActivation>true</SkipAutoActivation>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:c:/temp/vista/full/sources/install.wim#Windows Vista BUSINESS" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>


#2 User is offline   music5_5 

  • Newbie
  • Group: Members
  • Posts: 21
  • Joined: 17-December 07

Posted 11 February 2008 - 01:04 PM

I believe that you are suppose to use user settings at two different places (or passes) as the reference guide has mentioned. And I only see you are only using one (oobeSystem). I have pasted the topic from that guide below please use it to correct your xml file and then try it.


LocalAccounts
LocalAccounts specifies local accounts to be created during installation.

You can use sysprep/generalize in conjunction with LocalAccounts to change account information. See the Best Practices for Authoring Answer Files topic for details.

<h1 class="heading">Child Elements</h1> LocalAccount

Specifies a local account to be created during installation.

<h1 class="heading">Valid Passes</h1> auditSystem

oobeSystem

<h1 class="heading">Parent Hierarchy</h1> Microsoft-Windows-Shell-Setup| UserAccounts | LocalAccounts

<h1 class="heading">Applies To</h1> This element is available in the following editions and architectures.

Editions Architectures the Windows Vista family

All

<h1 class="heading">XML Example</h1> The following XML output shows how to set user accounts.

<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>cAB3AFAAYQBzAHMAdwBvAHIAZAA</Value>
<PlainText>false</PlainText>
</Password>
<Description>Test account</Description>
<DisplayName>Admin/Power User Account</DisplayName>
<Group>Administrators;Power Users</Group>
<Name>Test1</Name>
</LocalAccount>
<LocalAccount wcm:action="add">
<Password>
<Value>cABhAHMAcwB3AG8AcgBkAFAAYQBzAHMAdwBvAHIAZAA=</Value>
<PlainText>false</PlainText>
</Password>
<Description>For testing</Description>
<DisplayName>Admin Account</DisplayName>
<Group>Administrators</Group>
<Name>Test2</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>

#3 User is offline   lubinski 

  • Junior
  • Pip
  • Group: Members
  • Posts: 52
  • Joined: 11-February 08

Posted 11 February 2008 - 05:18 PM

Can you elaborate within SIM as to which user acccount settings have to be set. It prompts me for the user, location, and computer name everytime. Skip user oobe is set to true.

This post has been edited by lubinski: 12 February 2008 - 08:16 AM


#4 User is offline   music5_5 

  • Newbie
  • Group: Members
  • Posts: 21
  • Joined: 17-December 07

Posted 13 February 2008 - 10:42 AM

Here is the sample xml file which skips all the prompts and auto login to machine twice.

<?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">
<DiskConfiguration>
<Disk wcm:action="add">
<CreatePartitions>
<CreatePartition wcm:action="add">
<Order>1</Order>
<Size>12000</Size>
<Type>Primary</Type>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Active>true</Active>
<Extend>false</Extend>
<Format>NTFS</Format>
<Label>OS_Install</Label>
<Letter>C</Letter>
<Order>1</Order>
<PartitionID>1</PartitionID>
</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>
<UserData>
<ProductKey>
<WillShowUI>OnError</WillShowUI>
<Key>xxxxxxxxxxxxxxxxxxxxxxxx</Key>
</ProductKey>
<AcceptEula>true</AcceptEula>
<FullName>xxxxxxxxxxxxxxxxx</FullName>
<Organization>xxxxxxxxxxxxxxxxx</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>
<UILanguage>en-GB</UILanguage>
</SetupUILanguage>
<InputLocale>en-GB</InputLocale>
<SystemLocale>en-GB</SystemLocale>
<UILanguage>en-US</UILanguage>
<UILanguageFallback>en-GB</UILanguageFallback>
<UserLocale>en-GB</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">
<UserAccounts>
<AdministratorPassword>
<Value>123456</Value>
<PlainText>true</PlainText>
</AdministratorPassword>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>123456</Value>
<PlainText>true</PlainText>
</Password>
<Description>Test Account</Description>
<DisplayName>Test User</DisplayName>
<Group>administrators</Group>
<Name>Test</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<TimeZone>GMT Standard Time</TimeZone>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Other</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
<SkipUserOOBE>true</SkipUserOOBE>
<SkipMachineOOBE>true</SkipMachineOOBE>
</OOBE>
<AutoLogon>
<Password>
<Value>123456</Value>
<PlainText>true</PlainText>
</Password>
<Enabled>true</Enabled>
<LogonCount>2</LogonCount>
<Username>administrator</Username>
</AutoLogon>
</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>en-GB</InputLocale>
<SystemLocale>en-GB</SystemLocale>
<UILanguage>en-US</UILanguage>
<UILanguageFallback>en-GB</UILanguageFallback>
<UserLocale>en-GB</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">
<ComputerName>*</ComputerName>
<TimeZone>GMT Standard Time</TimeZone>
<RegisteredOrganization>xxxxxxxxxxxxxxx</RegisteredOrganization>
<RegisteredOwner>xxxxxxx</RegisteredOwner>
</component>
<component name="Microsoft-Windows-Security-Licensing-SLC-UX" 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">
<SkipAutoActivation>true</SkipAutoActivation>
</component>
</settings>
<settings pass="auditSystem">
<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">
<UserAccounts>
<AdministratorPassword>
<Value>123456</Value>
<PlainText>true</PlainText>
</AdministratorPassword>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>aABwAGMAZABzAFAAYQBzAHMAdwBvAHIAZAA=</Value>
<PlainText>false</PlainText>
</Password>
<Description>Test Account</Description>
<DisplayName>Test User</DisplayName>
<Group>administrators;users</Group>
<Name>TestUser</Name>
</LocalAccount>
<LocalAccount wcm:action="add">
<Password>
<Value>123456</Value>
<PlainText>true</PlainText>
</Password>
<Description>Test Account</Description>
<DisplayName>Test User</DisplayName>
<Group>administrators</Group>
<Name>test</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:d:/vistawork/dvd/sources/install.wim#Windows Vista ENTERPRISE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

I have edited few of the settings but once you open this file using SIM then point to proper install.wim (I have highlighted the line). with above xml file, i have installed vista twiced without any prompts.

#5 User is offline   lubinski 

  • Junior
  • Pip
  • Group: Members
  • Posts: 52
  • Joined: 11-February 08

Posted 13 February 2008 - 10:48 AM

What is the other pass thqt needs user aaccounts added?

#6 User is offline   music5_5 

  • Newbie
  • Group: Members
  • Posts: 21
  • Joined: 17-December 07

Posted 13 February 2008 - 10:51 AM

View Postlubinski, on Feb 13 2008, 10:48 AM, said:

What is the other pass thqt needs user aaccounts added?


1. AuditSystem
2. oobeSystem

#7 User is offline   lubinski 

  • Junior
  • Pip
  • Group: Members
  • Posts: 52
  • Joined: 11-February 08

Posted 13 February 2008 - 04:14 PM

Whats the purpose of having the user account in the specialize pass and the OOBE pass? The same user account is in both passes. Surely it doesn't create the user twice.

#8 User is offline   lubinski 

  • Junior
  • Pip
  • Group: Members
  • Posts: 52
  • Joined: 11-February 08

Posted 13 February 2008 - 05:00 PM

I tried your unattended.xml and it still prompts the same. Any other suggestions as to why my unattend is not working. Hardware? Image?

This post has been edited by lubinski: 13 February 2008 - 05:04 PM


#9 User is offline   esloan 

  • Group: Members
  • Posts: 3
  • Joined: 29-January 08

Posted 15 February 2008 - 05:33 AM

Thanks for your time guys! Turns out the Unattend was OK and the problem was with the WIM I was using. I've created a new WIM from Volume License media and everything now appears OK.

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