To configure auto logon through the Registry follow these steps:
- Open Registry Editor.
- In Registry Editor, navigate to the following registry key:
- Create or modify the following value (REG_SZ):
and enter the exact username you'd like to use.
Then, create or modify the following value (REG_SZ):
and enter the exact password you'd like to use.
Note: The password is stored in clear text, allowing anyone with access to the registry (either locally or remotely) to see your password. Use with extreme caution!
Next, create or modify the following value (REG_SZ):
and enter a value of 1.
Finally, create or modify the following value (REG_SZ):
and enter the domain name you wish to logon to.
Note: As always, before making changes to your registry you should always make sure you have a valid backup. In cases where you're supposed to delete or modify keys or values from the registry it is possible to first export that key or value(s) to a .REG file before performing the changes.
- Close Registry Editor and reboot the computer.
Note: As far as I know, this trick will NOT work if the user does not have a password. It will only work once, but for subsequent logons it will stop working.