[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 190
  • Last Modified:

How can i know when was last time password chnage in AD 2003

I want  to generate a report that will give me detail about when was last time password changed for All AD users...

Thanks in Advance

0
faizuuu
Asked:
faizuuu
  • 2
  • 2
1 Solution
 
PakaCommented:
You could use VBScript but you can manage old user accounts an easier way.  Logon to your DC, open a command prompt and type:
"dsquery user -stalepwd 45"

This will give you a list of all users that haven't changed their password for 45 days.

0
 
faizuuuAuthor Commented:
i tried dsquery on my windows 2000 AD but its not working can u help me out why
0
 
PakaCommented:
Are you running Windows 2003 or Windows 2000?
0
 
KCTSCommented:
DSquery if for Win2003/2008 only, try the VB script referred to in my first post
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now