Jump to content

Recommended Posts

Posted

I think I posted in the wrong section before sorry about that.

Hi guys/gals just need to clear something up re

1 Auto admin logon and

2 useradd

I have a script as suggested for adding user account as follows called via the cmdlines.txt

net user "username" "password" /add

net localgroup Administrators admin /add

net accounts /maxpwage:unlimited

EXIT

I have also added via winnt.sif the following

[GuiUnattended]

AdminPassword=aad3b435b51404eeaad3b435b51404ee83748755519cb3a9a659a1c4b2100fea

EncryptedAdminPassword=Yes

OEMSkipRegional=1

TimeZone=255

OemSkipWelcome=1

Autologon=Yes

AutoLogonCount=1

Now would I be correct in thinking that this will after the final build stage log into XP under the Adminsitrator account created in winnt.sif and then my runonce command will proceed. Then it will shut down and I will have to log in with the user account created above? The reason I ask is i didnt want to use the reg tweak as follows

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]

"DefaultUserName"="username"

"DefaultPassword"="password"

"AutoAdminLogon"="1"

as every time i reboot it auto logs in and I do not want that for obvious reasons. And if I change the password it comes up with an error on log in saying wrong pword and then I have to put in the one in that i changed it to in the user accounts control panel.

Hope that is not to confusing

Regards Mark and yes i have done a search but I am still confused by it.


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