How to find out how long before password expires

Server 2008 r2 with win7 clients

Is there someway I can display how many days before a userid's password expires
c7c4c7Asked:
Who is Participating?
 
Tej Pratap Shukla ~DexterServer AdministratorCommented:
hi..

This can be achieved by using the Batch or DOS Command

The command used to carried out the task is given below: -

net user username

Open in new window


If you were on a domain you would need to add the switch /Domain. In your case, just insert the username.

This will list the most important details of that account, including the expiry date of the user password.

Thanks
Dexter
0
 
ReceptCommented:
If your happy with Powershell this has all of the components your after.

http://community.spiceworks.com/topic/450325-2-part-issue-place-password-reset-reminders-in-remote-user-s-outlook-calendar

It'll identify and email staff of expiring passwords
0
 
c7c4c7Author Commented:
That works perfectly.

Thanks for the help
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.