Jump to content

User Account creation not automated by AutoUnattend.xml


Recommended Posts

I followed Firegeier's guide to making the AutoUnattend.xml

I'm unable to automate the Local Account creation process. Everytime during installation it asks for UserName and Pass and Update Settings. Rest all are automated except these.


<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Group>Administrators</Group>
<Name>KS</Name>
<DisplayName>KS</DisplayName>
</LocalAccount>
</LocalAccounts>
</UserAccounts>


<ProtectYourPC>3</ProtectYourPC>

Autounattend__10_18_30_4_08_.xml

Edited by islander_810
Link to comment
Share on other sites


you must set the password

<LocalAccount wcm:action="add">
<Password>
<Value>{LocalAdminPassword}</Value>
<PlainText>true</PlainText>
</Password>
<Description>local Admin-Account</Description>
<DisplayName>lAdmin</DisplayName>
<Group>Administrators</Group>
<Name>lAdmin</Name>
</LocalAccount>

Edited by baywatch
Link to comment
Share on other sites

So, do you mean to say that description and password is mandatory?

Tried it, didn't work.

This is the code I used



<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>Password</Value>
<PlainText>true</PlainText>
</Password>
<Description>The Compulsive Tweaker</Description>
<Group>Administrators</Group>
<Name>KS</Name>
<DisplayName>KS</DisplayName>
</LocalAccount>
</LocalAccounts>
</UserAccounts>

In fact, this part of the code isn't executed at all. Can't understand why. OOBE always pops up for account creation and Automatic Update Settings. Rest all are automated

Edited by islander_810
Link to comment
Share on other sites

<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Home</NetworkLocation>
<SkipUserOOBE>true</SkipUserOOBE>
<SkipMachineOOBE>true</SkipMachineOOBE>
<ProtectYourPC>3</ProtectYourPC>
</OOBE>

UserAccounts>
- <AdministratorPassword>
<Value>admin1password</Value>
</AdministratorPassword>
- <LocalAccounts>
- <LocalAccount wcm:action="add">
<Group>Administrators</Group>
<Name>Admin2</Name>
</LocalAccount>
- <LocalAccount wcm:action="add">
<Group>Users</Group>
<Name>User1</Name>
</LocalAccount>
- <LocalAccount wcm:action="add">
<Group>Users</Group>
<Name>User2</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
- <AutoLogon>
- <Password>
<Value>admin1password</Value>
<PlainText>true</PlainText>
</Password>
<Enabled>true</Enabled>
<LogonCount>3</LogonCount>
<Username>Administrator</Username>
</AutoLogon>

I haven't figured out (or tried to) how to rename the built-in Administrator account. If you want to enable it, you must use username Administrator. You should have a password for Administrator, don't know if that one is mandatory. As for the rest, they are optional.

Edited by razormoon
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...