Finding age of password

Level: - Intermediate
Platform: - Windows XP, Windows 98, Windows 2000 server
Keywords: - finding age of users own password in domain, net user command
Author: - Dinesh Aggarwal

Is there an easy way for my users to determine the age of their own passwords, without having to ask the help desk for this?
-------------
At a cmd prompt, have them type NET USER (their username)

For example: NET USER BOB for the username BOB

This works only on domain controller

C:\>net user adighosh
User name                    adighosh
Full Name                    Aditya Ghosh
Comment
User's comment
Country code                 000 (System Default)
Account active               Yes
Account expires              Never

Password last set            3/15/2007 8:17 PM
Password expires             Never
Password changeable          3/15/2007 8:17 PM
Password required            Yes
User may change password     Yes

Workstations allowed         adighosh,itamgr
Logon script                 Autoinst.BAT
User profile
Home directory               \\srv\home\adighosh
Last logon                   3/16/2007 5:56 PM

Logon hours allowed          All

Local Group Memberships      *Administrators       *DnsAdmins
Global Group memberships     *CMS_Group            *Domain Admins
*Domain Users         *Enterprise Admins

C:\>net user dkaggarwal
User name                    dkaggarwal
Full Name                    Dinesh Aggarwal
Comment
User's comment
Country code                 000 (System Default)
Account active               Yes
Account expires              Never

Password last set            2/17/2007 9:17 AM
Password expires             4/2/2007 9:17 AM
Password changeable          2/17/2007 9:17 AM
Password required            Yes
User may change password     Yes

Workstations allowed         All
Logon script                 Autoinst.BAT
User profile
Home directory               \\srv\home\dkaggarwal
Last logon                   3/13/2004 12:10 PM

Logon hours allowed          All

Local Group Memberships      *Administrators       *DnsAdmins
Global Group memberships     *Domain Admins        *Domain Users
*Enterprise Admins    *IT Dept
The command completed successfully.

 

If you have any suggestions or want to add more to this article do write us an email articles@knowurtech.com

What Next?


If you liked this article, you can share it with others using the following link:


Related Content :