Home » 2011 » October » 28

Daily Archives: October 28, 2011

How to enable Automatic Login On Windows Server 2003

Its usual for me,and most of techies,to use multiple virtual machines.Some times I found it really annoying to type in my credentials each time I login. For some virtual machines i simply want, automatic login each time I start the machine , or reboot it for some reasons. Following is the step by step guide of how to enable automatic login on Windows Server 2003 (i taken it from some KB article which I dont remember now). Any ways pretty handy.
1. Click Start, and then click Run.
2. In the Open box, type Regedt32.exe, and then press ENTER.
3. Locate the following subkey in the registry:

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogon
4. Double-click the DefaultUserName entry, type your user name, and then click OK.
5. Double-click the DefaultPassword entry, type your password, and then click OK.NOTE: If the DefaultPasswordvalue does not exist, it must be added. To add the value, follow these steps:

a. On the Edit menu, click New, and then point to String Value.
b. Type DefaultPassword, and then press ENTER.
c. Double-click DefaultPassword.
d. In the Edit String dialog, type your password and then click OK.

NOTE: If no DefaultPassword string is specified, Windows automatically changes the value of the AutoAdminLogon key from 1 (true) to 0 (false), disabling the AutoAdminLogon feature.

6. On the Edit menu, click New, and then point to String Value.
7. Type AutoAdminLogon, and then press ENTER.
8. Double-click AutoAdminLogon.
9. In the Edit String dialog box, type 1 and then click OK.
10. Quit Registry Editor.
11. Click Start, click Shutdown, and then type a reason in the Comment text box.
12. Click OK to turn off your computer.
Restart your computer. You can now log on automatically