ravisunny2 Posted February 21, 2011 Share Posted February 21, 2011 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" "" /addnet localgroup Administrators "My_User_Name" /addnet accounts /maxpwage:unlimitedREGEDIT /S autologon.regEXITWindows Registry Editor Version 5.1 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"DefaultUserName"="My_User_Name""DefaultPassword"="""AutoAdminLogon"="1" Link to comment Share on other sites More sharing options...
submix8c Posted February 21, 2011 Share Posted February 21, 2011 Won't swear to this but I think if Fast User Switching is enabled then AutoLogon won't work.Microsoft states that CTL+ALT+DEL must also be disabled. Link to comment Share on other sites More sharing options...
ravisunny2 Posted February 22, 2011 Author Share Posted February 22, 2011 (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 February 22, 2011 by ravisunny2 Link to comment Share on other sites More sharing options...
hlanda Posted March 24, 2011 Share Posted March 24, 2011 (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 controlI 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" "" /addnet localgroup Administrators "My_User_Name" /addnet accounts /maxpwage:unlimitedREGEDIT /S autologon.regEXITWindows Registry Editor Version 5.1 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"DefaultUserName"="My_User_Name""DefaultPassword"="""AutoAdminLogon"="1" Edited March 24, 2011 by hlanda Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now