Exchange 2010 SP1: New-MailboxRepairRequest


One of the new cmdlets added in Exchange 2010 SP1 is “New-MailboxRepairRequest”cmdlet. In earlier version of Exchange we could repair a mailbox with the Information Store Integrity Checker (Isinteg.exe) tool. To repair mailboxes, we needed to dismount the mailbox database on which that mailbox resided and run the fixes while the database was offline. Exchange 2010 SP1 introduces the New-MailboxRepairRequest cmdlet that allows you to detect and repair a corrupted mailbox while leaving the mailbox database online.

 

We can run this command against a specific mailbox or against a database. While this task is running, mailbox access is disrupted only for the mailbox being repaired. If you’re running this command against a database, only the mailbox being repaired is disrupted. All other mailboxes on the database remain operational.

 

The “CorruptionType” parameter in the New-MailboxRepairRequest cmdlet specifies the type of corruption that you want to detect and repair. The following types of mailbox corruptions can be detected and fixed with the New-MailboxRepairRequest cmdlet:

             Search folder corruptions (SearchFolder)

             Aggregate counts on folders that aren’t showing correct item count (AggregateCounts)

             Views on folders that aren’t returning correct contents (FolderView)

             Provisioned folders that are incorrectly pointing into parent folders that aren’t provisioned (ProvisionedFolder)

 

The following example detects and repairs search folder corruptions for mailbox nawar@contoso.com: New-MailboxRepairRequest -Mailbox nawar@contoso.com -CorruptionType SearchFolder

This example detects and repairs AggregateCounts for all mailboxes on mailbox database MBXDB11: New-MailboxRepairRequest -Database MBXDB11 -CorruptionType AggregateCounts

 

The output of New-MailboxRepairRequest will be a number of Event IDs with a source of “MSExchangeIS Mailbox Store” and you will need to watch for the following events related to a repair request “0044,10045,01146,10047,10048,10049,10050,10051,10059,10062”

 

All this information is based on the pre-release version of Exchange 2010 SP1


Comments (5)

  1. laailabrown says:

    Thanks for sharing great info! Similarly, 1 year back I faced corruption in edb files & I was not able to access information stores exactly. Then I took help of ( http://www.pcvita.com/edb-repair.html ). It helped me to repair corrupted edb files and then re-created repaired edb in pst format.

  2. Pertovich says:

    Thanks for information. I want to repeat this article on my blog http://vq3.ru Can I do this?

  3. Andy says:

    Thanks for the sharing your knowledge about New-MailboxRepairRequest. I have used this software (http://www.exchangerepair.co.uk/) to repair a mailbox from offline edb files. It helps me to repair mailbox
    including notes, tasks, attachment etc. and easily convert them to new pst file format.

  4. Lauren Perez says:

    Thanks for sharing the useful stuff to fix the exchange server issue. You can now recover and restore a damaged server database by using this application easily and quickly with complete data:
    http://www.recover-computerdata.com/exchange-server-recovery.html

    It did a great help to us to rebuilding our damaged Exchange 2010 server databases!

    Good Luck !
    Lauren

  5. amanda lakai says:

    Hi There
    While Recovering Exchange Server using New-MailboxRepairRequest it has been observed that due to improper execution of the powershell cmdlets or if any hardware/software issue takes place during the execution, than the complete recovery process stops. So using
    third Party tools would be the best solution in such situations. Of all third party tools I would recommend Stellar Phoenix Mailbox Exchange Recovery (http://www.stellarinfo.com/edb-exchange-server-recovery.htm)as
    it can repair severely corrupt EDB files efficiently without causing any data loss.