Jump to content

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


Recommended Posts

Posted

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

MyAutounattend.xml


Posted

Try this:

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

Posted (edited)

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>

Edited by myselfidem
Posted

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.

Posted

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>

  • 4 weeks later...
Posted

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

  • 1 month later...
Posted

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

Posted

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>

Posted

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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...