?
Solved

Account Inactivity

Posted on 2004-04-19
4
Medium Priority
?
1,244 Views
Last Modified: 2012-08-14
I am trying to find a tool or 3rd party software that will automatically disable an network account in Active Directory for any user after 90 days of inactivity. Is there a tool and / or software out there than can do this?
0
Comment
Question by:MJDevos
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 3

Accepted Solution

by:
following earned 500 total points
ID: 10902558
MJDevos,

R L Mueller has an excellent site with a vbs script that queries all domain controllers within a domain to find the last logon date/time of all users in that domain.  I'm sure you could add a bit to the end of the script that would compare the last logon date/time with the current date/time to see if 90 days has passed and disable the account if so.  The Technet script center has a sample script for how to disable an account with vbscript.

Here's the link to R L Mueller's script:

http://www.rlmueller.net/Last%20Logon.htm

Hope this helps,
-jdm
0
 

Author Comment

by:MJDevos
ID: 10902797
Currently does not run for me at the moment, have to play around with for a bit to see what and why it will not work. Get the following error....

"The Procedure Entry Point DoOpenPipeStream could not be located in teh dynamic Link Library ScrRun.dll"
0
 
LVL 3

Expert Comment

by:following
ID: 10903348
It sounds like you need the latest version of Windows Script installed:

http://msdn.microsoft.com/library/default.asp?url=/downloads/list/webdev.asp

-jdm
0
 

Author Comment

by:MJDevos
ID: 10917904
Downloaded and Installed and the VB Script ran, this will at least give me the information that I needed. Thanks.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article is in response to a question (http://www.experts-exchange.com/Networking/Network_Management/Network_Analysis/Q_28230497.html) here at Experts Exchange. The Original Poster (OP) requires a utility that will accept a list of IP addresses …
The Need In an Active Directory enviroment, the PDC emulator provide time synchronization for the domain. This is important since Active Directory uses Kerberos for authentication.  By default, if the time difference between systems is off by more …
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

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