Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

how can I search for two or three months old passwords on a Windows domain controller?

I am an administrator on this domain.

share|improve this question
Its difficult to determine what your after, are you looking to retrieve a list of users who's passwords will be expiring, or do you want to find out what a users password was 2-3 months ago? – Sam Jun 2 '09 at 12:10
i want to find out what a users password was 2-3 months ago? – kartook Jun 3 '09 at 10:16
You could accept the answer now. This way it's clear that it is the right answer to your question. Thank you! – splattne Aug 2 '09 at 14:42

dsquery user -stalepwd 60

Returns a list of all users with a password age of 60 days or more.

share|improve this answer
Kara mafia This is what i want exactly ..Thank you so much for kind help – kartook Jun 3 '09 at 10:34

have a look at this artice from the microsoft scripting guys

share|improve this answer

I'm not exactly sure I understand what you're asking for. But take a look at dsquery.exe, which can retrieve many interesting things from an Active Directory.

share|improve this answer

The ActiveDirectory extension to PowerShell GUI will also provide an extensive list of fields when exporting to CSV a list of AD users including password expiration

share|improve this answer
Finally i am expert to generate the reports on AD now .thanks to everyone guys .really i was learned this from here all – kartook Jul 10 '09 at 11:15

protected by splattne Aug 19 '10 at 6:26

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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