Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Since I installed ShrewSoft VPN it defaults to the user when I boot up instead of my local user. I'm not a fan of this since it's only rarely used and I would like for my admin account to be the default user. Is there a setting or registry setting I can modify to put my local admin account back as the default user when my computer boots up?

share|improve this question
up vote 7 down vote accepted

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.

share|improve this answer
If you've already done this, but have added a different user and want it to be the default, just re-tick, logoff, logon as the user you want defaulted, and repeat the above process. That will set the default user to a different user. – xanadont Oct 15 '13 at 15:59

This worked for me, went to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
and changed DefaultDomainName and DefaultUserName values to the desired string data.
Additionally for auto-login it needs to be set (create it if it does not exist) the DefaultPassword value with the user password as string.

share|improve this answer

in SEARCH, type CMD, and with right click choose "RUN AS ADMINISTRATOR" and execute this command (just change USER_NAMEEEEE below):

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

/t means type
/v means key
/d means value
/f means overwrite

share|improve this answer

You must log in to answer this question.

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