Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am a software developer, I should test my application for if a user's password is expired. (windows authentication is used) So I want to expire my windows password to provide the test condition. How can I do this?


share|improve this question
up vote 5 down vote accepted

Do you have Domain Admin rights? or Local admin rights if not in a domain?

You can select the user in either "Active Directory Users and Computers" or "Computer Management". Then you can choose "User must change password at next login".

Or: You can change group policy to force it expired settings..account policies..password policy

share|improve this answer
thank you, great answer. – MrOK Sep 1 '09 at 11:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.