Jump to content

Recommended Posts

Posted

I tried what was suggested in the Unattended Intermediate Guide, to create a user and allow auto logon.

The user is created. All three net command return : The command completed successfully.

But the DefaultUserName is not changed.

Any suggestions / corrections ?

Thanks.

net user "My_User_Name" "" /add
net localgroup Administrators "My_User_Name" /add
net accounts /maxpwage:unlimited
REGEDIT /S autologon.reg
EXIT

Windows Registry Editor Version 5.1 
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"DefaultUserName"="My_User_Name"
"DefaultPassword"=""
"AutoAdminLogon"="1"


Posted (edited)

I did not enable Fast User Switching.

Is it on by default ?

BTW, I used the above code after the unattended installation was complete.

Does that matter ?

Do I need to use cmdlines.txt ?

NB:

I did not use nLite.

I integrated XP SP3, and used a winnt.sif for the unattended install. The iso was created using CDImage.

Edited by ravisunny2
  • 1 month later...
Posted (edited)

If you don't want to keep your password in plain text in registry (may be accessed by everyone even via network in domain environment) look at LogonExpert autologon tool. It keeps your credentials AES 256bit encrypted.

It also supports the command line\script control

I tried what was suggested in the Unattended Intermediate Guide, to create a user and allow auto logon.

The user is created. All three net command return : The command completed successfully.

But the DefaultUserName is not changed.

Any suggestions / corrections ?

Thanks.

net user "My_User_Name" "" /add
net localgroup Administrators "My_User_Name" /add
net accounts /maxpwage:unlimited
REGEDIT /S autologon.reg
EXIT

Windows Registry Editor Version 5.1 
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"DefaultUserName"="My_User_Name"
"DefaultPassword"=""
"AutoAdminLogon"="1"

Edited by hlanda

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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