Solved

Account Inactivity

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Nslookup is a command line driven utility supplied as part of most Windows operating systems that can reveal information related to domain names and the Internet Protocol (IP) addresses associated with them. In simple terms, it is a tool that can …
An article on effective troubleshooting
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

770 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