Jump to content

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


Recommended Posts

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

Link to comment
Share on other sites


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
Link to comment
Share on other sites

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>

Link to comment
Share on other sites

  • 4 weeks later...
  • 1 month later...

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>

Link to comment
Share on other sites

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