Script wizard problem
I have a Windows 7 SP1 64 bit install that seems to working pretty well, but a Win7 32 bit w/o sp1 that I'm working the kinks out of. On the 32 bit, I get prompted to create an account even though I put the admin name in the answer file. I'm pretty sure the problem is the answer file, even though I used the wizard for both.
The user account section of the 64 bit one that works looks like this:
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Name>administrator</Name>
<Group>Administrators</Group>
<Password>
<Value>Password1</Value>
<PlainText>true</PlainText>
</Password>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
The user account section of the 32 bit looks like this:
<UserAccounts>
<AdministratorPassword>
<Value>Password1</Value>
<PlainText>true</PlainText>
</AdministratorPassword>
</UserAccounts>
So the problem one looks like it's missing some stuff. Tomorrow I can try splicing the working user account info into the 32 bit script, but just wanted to find out if anyone thinks it's actually a difference in the OS versions.
Thanks.
Answers (5)
here is my 64bit file for w7 ent 64 KMS license.
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="specialize">
<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">
<Path>net user administrator /active:yes</Path>
<Order>1</Order>
</RunSynchronousCommand>
</RunSynchronous>
</component>
<component name="Microsoft-Windows-IE-InternetExplorer" 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">
<AllowedSites>*.tmcc.edu;*.unr.edu</AllowedSites>
<DisableFirstRunWizard>true</DisableFirstRunWizard>
<DisableWelcomePage>true</DisableWelcomePage>
<PrintBackground>true</PrintBackground>
</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">
<ProductKey>33PXH-7Y6KF-2VJC9-XBBR8-HVTHH</ProductKey>
<ShowWindowsLive>false</ShowWindowsLive>
<TimeZone>Pacific Standard Time</TimeZone>
</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>tmccacad.tmcc.e</JoinWorkgroup>
</Identification>
</component>
</settings>
<settings pass="oobeSystem">
<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">
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Work</NetworkLocation>
<ProtectYourPC>3</ProtectYourPC>
</OOBE>
<UserAccounts>
<AdministratorPassword>
<PlainText>false</PlainText>
<Value>ScrambledPasswordAGQA</Value>
</AdministratorPassword>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>ScrambledPasswordAGQA</Value>
<PlainText>false</PlainText>
</Password>
<DisplayName>F12Master</DisplayName>
<Name>F12Master</Name>
<Group>Administrators</Group>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<RegisteredOrganization>TMCC</RegisteredOrganization>
<RegisteredOwner>Staff</RegisteredOwner>
<AutoLogon>
<Password>
<Value>ScrambledPasswordAGQA</Value>
<PlainText>false</PlainText>
</Password>
<Username>Administrator</Username>
<LogonCount>2</LogonCount>
<Enabled>true</Enabled>
</AutoLogon>
</component>
<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>en-us</InputLocale>
<SystemLocale>en-us</SystemLocale>
<UILanguage>en-us</UILanguage>
<UserLocale>en-us</UserLocale>
</component>
</settings>
<settings pass="generalize">
<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">
<OEMInformation>
<Manufacturer>TMCC Helpdesk</Manufacturer>
<SupportHours>8-5</SupportHours>
<SupportPhone>673-7800</SupportPhone>
<SupportURL>http://www.tmcc.edu/ito/contact/</SupportURL>
</OEMInformation>
</component>
</settings>
<cpi:offlineImage cpi:source="catalog:c:/w7image64/install_windows 7 enterprise.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
Thanks. I copied the whole UserAccounts section from the working one into the bad one and saved, and then it worked like a champ.
The script wizard seems to have a couple of bugs. One of the problems you helped me with a couple of days ago about the license key turned out to be a script wizard issue that I fixed by directly editing the key section of the answer file. Oh, well.
Comments:
-
The wizard acts no different for 64bit and 32bit SIs, so its strange that it wouldn't put it in there if you filled out the information
Corey
Lead L3 Enterprise Solutions Engineer, K2000
If my response was helpful, please rate it! - cserrins 12 years ago -
Yup, that surprised me, too. I actually created a new one with the wizard just for testing, but it had the same problem. - tpr 12 years ago