I found directions online for how to set automatic login in Vista on a machine that’s also on a domain. Normally to set it to automatically log in you can just check a box in the advanced user account settings window. But that box isn’t there if your machine is on a domain. In order to get it to work you have to edit the registry. This is more so for my own notes so I don’t have to risk losing this in my bookmarks or something. But maybe it’ll help others.
Doing anything in the registry can really screw up your computer if you don’t know what you’re doing. Do this at your own risk.
Automatic login on a non-domained machine:
- Type netplwiz into the search bar to open the settings box for user accounts.
- Highlight the username you want to automatically log in and uncheck the box,
users must enter a user name and password to use this computer.
- Type in your user name and password to verify and close everything.
Automatic login on a domained machine:
- Start menu -> type regedit in the search bar and hit enter.
- Go to this registry key:
- Double-click the DefaultUserName entry, type the user name to log on with, and then click OK.If DefaultUserName registry value name is not found, create the new String Value (REG_SZ) with value name as DefaultUserName.
- Double-click the DefaultPassword entry, type the password for the user account under the value data box, and then click OK.If there is no DefaultPassword value, create a new String Value subkey (REG_SZ) with DefaultPassword as the value name.Note that if no DefaultPassword string is specified, Windows automatically changes the value of the AutoAdminLogon registry key from 1 (true) to 0 (false) to turn off the AutoAdminLogon feature.
- In Windows Vista, DefaultDomainName has to be specified as well, else Windows will prompt of invalid user name with user name displayed as .\username. To do so, double click on DefaultDomainName, and specify the domain name of the user account. If it’s local user, specify local host name.If the DefaultDomainName does not exist, create a new String Value (REG_SZ) registry key with value name as DefaultDomainName.
- Double-click the AutoAdminLogon entry, type 1 in the Value Data box, and then click OK. If there is no AutoAdminLogon entry, create a new String Value entry (REG_SZ) with AutoAdminLogon as the value name.
- If it exists, delete the AutoLogonCount key.
- Quit Registry Editor.
- Restart your computer.