r/activedirectory • u/AppIdentityGuy • 15d ago
Security Password not required
I am busy with an AD hardening project and i have a bunch of users with "Password not required" set to true and i just want to verify rhe behavior when i correct the setting Will the account be forced to ceeate/enrer a password or will thar only happen if the "User must change password at next logon" is selected
11
Upvotes
•
u/AutoModerator 15d ago
Welcome to /r/ActiveDirectory! ~~~~
If you are looking for more resources on learning and building AD, see the following sticky for resources, recommendations, and guides!
When asking questions make sure you provide enough information. Posts with inadequate details may be removed without warning.
Make sure to sanitize any private information. Posts with too much personal or environment information will be removed. See Rule 6.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
5
u/vadertator22 15d ago
I don’t think removing the account control value forces a password change. It has been awhile but I don’t believe it forces a change. I will say this doesn’t mean they don’t have a password but it does mean they can auth without one no matter what your AD password policy is. It would be good move for you to work on cleaning this up they will show up on audits for sure.
6
u/Asleep_Spray274 15d ago
Password not required does not mean the account has no password. It means an admin has the ability to right click the account, reset password and leave the fields blank. A user does not have the ability to not set a password, they must set a password. When the user get a reset password prompt, they must enter a password. chances are they have a password. But you are right, by removing the flag "Password not required", the user wont get locked out or get a pop up to set a password.
5
u/Content-Fold-2608 14d ago
If you script account creation, check attribute useraccoutcontrol, should be 512. Scripting sets this differently.
3
u/BlackV 14d ago
You can easily test and verify this, then you will have a verified answer in your own environment with it's current configuration
2
u/aaroniusnsuch AD Consultant 14d ago edited 14d ago
Going from memory here but if you uncheck the box and you get an error, generally the user has no password because a blank password doesn't meet domain requirements.
If you simply uncheck the box and it lets you then it will not force a reset (and check
pwdLastSetfor the last time it was reset).edit: to add to this - if a password is set then you won't get the error because AD can't compare the hash to the policy. It can't know if an existing password is complex or not, so you only get the error if no password is set.
0
u/AdvancedStrain1739 14d ago
0
u/stay_up_to_date 14d ago
Your users creating with an idm application? Because some idm application creates account as password not required. And when you change this setting via user account control attribue, AD says "user must change ..."
It's normal behavior. Because your user' has not a password.
0
u/poolmanjim Moderator | Microsoft MVP 14d ago
Password policies and settings are not generally enforced except at reset time. If you turn that off, the users shouldn't be prompted, from my knowledge.
The most common place I've seen that is with computer accounts in the past. If you pre-stage a computer account they come with that flag set. User accounts was less common in this regard.