Forum Discussion
Local user management password policy inconsistent behaviour
Hi all,
Maybe some of you can enlighten me regarding the windows 10 + 11 local user password policy.
The part that I want to question is "not contain parts of the user's full name".
Then, let's say I want to create a new user with the following detail:
- Fullname: Max Mustermann
- Username: TESTUSER1
- Pass: MaxPassword12345678
When I try to create that user via cmd or powershell, either using "net" or "New-LocalUser", it will not succeed and it will show the error "the password does not meet complexity....", which is expected.
However, if I try to create the same user with the same credential via lusrmgr, it will be created without any error.
So, why there is a different behaviour between lusrmgr and CLI?
Then, if we have the existing user, and try to change the password of that user via lusrmgr, and the password contains the part of the user's full name, then the error will be thrown as expected.
So, why is it only affect the lusrmgr and only when we create a new user?
Is this a bug?
Thanks!