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


How to identify unused Exchange accounts.

Posted on 2011-10-31
Medium Priority
Last Modified: 2012-05-12
Does anyone know of a tool or command that would tell me which Exchange accounts have not been used/accessed in the last six months?  We are using Exchange 2007 and we need to find all the accounts that are idle.

thanks in advance.
Question by:JPVG
  • 2
  • 2
LVL 15

Expert Comment

ID: 37059556
We regularly run commands to check for unused user accounts.

Dsquery user / inactive 14

The domain functional mode needs to be at windows 2003. This shows user accounts that have not logged on for 14 days. This is also important for security, often HR will not tell IT if a user leaves so if we script it we can catch them out.

Author Comment

ID: 37059681
  I can run that for users that last logged on to AD...but i cant' seem to run this to see the last time a user accessed, "logged in" to their Exchange 2007 mailbox.
LVL 15

Accepted Solution

. earned 2000 total points
ID: 37059739

Author Comment

ID: 37059957
That URL did it for me, Thank you so much!

Featured Post

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

Question has a verified solution.

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

As much as Microsoft wants to kill off PST file support, just as they tried to do with public folders, there are still times when it is useful or downright necessary to export Exchange mailboxes to PST files. Thankfully, it is still possible to e…
If something goes wrong with Exchange, your IT resources are in trouble.All Exchange server migration processes are not designed to be identical and though migrating email from on-premises Exchange mailbox to Cloud’s Office 365 is relatively simple…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Suggested Courses

872 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