MSFN Forum: How to create an autounattend.xml that automatic logon after first reb - MSFN Forum

Jump to content



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

How to create an autounattend.xml that automatic logon after first reb

#1 User is offline   whairs01 

  • Newbie
  • Group: Members
  • Posts: 17
  • Joined: 17-March 11
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 11 January 2012 - 10:00 AM

Can someone provide an example of a working Autounattend.XML that can automatic logon after the first REBOOT of a clean completed installation process.

I have been trying how to do an auto-login without user intervention after during a Windows 7 unattended clean install using Autounattend.xml. I cannot get my below Autounattend.xml to work. I DO NOT want to log onto a DOMAIN. This is to be use for STANDALONE installation, one machine using a DVD/USB stick. I have tried to use the <Autologon> option in the Autounattend.xml but it does not work. Once Reboot after the clean install complete it stop at the main login screen saying that the Administrator password is wrong. When I type the password it still say that the password is wrong. However, if I use one of the user I setup during the installation process it works find. Again, I do not have to have to type a password but like the system logon automatic to the main desktop. I am attaching my autounattend.xml for your review. Can someone please tell me what is wrong with my autounattend.xml or tell me how I can make this work? THANK YOU

Attached File(s)




#2 User is offline   nice_guy75 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 397
  • Joined: 07-December 09

Posted 11 January 2012 - 10:27 AM

Try this:


            <AutoLogon>
                <Password>
                <Value></Value>
                <PlainText>true</PlainText>
                </Password>
                <Enabled>true</Enabled>
                <LogonCount>3</LogonCount>
                <Username>Administrator</Username>
            </AutoLogon>


#3 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 7,349
  • Joined: 28-April 06
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 11 January 2012 - 10:48 AM

The Administrator account is disabled by default. You have no code enabling it in your XML, so it can't be used with AutoLogon.

#4 User is offline   myselfidem 

  • 2 Slow 4 You
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,753
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 11 January 2012 - 11:30 AM

The value for Password (AutoLogon) is missing!

You can add the same value for your Admin account:

          <AutoLogon>
                <Password>
                    <Value>ABCDEFG</Value>
                    <PlainText>true</PlainText>
                </Password>
                <Enabled>true</Enabled>
                <Username>nnnnn01</Username>
                <LogonCount>9999999</LogonCount>
        </AutoLogon>
            <UserAccounts>
                <LocalAccounts>
                    <LocalAccount wcm:action="add">
                        <Password>
                            <Value>ABCDEFG</Value>
                            <PlainText>true</PlainText>
                        </Password>
                        <Description>Admin</Description>
                        <Group>Administrators;Power Users;Users</Group>
                        <DisplayName>nnnnn01ADM</DisplayName>
                        <Name>nnnnn01</Name>
                    </LocalAccount>


This post has been edited by myselfidem: 11 January 2012 - 11:39 AM


#5 User is offline   whairs01 

  • Newbie
  • Group: Members
  • Posts: 17
  • Joined: 17-March 11
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 11 January 2012 - 12:25 PM

I have tried all the current post. I have try with and without a passwerd. Next the Autologon is enable when the username is Administrator. So all the current post does not work.

#6 User is offline   myselfidem 

  • 2 Slow 4 You
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,753
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 11 January 2012 - 12:33 PM

Have you removed this values and used my example above?

<AdministratorPassword>
                    <PlainText>true</PlainText>
                </AdministratorPassword>



#7 User is offline   IcemanND 

  • MSFN Junkie
  • Group: Super Moderator
  • Posts: 3,249
  • Joined: 24-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 11 January 2012 - 10:34 PM

Here is what works for me:
            <UserAccounts>
                <AdministratorPassword>
                    <PlainText>false</PlainText>
                    <Value>UABhAHMAcwB3AG8AcgBkACEAQQBkAG0AaQBuAGkAcwB0AHIAYQB0AG8AcgBQAGEAcwBzAHcAbwByAGQA</Value>
                </AdministratorPassword>
            </UserAccounts>
            <AutoLogon>
                <Password>
                    <Value>UABhAHMAcwB3AG8AcgBkACEAUABhAHMAcwB3AG8AcgBkAA==</Value>
                    <PlainText>false</PlainText>
                </Password>
                <Username>Administrator</Username>
                <LogonCount>2</LogonCount>
                <Enabled>true</Enabled>
            </AutoLogon>



#8 User is offline   whairs01 

  • Newbie
  • Group: Members
  • Posts: 17
  • Joined: 17-March 11
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 05 February 2012 - 07:20 AM

I like to thank everyone the responded to my problem with Autologon. I got it to work with all your responses. Thanks.

#9 User is offline   manishgambhir 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 01-March 12
  • OS:Server 2008 x64
  • Country: Country Flag

Posted 08 March 2012 - 11:43 AM

Great, its working for you. i'm still stuck and my autounattend.xml attached doesnt let me autologon.

can you/anybody help or share a working xml file for autologon

#10 User is offline   IcemanND 

  • MSFN Junkie
  • Group: Super Moderator
  • Posts: 3,249
  • Joined: 24-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 08 March 2012 - 12:09 PM

I removed your attached file for you since you left you product key in it.

in the AutoLogon seciton you are missing the <Enabled> value.

            <AutoLogon>
                <Password>
                    <Value>UABhAHMAcwB3AG8AcgBkAsdfsdfsdfCEAUABhAHMAcwB3AG8AcgBkAA==</Value>
                    <PlainText>false</PlainText>
                </Password>
                <Enabled>true</Enabled>
                <LogonCount>2</LogonCount>
                <Username>Administrator</Username>
            </AutoLogon>



#11 User is offline   manishgambhir 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 01-March 12
  • OS:Server 2008 x64
  • Country: Country Flag

Posted 08 March 2012 - 12:25 PM

Thanks icemanND.

Thank you again for deleting the xml file, the key i used was from MS site for KMS enabled activation.

i am going to try this and will post back in 20 minutes.

#12 User is offline   manishgambhir 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 01-March 12
  • OS:Server 2008 x64
  • Country: Country Flag

Posted 08 March 2012 - 01:11 PM

Voila!! Its working now.

Thanks you for your support and pointing out in right direction.

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