Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

gpedit.msc..computer config..windows settings..security 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.