TIP: Windows XP: automatic logon

Questions and Answers : Windows : TIP: Windows XP: automatic logon
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Alexhs
Avatar

Send message
Joined: 25 Sep 02
Posts: 47
Credit: 163,099
RAC: 0
Greece
Message 5280 - Posted: 8 Jul 2004, 14:27:24 UTC

Well, it's not a question, it's only a tip that was useful for me when a power failure occured. It may be useful for others too.

I copy from Microsoft's site:

How to turn on automatic logon in Windows XP

A. When joined to a domain:

You can use Registry Editor to add your log on information. To do this, follow these steps:
Click Start, click Run, type regedit, and then click OK to start Registry Editor.
Locate the following registry key:
HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\WindowsNT\\CurrentVersion\\Winlogon

Using your account name and password, double-click the DefaultUserName entry, type your user name, and then click OK.
Double-click the DefaultPassword entry, type your password under the value data box, and then click OK.

If there is no DefaultPassword value, create the value. To do this, follow these steps:
In Registry Editor, click Edit, click New, and then click String Value.
Type DefaultPassword as the value name, and then press ENTER.
Double-click the newly created key, and then type your password in the Value Data box.
If no DefaultPassword string is specified, Windows XP automatically changes the value of the AutoAdminLogon registry key from 1 (true) to 0 (false) to turn off the AutoAdminLogon feature.
Double-click the AutoAdminLogon entry, type 1 in the Value Data box, and then click OK.

If there is no AutoAdminLogon entry, create the entry. To do this, follow these steps:
In Registry Editor, click Edit, click New, and then click String Value.
Type AutoAdminLogon as the value name, and then press ENTER.
Double-click the newly created key, and then type 1 in the Value Data box.
Quit Registry Editor.
Click Start, click Restart, and then click OK.
After your computer restarts and Windows XP starts, you can log on automatically.

If you want to bypass the automatic logon to log on as a different user, hold down the SHIFT key after you log off or after Windows XP restarts. Note that this procedure applies only to the first logon. To enforce this setting for future logoffs, the administrator must set the following registry key:
HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\WindowsNT\\CurrentVersion\\Winlogon

Value:ForceAutoLogon
Type: REG_SZ
Data: 1

B. Not joined to a domain:

Click Start, and then click Run.
In the Open box, type control userpasswords2, and then click OK.
In the dialog box that appears, click to clear the Users must enter a user name and password to use this computer check box, and then click OK.

ID: 5280 · Report as offensive
John McLeod VII
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 15 Jul 99
Posts: 24806
Credit: 790,712
RAC: 0
United States
Message 5286 - Posted: 8 Jul 2004, 14:45:14 UTC

The next version of the CLI will start when the machine starts.

ID: 5286 · Report as offensive
Profile Christopher Hauber
Avatar

Send message
Joined: 10 Feb 01
Posts: 196
Credit: 71,611
RAC: 0
United States
Message 5619 - Posted: 9 Jul 2004, 13:26:18 UTC - in response to Message 5286.  

> The next version of the CLI will start when the machine starts.

Or you could just use the CLI version to install BOINC as a service and then change the service properties so that BOINC run with system credentials rather than logging into a the network service account or whatever it tries to use instead. When I first installed it as a service it couldn't start BOINC properly anyway and when I changed to that it worked with the added advantage of running all the time just so long as Windows was loaded (not just logged in).
ID: 5619 · Report as offensive
Profile e28

Send message
Joined: 29 Dec 02
Posts: 5
Credit: 32,475
RAC: 0
United States
Message 6216 - Posted: 10 Jul 2004, 19:27:57 UTC
Last modified: 15 Jul 2004, 15:12:41 UTC

An easier method is to download and install TweakUI (Microsoft XP PowerTools) from microsoft.com:
http://www.microsoft.com/downloads/details.aspx?FamilyID=afa135c8-8b63-4c03-8986-d7f45a6aa1fa&displaylang=en

One of the features you can set is Auto Login.

ID: 6216 · Report as offensive
Profile motorfreek2090

Send message
Joined: 20 Feb 05
Posts: 2
Credit: 9,617,044
RAC: 11
United States
Message 350567 - Posted: 28 Jun 2006, 4:21:14 UTC

Why bother with TweakUI and registry stuff?????????????
In Windows XP:
Click start
Run
put "control userpasswords2" in the run box
open it
Uncheck the box that says "Users must enter a username and password to use this computer"
Hit okay and put in your default login credentials.
ID: 350567 · Report as offensive

Questions and Answers : Windows : TIP: Windows XP: automatic logon


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.