After the computer is added to the domain, you need to enter the user name and password each time you log on to the computer. This is troublesome and you want the computer to automatically log on after it is started.
The general steps for viewing the online method are as follows:
1. Enter control userpasswords2 in start-run;
2. In the pop-up dialog box, remove the hook before "to use the local machine, you must enter the user name and password". Click Apply. After the dialog box appears, in the top "User Name" column, enter your account user name xxxxxxxxxx (in the "password" column below, if you have a password, enter a password.
3. log on to The xxxxxxxxxx account after restart.
However, after you enter control userpasswords2, the dialog box that appears does not show the check box "to use the local machine, you must enter the user name and password", for example:
This problem should be caused by Microsoft's failure to log on automatically after the computer is added to the domain for security purposes. In addition, the option box "no password is set on the computer" does not appear.
Solution:
Modify registry
Under HKEY_LOCAL_MACHINE> Software> Microsoft> Windows NT> CurrentVersion> Winlogon, manually set AutoAdminLogon to 1, and the option box appears again.
You can also directly modify the Registry without using the interface. You also need to set the values of DefaultUserName and defaultpassword.