Solved

How to find out how long before password expires

Posted on 2015-01-12
3
120 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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

To effectively work with Diskpart on a Server Core, it is necessary to write some small batch script's, because you can't execute diskpart in a remote powershell session. To get startet, place the Diskpart batch script's into a share on your loca…
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
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 walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…

920 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

13 Experts available now in Live!

Get 1:1 Help Now