Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Account Inactivity

Posted on 2004-04-19
4
Medium Priority
?
1,247 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

Fill in the form and get your FREE NFR key NOW!

Veeam® is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

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

Have you ever set up your wireless router at home or in the office to find that you little pop-up bubble in the bottom right-hand corner of Windows read "IP Conflict - One of more computers on the network have been assigned the following IP address"…
We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
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 Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

604 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