Changing Windows 7 default user on bootup

Solution 1:

it is ultimately controlled by registry but you dont need to go this far, there's a nice handy tick box you can change (and then provide default logon credentials)

Press windows & R for run box

type "netplwiz" or "control userpasswords2" - either will work fine

Untick "Users must enter a user name and password to use this computer."

You will then be prompted to enter default login details, just OK this box unless you have a password in which case type this in, then apply and restart, PC will Auto-login.

Solution 2:

I found that it was this:

HKLM\Software\Microsoft\Windows\CurrentVersion\Authentication\LogonUI

LastLoggedOnSAMUser = Computername\username (or domainname\username for a domain account)

LastLoggedOnUser = .\username (or domainname\username for a domain account)

Solution 3:

Easier method:

Type cmd (in search), and right click RUN AS ADMINISTRATOR and execute these commands (just change User with your actual username, and WORKGROUP with your actual domain name):

reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /t REG_SZ /v DefaultDomainName /d WORKGROUP /f && reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /t REG_SZ /v DefaultUserName /d User /f


p.s.
/t means type
/v means key
/d means value
/f means overwrite