简体   繁体   中英

How to Enforce Password Complexity Policy settings Windows

Is there any way we can enforce the password policy changes with the immediate effect ie enforce the user to change the password while logon if it is not met newly added policy settings.

I heard that something we can do with Powershell WMI Bridge Scripting. I am very much new to it any help on this topic please.

But as per Miscrosoft

https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/hh994562(v=ws.10)

the new password policy will come to effect when user changes password manually or age of the policy is over. not immediate.

is there any way we can enforce password change?

You could use PowerShell to check the User must change password at next logon check box for every user.

Set-ADUser -Filter * -ChangePasswordAtLogon:$true

would do just that. But please don't run it without knowing what you're doing!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM