Jump to content

Recommended Posts

Posted (edited)

Firstly congatulations to the makers of this program

Im having trouble with creating a fully functional unattended xml file usig Win toolkit

Windows 7 install asks me for a username

Auto login does not commit

See hereunder

Can someone help

 

<?xml version="1.0" encoding="utf-8"?>

<!--Created by Win Toolkit v1.4.1.22-->

<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>

                <AcceptEula>true</AcceptEula>

                <ProductKey>

                    <Key>DELETED</Key>

                <WillShowUI>Always</WillShowUI>

                </ProductKey>

            </UserData>

        </component>

        <component name="Microsoft-Windows-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">

            <UserData>

                <AcceptEula>true</AcceptEula>

                <ProductKey>

                    <Key>DELETED</Key>

                <WillShowUI>Always</WillShowUI>

                </ProductKey>

            </UserData>

        </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">

            <ProductKey>DELETED</ProductKey>

            <ComputerName>Media</ComputerName>

        </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>DELETED</ProductKey>

            <ComputerName>Media</ComputerName>

        </component>

        <component name="Microsoft-Windows-Security-SPP-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>

        <component name="Microsoft-Windows-Security-SPP-UX" 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">

            <SkipAutoActivation>true</SkipAutoActivation>

        </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">

            <Display>

                <ColorDepth>32</ColorDepth>

                <HorizontalResolution>1240</HorizontalResolution>

                <VerticalResolution>768</VerticalResolution>

                <RefreshRate>60</RefreshRate>

            </Display>

            <OOBE>

                <HideEULAPage>true</HideEULAPage>

                <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>

                <NetworkLocation>Home</NetworkLocation>

                <ProtectYourPC>3</ProtectYourPC>

            </OOBE>

            <TimeZone>AUS Eastern Standard Time</TimeZone>

        </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">

            <Display>

                <ColorDepth>32</ColorDepth>

                <HorizontalResolution>1240</HorizontalResolution>

                <VerticalResolution>768</VerticalResolution>

                <RefreshRate>60</RefreshRate>

            </Display>

            <OOBE>

                <HideEULAPage>true</HideEULAPage>

                <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>

                <NetworkLocation>Home</NetworkLocation>

                <ProtectYourPC>3</ProtectYourPC>

            </OOBE>

            <TimeZone>AUS Eastern Standard Time</TimeZone>

        </component>

    </settings>

</unattend>

Edited by ricktendo
Deleted serial
Posted

You have to create the user account and then you set that account as the one you want to log into

        <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">

<AutoLogon>

<Enabled>true</Enabled>

<LogonCount>1</LogonCount>

<Username>YourName</Username>

<Password>

<Value>giberish</Value>

<PlainText>false</PlainText>

</Password>

</AutoLogon>

<UserAccounts>

<LocalAccounts>

<LocalAccount wcm:action="add">

<Description>Desc</Description>

<Group>Administrators</Group>

<Name>YourName</Name>

<Password>

<Value>giberish</Value>

<PlainText>false</PlainText>

</Password>

</LocalAccount>

</LocalAccounts>

</UserAccounts>

</component>

  • 3 weeks later...
Posted

I've tried this before and had the same problem. Ricktendo, does your suggestion mean that one cannot use the built-in Administrator account and have the unattended.xml actually work, and that one must in fact create another admin account under a different name? I have this problem any time I've used the toolkit to try to use the built-in admin account. It doesn't stick and I end up having to create a user after setup completes.

 

If one *can* use the built-in admin account in unattended, how do I ensure it will work?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...