Setting a Minimum Password Length

Posted On 2007-05-03 by FortyPoundHead
Keywords: Setting a Minimum Password Length (Windows 9x and NT)
Views: 1651

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.
1. Using Regedit, open the key below, if the Network sub-key does not already exist then create it.
2. Add a new REG_BINARY value of 'MinPwdLen', and set the data to the minimum number of characters required for a password to be accepted.
Note: This does not affect existing passwords, only new or changed.

Key: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Network]
Value Name: MinPwdLen

About the Author

FortyPoundHead has posted a total of 1974 articles.

Comments On This Post

No comments on this post yet!

Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.

Your IP address is:

Before you can post, you need to prove you are human. If you log in, this test goes away.

Code Links