Solved

How to find out how long before password expires

Posted on 2015-01-12
3
115 Views
Last Modified: 2015-01-12
Server 2008 r2 with win7 clients

Is there someway I can display how many days before a userid's password expires
0
Comment
Question by:c7c4c7
3 Comments
 
LVL 11

Accepted Solution

by:
Tej Pratap Shukla ~Dexter earned 500 total points
ID: 40545972
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
 
LVL 5

Expert Comment

by:Recept
ID: 40546014
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
 

Author Closing Comment

by:c7c4c7
ID: 40546022
That works perfectly.

Thanks for the help
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
OfficeMate Freezes on login or does not load after login credentials are input.
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now