7

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?

4 Answers 4

10

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

9

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
3
  • The bat thing about this is that you saved the password in plain text. Using Sysinternals Autologon tool you saved it encrypted. Oct 17, 2011 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, 2011 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, 2012 at 15:40
3

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

0

Auto logon function works only when the LOCAL ACCOUNT is created. If you need domain account to have auto logon on you need to create a separate Policy for that server but this is temporary.

Please note auto logon works for local account not domain account / user

https://docs.vmware.com/en/VMware-Workstation-Player-for-Windows/16.0/com.vmware.player.win.using.doc/GUID-8F4AC8BD-F5E0-4ABA-B1B3-80041EBBD9F3.html

Prerequisites - 2nd point

1
  • That is a limitation in the VMWare Autologon. SysInternals and other tools don't have that limitation.
    – Greg Askew
    Nov 25, 2022 at 14:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .