Skip to content. | Skip to navigation

Personal tools
You are here: Home wiki LoginToWindowsAutomatically


Login To Windows Automatically

DO NOT use this on an internet accessible server because the account name and password are stored in plain text in the registery.

It is an obvious security failing to setup a machine to do this, but in certain restricted circumstances is allowable if the machine is on a private network and is being used for automatic tests which entail rebooting the computer from time to time.

As follows, works for Windows XP Professional (and most likely other versions):

    My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

Add or enter values for !DefaultDomainName, !DefaultPassword, & !DefaultUsername

Reboot to test operation.