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


Report of all accounts in AD that have not logged in during a specific time frame.

Posted on 2006-12-01
Medium Priority
Last Modified: 2010-04-13

What is the easiest way to generate this report?

Question by:Gazzbut
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
  • 3
LVL 63

Expert Comment

ID: 18055067
I am not sure you can get this, but the Sysinternal, wininternals site  ( bought buy MS recently ) should have some good tools.

I hope this helps !
LVL 38

Expert Comment

ID: 18055161
If your domain is at the 2003 functional level then you can just run dsquery user -inactive <number of weeks>

However, since you're posting this in the Windows 2000 area I'm guessing that won't work.  You might have to use something like the vbscript in this article:
LVL 63

Expert Comment

ID: 18055233
also see


How to use Csvde to import contacts and user objects into Active Directory
View products that this article applies to.
Article ID     :     327620
Last Review     :     September 19, 2005
Revision     :     8.4
This article was previously published under Q327620
On This Page
Windows 2000 contact with no e-mail addressWindows 2000 contact with no e-mail address
Windows 2000 user, no mailbox or e-mail addressWindows 2000 user, no mailbox or e-mail address
This step-by-step article describes how to use the Csvde.exe utility to create contacts and user accounts in Active Directory. You may have to use this method in some scenarios, for example, when administrators want to export custom recipients from Microsoft Exchange Server 5.5 and import them into Active Directory as Microsoft Windows contacts.

Csvde.exe is a Microsoft Windows 2000 command-line utility that is located in the SystemRoot\System32 folder after you install Windows 2000. Csvde.exe is similar to Ldifde.exe, but it extracts information in a comma-separated value (CSV) format. You can use Csvde to import and export Active Directory data that uses the comma-separated value format. Use a spreadsheet program such as Microsoft Excel to open this .csv file and view the header and value information. See Microsoft Excel Help for information about functions such as Concatenate that can simplify the process of building a .csv file.
Tools Available in Windows 2000 Support Tools

and a lot of other Resource kit tools

Many of the following tools were included in previous Windows Resource Kits, but are now part of the Windows 2000 Support Tools, located on the Windows 2000 operating system CD-ROM in the \support directory. The Support Tools must be installed separately from the Windows 2000 operating system.

Each Support Tool is listed below by both its filename and its friendly name, if it has one, to facilitate finding the tool.

Tool Description partial list
ADSI Edit  Microsoft Management Console snap-in that acts as a low-level editor for Active Directory.
Apmstat.exe: Advanced Power Management Status  Determines a computer's ability to exploit power management features in Windows 2000.
Browstat.exe: Browser Status  General purpose network-browser diagnostic tool.
Clonepr.dll: ClonePrincipal  Creates clones of Windows NT 4.0 users and groups and migrates them to Windows 2000.
Depends.exe: Dependency Walker  Displays a hierarchical diagram of the dependent modules of an executable or DLL.
Dfsutil.exe: Distributed File System Utility Helps administrators diagnose the Distributed File System from the command prompt.
DiskProbe (Dskprobe.exe)  Allows users with Administrator privileges to directly edit, save and copy data on the physical hard drive that is not accessible in any other way.
Distributed File System Utility (Dfsutil.exe) Helps administrators diagnose the Distributed File System from the command prompt.
Dnscmd.exe: DNS Server Troubleshooting Tool  Enables user to administer and obtain statistics from local and remote DNS servers.
Dommig.doc: Planning Migration from Microsoft Windows NT to Microsoft Windows 2000  Guides administrators through the planning process for migrating Windows NT domains to Windows 2000.
Dsacls.exe  Facilitates management of access-control lists for directory services.
Dsastat.exe: Active Directory Diagnostic Tool  Compares and detects differences between naming contexts on domain controllers.
Dskprobe.exe: DiskProbe  Allows users with Administrator privileges to directly edit, save and copy data on the physical hard drive that is not accessible in any other way.
Gflags.exe: Global Flags Editor  Allows user to edit NtGlobalFlag settings for the Windows 2000 operating system.

Ldp.exe: Active Directory Administration Tool  Allows users to perform LDAP operations against any LDAP compatible directory such as Active Directory.
Memsnap.exe: Memory Profiling Tool  Takes a snapshot of memory resources consumed by running processes.
Movetree.exe: Active Directory Object Manager  Moves an Organizational Unit from one domain tree to another.
Netdom.exe: Windows 2000 Domain Manager  Enables administrators to manage domains.
Network Connectivity Tester (Netdiag.exe)  Tests the state and functionality of a network client.
Nltest.exe  Administers and tests domains and user accounts.
Reg.exe: Registry Management Utility  Manipulates registry entries on local or remote computers from the command prompt.
Remote.exe: Remote Command Line  Runs command-line programs on remote computers.
Repadmin.exe: Replication Diagnostics Tool  Assists administrators in diagnosing replication problems between Windows 2000 domain controllers.
Replmon.exe: Active Directory Replication Monitor  Displays replication topology, status and performance of Active Directory domain controllers.
Rsdiag.exe: Remote Storage Diagnostic Utility  Examines Remote Storage (HSM) databases and displays diagnostic information.
Rsdir.exe: Remote Storage File Information Utility  Examines Remote Storage reparse points and displays Remote Storage information for files.
Sdcheck.exe: Security Descriptor Check Utility  Displays the security descriptor for an object, including any inherited ACL's, as well as the security descriptor metadata.
Search.vbs  Performs a search against an LDAP (Lightweight Directory Access Protocol) server.
Security Administration Tools (SIDWalker)  Manages access-control policies.
Security Descriptor Check Utility (Sdcheck.exe)  Displays the security descriptor for an object, including any inherited ACL's, as well as the security descriptor metadata.
SIDWalker: Security Administration Tools  Manages access-control policies.
Snmputilg.exe: SNMP Troubleshooting Tool  Queries a Simple Network Management Protocol host or community for Management Information Base values from graphical user interface.
Task Killing Utility (Kill.exe)  Allows user to terminate selected tasks or processes.
Tlist.exe: Task List Viewer  Displays a list of IDs, names, and windows of processes running on the local computer.

LVL 63

Accepted Solution

SysExpert earned 2000 total points
ID: 18055317

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone 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…
With so many activities to perform, Exchange administrators are always busy in organizations. If everything, including Exchange Servers, Outlook clients, and Office 365 accounts work without any issues, they can sit and relax. But unfortunately, it…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
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, …
Suggested Courses

618 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