Registry Home > Security > Login and Authentication

Set the Minimum Password Length (All Windows)

You can force Windows to reject passwords that do not meet a minimum password length. Useful to help stop people from using trivial passwords where security is an issue.

This tweak can be easily applied using WinGuides Tweak Manager.
Download a free trial now!

Open your registry and find the key below, if the Network sub-key does not already exist then create it.

Create a new binary value named 'MinPwdLen', and set the data to the minimum number of characters required for a password to be accepted.

Note: This does not apply to existing passwords, only new or changed.

Registry Editor Example
|(Default)REG_SZ(value not set)|
Registry Settings
User Key: [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\
System Key: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\
Value Name: MinPwdLen
Data Type: REG_BINARY (Binary Value)

>> Recommended Download - check, repair and optimize your registry now with Registry Mechanic <<

Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.

Last modified: September 18, 2002