[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Script to determine accounts that have been inactive for 60 days in Windows 2000

Posted on 2006-05-18
Medium Priority
Last Modified: 2010-04-13
Does anyone know of a script that will help me determine which user accounts in my Windows 2000 domain have been inactive for at least 60 days?  Thanks!
Question by:nailerpa
LVL 20

Accepted Solution

Debsyl99 earned 1000 total points
ID: 16713080
I haven't tested this myself as I'm off site - however it's worth a look as it explains how you'd begin to go about it. DO NOT run the script for user account cleanup as it is unless you understand exactly what it's doing or have made amendments to it - it'll delete user accounts.
Deb :)

LVL 35

Assisted Solution

by:Nirmal Sharma
Nirmal Sharma earned 1000 total points
ID: 16715551
User accounts inactive for more than 60 days will be deleted automatically from domain provided TomStoneLifeTime value is set and Garbage collection process is enabled.

By default both are enabled.

So to answer you  - either you need to disable Garbase Collection process on Domain or run the script with minimum value set in it (less than 60 days).

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Currently, there is an issue with being able to copy values from an external application to a dropdown list in Project Web Access (PWA).  The standard copy and paste methods don't seem to work properly. Here is a way to accomplish this task to s…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

834 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