locked
How to find unused mailboxes in exchange 2003 RRS feed

  • Question

  • How to find unused mailboxes in exchange 2003
    Exchange Admin
    Tuesday, May 12, 2009 11:45 AM

Answers

  • we are using exchange 2003

    ther are so many server and mailbox databases , it not possible to go in to each database and export last logon time.
    any alternet method?

    and also some itme it show system account login's time in last logon time, in this case how to find inactive mailboxes.

    Hello,

    Given the current situation, the best way is script. Please try worldzfree's suggestions above. You are also welcomed to write a post on our development forum to see if someone can help:

    http://social.technet.microsoft.com/Forums/en-US/exchangesvrdevelopment/threads

    Thank you,

    Elvis

    • Proposed as answer by Elvis Wei Monday, May 18, 2009 2:06 AM
    • Marked as answer by Elvis Wei Tuesday, May 19, 2009 2:09 AM
    Friday, May 15, 2009 8:49 AM

All replies

  • Hello,

    what is the version of exchange? and when you say unused mailbox mean the mailboxes which hasn't been used since long time right?

    If it is Exchange 2003 server then you can check in ESM under mailbox store/mailboxes and find the last logon tab.

    If it is Exchange 2003 Server then you can use the cmdlet -  Get-MailboxStatistics cmdlet to obtain information about a mailbox, such as the size of the mailbox, the number of messages it contains, and the last time it was accessed

    Get-MailboxStatistics -Identity contoso\chris



    Arun Kumar | MCSE - 2K3 + Messaging | ITIL-F V3
    • Proposed as answer by Arun_Kumar Tuesday, May 12, 2009 7:22 PM
    Tuesday, May 12, 2009 7:22 PM
  • Also you can go to the Message Store, expand it, right click on the mailbox folder and Run CleanUp Agent. This will tell you all mailboxes that aren't connected to an AD account.
    Mark Morowczynski|MCSE 2003:Messaging, Security|MCITP:ES, SA|MCTS:Windows Mobile Admin|Security+|http://almostdailytech.com
    Wednesday, May 13, 2009 1:27 AM
  • Any update?
    Arun Kumar | MCSE - 2K3 + Messaging | ITIL-F V3
    Wednesday, May 13, 2009 7:31 PM
  • Glen Scales has a few scripts that can be modified to do this.  Here is one of them.  It checks unread items and last sent.

    http://gsexdev.blogspot.com/2004/06/finding-unused-mailboxes-with-cdo-12.html
    Wednesday, May 13, 2009 9:47 PM
  • Hi,

    You could view the users “Last Logon time” in ESM | mailbox store | mailboxes as Arun mentioned. This is the most simple way. One thing should be noticed that when the users’ mailboxes are accessed by system, the antivirus or backup system, the last logon property that the Exchange system manager detects is the system account. In this situation, you need use a script to get a more accurate result.

    By the way, if you wanna delete these unused mailboxes, please make sure no “forwarding address” setting in the users’ AD properties. (aduc | user’s properties | Exchange general tab | delivery options ).

    Thanks,

    Elvis

    • Proposed as answer by Arun_Kumar Saturday, May 16, 2009 3:31 PM
    Thursday, May 14, 2009 6:40 AM
  • we are using exchange 2003

    ther are so many server and mailbox databases , it not possible to go in to each database and export last logon time.
    any alternet method?

    and also some itme it show system account login's time in last logon time, in this case how to find inactive mailboxes.
    Thursday, May 14, 2009 8:23 AM
  • we are using exchange 2003

    ther are so many server and mailbox databases , it not possible to go in to each database and export last logon time.
    any alternet method?

    and also some itme it show system account login's time in last logon time, in this case how to find inactive mailboxes.

    Hello,

    Given the current situation, the best way is script. Please try worldzfree's suggestions above. You are also welcomed to write a post on our development forum to see if someone can help:

    http://social.technet.microsoft.com/Forums/en-US/exchangesvrdevelopment/threads

    Thank you,

    Elvis

    • Proposed as answer by Elvis Wei Monday, May 18, 2009 2:06 AM
    • Marked as answer by Elvis Wei Tuesday, May 19, 2009 2:09 AM
    Friday, May 15, 2009 8:49 AM
  • Any update on this?
    Arun Kumar | MCSE - 2K3 + Messaging | ITIL-F V3
    Saturday, May 16, 2009 3:31 PM