Jump to content

Recommended Posts

Posted
there is some software from script logic "actice administrator", tha monitors your AD for any changes, you can then set alerts or look though a log file of stuff you specify, rather than searching through your DC event logs, i used a demo a while back and it was excellent not sure how much it is tho! sure you could probaly get a edu discount tho
Posted

If you want them to, you could force them to change it, and then check to see if the tick box has been removed once it has been changed from 'Change password at next login'.

 

I was sure I have seen a MS snapin for the MMC 2003 console which allows you to find out when a user last changed their password and also, view the times and dates etc that they logged into in the past. Maybe I am getting to consoles confused.

Posted
I thought that by using vbs you could query the AD to find out when the password was last changed.

 

Indeed, this is the vbs I use:

Set objUser = GetObject("LDAP://CN=someuser,OU=Some child OU,OU=Some OU,DC=domainame")

dtmValue = objUser.PasswordLastChanged ' LINE 2

WScript.Echo "The password was last set on " & _

DateValue(dtmValue) & " at " & TimeValue(dtmValue)

Posted

You can check that sort of thing with a dsquery:

 

dsquery user -stalepwd 1000 -limit 0

 

1000 means they've not changed their password in 1000 days.

0 means that you'll get all results back instead of it truncating to the first 100.

 

If you want meaningful names back, try:

 

dsquery user -stalepwd 1000 -limit 0 | dsget user -samid -fn -ln

 

(You'll need the windows adminpak installing if you haven't already got it on.)

 

UPDATE: damnit, beaten to it!

Posted

Wow - don't some people make life difficult :-)

 

What about:

net user 12345 /domain

at a command prompt (of a server or workstation) - that bit which says "password last set" is the info you need for user "12345" - put the username in as needed :-)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...