ravisunny2
Posts: 1,055 +11
I tried the following, to create a user and allow auto logon (in Win XP SP3).
The user is created. All three net commands returned :The command completed successfully.
But the DefaultUserName is not changed.
Any suggestions / corrections ?
Thanks.
BTW, I did not use nLite. I integrated XP SP3, and used winnt.sif for the unattended install.
Also, I ran the above cmd file after the unattended install.
The user is created. All three net commands returned :The command completed successfully.
But the DefaultUserName is not changed.
Any suggestions / corrections ?
Thanks.
Code:
net user "My_User_Name" "" /add
net localgroup Administrators "My_User_Name" /add
net accounts /maxpwage:unlimited
REGEDIT /S autologon.reg
EXIT
Code:
Windows Registry Editor Version 5.1
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"DefaultUserName"="My_User_Name"
"DefaultPassword"=""
"AutoAdminLogon"="1"
BTW, I did not use nLite. I integrated XP SP3, and used winnt.sif for the unattended install.
Also, I ran the above cmd file after the unattended install.