How to auto login in Windows 10 with PIN?

20,834

It sounds like you're avoiding disabling the PIN, but if you are willing to disable it you can get auto login working this way:

1. Disable your PIN

  1. In the Start menu click the Settings gear/cog.
  2. Click the Accounts section.
  3. On the left choose Sign-in options.
  4. Under the PIN heading click Remove.

2. Enable Auto Login

  1. Open a Run dialog (press R while holding the Windows key) and type netplwiz and press Enter or click OK.
  2. In the dialog that opens uncheck "Users must enter a user name and password to use this computer." and click OK or Apply.
  3. It'll ask you to provide account details to auto login with -- provide that and click OK. Make sure you enter this correctly! If you don't it will still accept it and you just won't auto login later.

After that on the next restart you'll auto login!

Share:
20,834

Related videos on Youtube

mk117
Author by

mk117

Updated on September 18, 2022

Comments

  • mk117
    mk117 over 1 year

    I recently reinstalled Windows 10 on my Dell XPS Laptop. On my older system, I had the admin auto logon feature turned on via the registry settings. This setting required a defaultPassword String value in the winlogon registry node. Since my previous system only had a local account with a password instead of PIN, I'm not having trouble to setup auto login on my new system on which I've added a PIN login for my Microsoft account.

    I don't need the PIN disabled, cause I don't intend to allow access to my system on wakeup/lock-screen/or restart.

    I have added a lockscreen.bat:: (rundll32.exe user32.dll, LockWorkStation) to my startup folder on Windows 10. This batch file locks my computer after it's restarted and logged in.

    I'm trying to disable login on system start, and then lock it again via the batch script to allow loading of programs etc, to avoid delayed startup caused by windows start stuck at login.

    On my previous Windows 10 machine, this was done easily, although now it's difficult due to the PIN. Error is that it says that the username password don't match.

    • Ramhound
      Ramhound about 8 years
      You can't; You can only auto-login with a password, you need a password, to have a pin so that should be doable
    • Ramhound
      Ramhound about 8 years
      Sound like your auto logging into the wrong account currently
    • mk117
      mk117 about 8 years
      I have the password to my Outlook account, although during Windows 10 installation, I had set up a PIN code to login instead of logging in to my account with my account password every time. I'm not signing in to the wrong account.. It's just I thought there would be a registry string DefaultPIN instead of normal DefaultPassword (in Winlogon) ..
    • Ramhound
      Ramhound about 8 years
      You "had" to set it up? A pin is optional...a password is required if you want to use a pin
    • mk117
      mk117 about 8 years
      I knew the PIN was optional, although I preferred PIN over @outlook.com password to prevent logging in to my outlook account on each system restart! Also, for autologin, keeping the outlook password in registry as string is not secured!
    • Ramhound
      Ramhound about 8 years
      It is the only way to automatically log into the account.