McKnife
asked on
How to make a password expire now?
Hi experts!
I know how to reset a password and force the user to change his password at next logon. This is NOT what I am looking for here.
For testing purposes I need to make a single domain user account's password expire at a given time without changing the whole password policy. Is there a way?
The net user /expire switch is not meant for passwords but for accounts.
The domain functional level is 2008 if of interest, so PSOs could be one solution. Any other solution?
I know how to reset a password and force the user to change his password at next logon. This is NOT what I am looking for here.
For testing purposes I need to make a single domain user account's password expire at a given time without changing the whole password policy. Is there a way?
The net user /expire switch is not meant for passwords but for accounts.
The domain functional level is 2008 if of interest, so PSOs could be one solution. Any other solution?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
You know what?
Nevermind.
The PSO solution is ok and to be honest, not until writing down the question, I came up with the same thought that's why it appears late in the final sentence.
I will divide the points.
Nevermind.
The PSO solution is ok and to be honest, not until writing down the question, I came up with the same thought that's why it appears late in the final sentence.
I will divide the points.
ASKER
1. testuser
If I choose 1, it simply starts over and the attribute password last set doews not change - is this expected? Did you ever use this script yourself?