Solved

Account Inactivity

Posted on 2004-04-19
4
1,242 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 125 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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Suggested Solutions

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"…
I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

734 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