Jump to content

Recommended Posts

Posted

Hello

 

Anyone know of any way we can force Microsoft Password changes on a specific date (if it is possible) , rather than after a set number of days

 

Stephen

Posted

I don't think it's possible without some scripting. An AD account has a "PasswordLastSet" attribute and the domain will have a policy which defines maximum/minimum password age. Your computer will then know to force a password change from that.

 

The closest I think you'll be able to get is to run a script using a scheduled task which sets the "PasswordExpired" attribute, which is the same as ticking the "User must change password at next logon" box in the account properties in ADUC.

Posted
I suppose you could script something to run at midnight on the day in question and just raise the 'user must change password at next logon' flag?
  • 1 month later...
Posted

Unless you are doing this for a specific reason I would avoid forced password resets - Please see the NCSC Gov website for more info (in fact PaulKerton has linked you directly).

 

However if this is for a specific task, such as to reimplement a higher password requirement etc and you want everyone to set new passwords this one time I'd recommend just writing a Powershell script.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...