Find out when a user last changed their Password

  • Thread starter Thread starter JUMPURS
  • Start date Start date
J

JUMPURS

Hi all,

is there any way to find out on what dates a user has
changed there password in a Windows 2000 Domain??

I found a couple of things about it on the MS KB but it
seems to all be NT 4 ways.

Cheers

John
 
Hi all,

is there any way to find out on what dates a user has
changed there password in a Windows 2000 Domain??

I found a couple of things about it on the MS KB but it
seems to all be NT 4 ways.

Cheers

John


From your workstation, open a CMD.EXE window and type
net user TheUserName /domain

If you want the output in a variable:

set nu=net user TheUserName /domain
for /f "Tokens=4*" %%a in ('%nu%^|findstr /i /c:"Password last set"') do (
set pd=%%a
set pt=%%b
)


Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 
Back
Top