Stretching Your Password: Extending PINs in Windows OSes

Stretching Your Password: Extending PINs in Windows OSes

David Lv13

Stretching Your Password: Extending PINs in Windows OSes

Windows Hello enables users to sign into Windows 11/10 accounts with PINs. That feature restricts users to four-character PINs by default. There isn’t an option available within the Change your PIN box to set a longer PIN that includes more than four characters.

So, it doesn’t seem users can set longer, more secure PINs for signing in to Windows. However, there are two ways to set a new minimum PIN length for the Hello PIN sign-in method. This is how you can extend the PIN length in Windows 10 and 11.

Disclaimer: This post includes affiliate links

If you click on a link and make a purchase, I may receive a commission at no extra cost to you.

How to Extend the PIN Length by Editing the Registry

Windows 11/10 Home doesn’t have any built-in setting for extending the minimum PIN length. So, many users will have to extend PIN length by creating a new PINComplexity registry key. Then you can set a new minimum PIN length value within that key. You can extend the Windows Hello PIN length by editing the registry as follows:

  1. To view the file finder tool, press that utility’s Win + S keyboard shortcut.

  2. Type regedit in the file search box and select its result to open Registry Editor .

  3. Enter this path inside Registry Editor’s address bar and press Return:
    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\

  4. If the Microsoft key doesn’t have a PassportForWork subkey, you’ll need to set one up. To do so, right-click on the Microsoft key and select New > Key.
    The New > Key options

  5. Type PassportForWork in the new key’s text box.

  6. Next, right-click on the PassportForWork key to select the New and Key options on Registry Editor’s context menu.

  7. Enter PINComplexity inside the key’s text box to set that name.

  8. Right-click the PINComplexity key to select New > DWORD (32-bit) Value.

  9. Enter MinimumPINLength in the DWORD text box.
    The MinimumPINLength DWORD

  10. Double-click the new MinimumPINLength DWORD you’ve created.

  11. Select the Decimal option.

  12. Then input a number higher than four in the Value data box and click OK. The value you enter there will be the new minimum character length for the Windows Hello PIN.
    The Edit DWORD window for the MinimumPINLength DWORD

  13. You can also set a maximum PIN length. To do so, right-click PINComplexity again and select the DWORD (32-bit) Value option on the New submenu.

  14. Type MaximumPINLength into the DWORD’s text box.
    A MaximumPINLength DWORD text box

  15. Double-click MaximumPINLength to view the Value box for that DWORD.

  16. Click on the Decimal radio button.

  17. Enter a number higher than the one set for the MinimumPINLength DWORD and select OK.
    The Edit DWORD window for the MaximumPINLength DWORD

  18. Finally, exit the Registry Editor window and restart your PC.

Now you’ll see an “organization requires that you change your PIN message” when you try to sign in with the PIN usually entered. Click OK to view some options for setting a new PIN. Then input a longer identification number with the minimum number of characters required inside the New and Confirm PIN boxes.

The change your PIN message

If you’ve not set a Windows Hello PIN before, you can do so via Settings. Our guide to setting a PIN in Windows includes instructions for how to do so. Your PIN must have the minimum number of characters set with the PINComplexity registry key.

How to Extend the PIN Length With Group Policy Editor

Windows Pro and Enterprise editions have a Group Policy Editor tool that includes options for setting minimum and maximum PIN lengths. So, you don’t need to manually edit the registry to set a minimum PIN length if you can access Group Policy Editor. This is how to extend Windows Hello’s PIN length with Group Policy Editor:

  1. Press Windows logo key + R and enter gpedit.msc in Run.
  2. Click on Run’s OK button to access Group Policy Editor .
  3. Double-click on Computer Configuration in the left sidebar.
  4. Next, double-click Administrative Templates to extend it.
    Administrative Templates in Group Policy Editor
  5. Then click the arrow by System and select PIN Complexity.
https://techidaily.com
  1. Double-click on the Minimum PIN Length policy.
    The PIN Complexity policy settings
  2. Click the Enabled radio button to activate a Minimum PIN Length box.
https://techidaily.com
  1. Then input a higher value in the Minimum PIN Length box.
    The Minimum PIN Length policy window
  2. Select Apply and OK to set the new PIN length policy.
  3. You can also set a max PIN length much the same by clicking the Maximum PIN Length policy, selecting Enabled, and inputting a new value. Then click on Apply and OK within the Maximum PIN length window.
    The Maximum PIN Length policy window
https://techidaily.com https://techidaily.com

Extend Your Windows PIN to Make It More Secure

Extending the minimum PIN length for logging in to Windows with one of the methods above is a good security measure. The longer your Windows Hello PIN is, the more secure your PC will be. However, an overly long PIN will be harder to remember. So, don’t make your PIN too long!

Windows Hello also enables users to set alternative biometric authentication. Fingerprint or retina authentication types are more advanced Windows Hello features than PINs. However, you’ll need a PC that supports such biometric security features to enable them.

So, it doesn’t seem users can set longer, more secure PINs for signing in to Windows. However, there are two ways to set a new minimum PIN length for the Hello PIN sign-in method. This is how you can extend the PIN length in Windows 10 and 11.

Also read:

  • Title: Stretching Your Password: Extending PINs in Windows OSes
  • Author: David
  • Created at : 2024-11-01 16:56:40
  • Updated at : 2024-11-07 22:59:49
  • Link: https://win11.techidaily.com/stretching-your-password-extending-pins-in-windows-oses/
  • License: This work is licensed under CC BY-NC-SA 4.0.