Solved

How to find out how long before password expires

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Remote Apps is a feature in server 2008 which allows users to run applications off Remote Desktop Servers without having to log into them to run the applications.  The user can either have a desktop shortcut installed or go through the web portal to…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

772 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