/build/static/layout/Breadcrumb_cap_w.png

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.


0 Comments   [ + ] Show comments

Answers (5)

Answer Summary:
Posted by: SMal.tmcc 12 years ago
Red Belt
2

Your user accounts for 32 bit should look more like.  Also if you are syspreping and capturing make sure whatever user you create in your answer file does not already exist.

 

Posted by: SMal.tmcc 12 years ago
Red Belt
1

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>

Posted by: tpr 12 years ago
2nd Degree Black Belt
1

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
Posted by: tpr 12 years ago
2nd Degree Black Belt
0

Criminy! Maybe a pic of the code?

Posted by: SMal.tmcc 12 years ago
Red Belt
0

I used the WAIK to create and validate my answer files then choose upload answer file when creating my scripted installs


Comments:
  • Ah, OK, I'll try that out. I thought that was only for setting up the sysprep type images. Tx. - tpr 12 years ago
  • Same thing. - SMal.tmcc 12 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ