Default Sign-in Option Changes to Password from PIN Automatically in Windows 10

When you sign-in to your user account or unlock the workstation, the last used sign-in method (PIN, Password or Windows Hello) is saved to the registry, and the same will be used the next time. However, you may notice that the default sign-in option reverts to password at every restart, even though you used PIN sign-in the last time to unlock the computer.

windows 10 login screen header

You can click the “Sign-in options” link below the password field and select PIN option — but it requires two mouse clicks every time.

::UPDATE:: This issue seems to have been fixed in Windows 10 v1903. The PIN sign-in choice is preserved even with automatic login enabled.

Why does the default sign-in option change from PIN to Password?

One reason why this problem happens is, you’ve configured automatic login to your Microsoft account using username and password, with control userpasswords2 (netplwiz.exe) method or using any other tool.

With automatic login enabled, when Windows starts, it logs in to your account automatically and immediately updates the last used sign-in method or the authentication mechanism, in the registry. This applies for every successful authentication — whether it’s a workstation unlock, or fresh login either locally or through remote desktop.

The last sign-in mechanism is stored in the following key, in the value name that matches your user account SID:


set pin as default sign-in

The SID value data contains the last used credential provider GUID. And manipulating the above key would be asking for trouble, as it might prove disastrous.

I used a REG file to update the last credential provider using Task Scheduler at every login and it did work well for some time. After a couple of reboots, Windows 10 stalled at “Preparing Windows” screen and logged me into a temporary profile. Fortunately, it was a test system and I had created a System Restore point beforehand.


To set PIN as the default sign-in method always, disabling automatic login is probably the only option right now. To do so, start netplwiz.exe. Enable the checkbox “Users must enter a user name and password to use this computer”, and click OK. This clears the saved auto-logon credentials.

set pin as default sign-in

Some users will say that would be the poorest trade-off, though. What users want is to automatically login to their account at startup, but set PIN as the default sign-in option when unlocking the device while logged on. Unfortunately, there is no safe way to do that, yet.

What are Credential Providers?

You don’t have to read this section — it just provides a brief intro on credential providers.

Credential providers are responsible for user authentication not just for Windows login, but also for authentication into apps, websites, etc.

Depending upon the login method you use — Password, PIN, biometric devices (Windows Hello – Fingerprint, Face, and Iris recognition), the respective credential provider takes charge and does user authentication to verify your identity.

Each credential provider is represented by a globally unique identifier (GUID). The GUID {D6886603-9D2F-4EB2-B667-1971041FA96B} is the credentials provider for PIN-based sign-in. When you use a password to login to your Microsoft Account (not local account), the GUID used is {F8A0B131-5F68-486C-8040-7E8FC3C85BB6}

This page at Sophos lists most, if not all, of the system credentials providers in Windows 10. And, check out the Microsoft developer documentation about Credential Providers in Windows 10.

One small request: If you liked this post, please share this?

One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
  • Pin it!
  • Share it to your favorite blog + Facebook, Reddit
  • Tweet it!
So thank you so much for your support. It won't take more than 10 seconds of your time. The share buttons are right below. :)

Ramesh Srinivasan is passionate about Microsoft technologies and he has been a consecutive ten-time recipient of the Microsoft Most Valuable Professional award in the Windows Shell/Desktop Experience category, from 2003 to 2012. He loves to troubleshoot and write about Windows. Ramesh founded in 2005.

9 thoughts on “Default Sign-in Option Changes to Password from PIN Automatically in Windows 10”

  1. Hi,
    So my computer is doing this, but the problem is I have no password so now I appear to be locked out of my computer. While there were options under the PIN field before, there is nothing under the password field that will allow me to switch to entering a PIN instead. Am I locked out forever? Can I force a toggle to PIN without logging in (i.e. so I can log in using the PIN), or do I have to reset the whole machine?

    • Same case for me as well. Locked out.
      I have pin but login is asking password and no option of switching to pin

  2. Its the other way around. I want to keep the PIN only as a backup in case I forget my password. But ever since I created a PIN it always prompts for it as the default. MS should have a simple way to control which way to login as the default—but of course they screw it up.

    • Same I’ve always had the opposite issue and would like the office365 credentials to be the default. It requires a pin to be configured during the out of box experience. You might be able to set the default using Intune, but I’d be afraid to mess up peoples current login experience.

  3. Thank you for the solutions and especially “Workaround” that you mentioned in your article. It worked perfectly for me after a Microsoft refresh. Now, so happy, I may log-in with my PIN number. Again, thank you.

  4. For me, I have the opposite of the problem reported in this article. I only want to use password, not PIN. Sysinternals Autologon was used to set up auto-logon, but this problem is also apparent when setting auto-logon via netplwiz.

    The problem scenario is:
    1/ Computer turned on
    2/ Computer auto-logs in to MS account with password (as expected)
    3/ Computer auto-locks workstation with scheduled task (as expected with ‘user32.dll,LockWorkStation’)
    4/ User attempt to unlock computer – see below

    Expected behaviour
    The selected sign-in option is the last succssful one, i.e. password

    Actual (incorrect) behaviour
    The selected sign-in option is PIN. This occurs even though I have actively removed the PIN from Settings > Sign in options

    I’m running Windows 10 Pro 20H2, fully patched.

  5. I have a similar problem, my sign-in methods seem to rotate. I’m running the most recent Windows 10 but each time today that I’ve locked the screen and had to come back in it’s been a different method. Now it just asked for my fingerprint, which I haven’t used in years and the profile for which has been archived as it was a work profile so initially I wasn’t able to choose any other option for sign in despite the “click here for other options” button that went nowhere. I rebooted and they came back and I was able to use my pin but hopefully this rotating thing stops.


Leave a Comment