Improve company productivity with a Business Account.Sign Up

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

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
0
c7c4c7
Asked:
c7c4c7
1 Solution
 
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.

Join & Write a Comment

Featured Post

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

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