February 21, 201115 yr 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"
February 21, 201115 yr 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.
February 22, 201115 yr Author 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, 201115 yr by ravisunny2
March 24, 201115 yr 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, 201115 yr by hlanda
Create an account or sign in to comment