Solved

Find all users who have not changed there password for more than 90 days.And then check the change password on next logon

Posted on 2007-12-02
5
266 Views
Last Modified: 2010-04-21
Hi,

Find all users who have not changed there password for more than 90 days.And then check the change password on next logon.
First list the users to a file who have not changed the password in ADS.Later another script than sets them to change the password on next logon.

Regards
Sharath
0
Comment
Question by:bsharath
  • 2
  • 2
5 Comments
 
LVL 7

Accepted Solution

by:
tcicatelli earned 300 total points
Comment Utility
Why wouldn't you just set a policy to force all users to change their password every 90 days under account policy settings?  It's a built-in feature.  I wouldn't go to the trouble of trying to find people now.  In 90 days the point would be moot.  

If you wanted to, you could just force everyone to change their password at next login and then the policy will take care of the rest.
0
 
LVL 11

Author Comment

by:bsharath
Comment Utility
Firstly i need to see if anyone has changed there password or not.As we have already repeatly communicated to the users to change the passwords.
First find then set the password change policy.Is there a script that i can do this...
0
 
LVL 30

Assisted Solution

by:LauraEHunterMVP
LauraEHunterMVP earned 200 total points
Comment Utility
> "In 90 days the point would be moot."

If users haven't changed their passwords, it'll be moot in a lot less than 90 days.  If you set a maximum password age of 90 days on Monday and a user's password hasn't been changed in 91 days, they will be prompted to change at their next logon.
0
 
LVL 7

Assisted Solution

by:tcicatelli
tcicatelli earned 300 total points
Comment Utility
Here's the location of a script that will tell you the last time a user changed their password.

http://www.rlmueller.net/PwdLastChanged.htm

As LauraEHunterMVP mentioned, just set a maximum password age of 90 days, and you can avoid using the script.
0
 
LVL 11

Author Closing Comment

by:bsharath
Comment Utility
Thanks....
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

This article will show, step by step, how to integrate R code into a R Sweave document
Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

762 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