Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I need to setup publicly available computer to perform automatic log on using domain credentials when powering on. When it was not a domain member this option was available on control userpasswords2 panel, but after domain join this setting have gone.

Is there any way to accomplish this?

share|improve this question

3 Answers 3

up vote 7 down vote accepted

You can run a SysInternals tool from http://live.sysinternals.com/Autologon.exe to do the registry change a bit more easily.

share|improve this answer

Set the following settings in the registry, and it should work:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon

AutoAdminLogon = 1
ForceAutoLogon = 1
DefaultUserName = username
DefaultPassword = password
share|improve this answer
    
The bat thing about this is that you saved the password in plain text. Using Sysinternals Autologon tool you saved it encrypted. –  Ricardo Polo Oct 17 '11 at 20:19
    
Which is a good thing to point out, however that's true for all of these fixes. Not to mention if the PC is automatically logged into the domain, any random public user already has access to the domain under those particular credentials. –  gharper Oct 18 '11 at 15:34
1  
I've also added an auto-lock-pc startup task. This way, I can reboot my laptop, let it login/startup everything/lock while I'm grabbing a fresh pot of coffee ;) –  sanderd Aug 10 '12 at 15:40

You can use Registry Editor to add your logon information. To do this, follow these steps:

Click Start, click Run, type regedit, and then click OK.
Locate the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Double-click the DefaultUserName entry, type your account user name, and then click OK.
Double-click the DefaultPassword entry, type your account 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 the Note:DefaultPassword registry entry does not exist, Windows XP automatically changes the value of the AutoAdminLogonregistry key

from 1 (true) to 0 (false) to turn off the AutoAdminLogon feature after the computer restarts. 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.
Exit Registry Editor.
Click Start, click Restart, and then click OK.

After your computer restarts and Windows XP starts, you can log on automatically.

Copied from: http://support.microsoft.com/kb/315231

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.