How to identify unused Exchange accounts.

Posted on 2011-10-31
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
    LVL 15

    Expert Comment

    by:It breaks therefore I am
    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

      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


    Author Comment

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

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
    Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
    In this video we show how to create a Contact in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Contact ta…
    The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

    754 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

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now