Live Chat
Home » Blog » Exchange Server » How to Execute New-MailboxRepairRequest – A Complete Guide
Exchange Server

How to Execute New-MailboxRepairRequest – A Complete Guide

Published By Ashwani Tiwari
Tej Pratap Shukla
Approved By Tej Pratap Shukla
Published On April 2nd, 2024
Reading Time 5 Minutes Reading

New-MailboxRepairRequest is a PowerShell cmdlet that allows Exchange administrators to perform a repair process on damaged Exchange mailboxes. Before this cmdlet, IsInteg was used to perform the same tasks. This command can help users to repair specific or multiple Exchange mailboxes at once.

In the following write-up, we are going to discuss a detailed guide on how you can use this New-MailboxRepairRequest. There are a couple of errors as well that might occur due to mailbox damage like outdated mailboxes, missing mail items, inaccessible mail folders, etc. If you are also facing similar errors, then also you can use this PowerShell cmdlet to get them fixed.

Table of Content 

Points to be Noted Before Running New-MailboxRepairRequest

Before directly jumping to the repair process, you need to take care of a couple of points before using the aforementioned command:

  • There is a certain set of permissions and roles that you must assign to a user account to use this command.
  • Once you start the repair process using this New-MailboxRepairRequest PowerShell command, there is no way to stop it in between. The only way to stop the repair process is by dismounting the database from Exchange and it isn’t recommended at all. The dismounting process during the repair operation will not only damage the mailboxes that were being repaired but will also damage all the mailboxes in the database.
  • This command can only be performed on a single database at a time or up to 100 mailboxes at a time.
  • During the repair process, there will be a disruption in accessing the mailbox that is being repaired using this command.
  • This PowerShell cmdlet only works on the mounted database. It means that if you have a dismounted database and want to repair mailboxes within that database, then you first need to mount that database again to the Server. If you can’t mount the database to the server, then you can use a third-party application for the same.

Syntax of New-MailboxRepairRequest


   [-Database] <DatabaseIdParameter>

   -CorruptionType <MailboxStoreCorruptionType[]>

   [[-StoreMailbox] <StoreMailboxIdParameter>]



   [-DomainController <Fqdn>]




The parameters that you can use with the discussed command are as follows:

  • SearchFolder – It helps you to fix SearchFolder errors.
  • AggregateCounts – Use this command to fix Aggregate Counts on folders that don’t display the correct value of email items.
  • FolderView – Helps repair the views on folders.
  • ProvisionedFolder – This parameter enables you to fix folders that are not pointing to the correct parent folders.
  • Archive – To figure out and fix the issues in the Archive folder associated with the mailbox. 
  • Confirm – To verify whether the confirmation dialog box should appear or not.
  • CorruptionType – For calculating and resolving the type of Corruption associated with the mailbox.
  • Database – For repairing and fixing all of the mailboxes in the database.
  • DetectOnly – It specifies that you only want to identify the issues, but do not want to fix them.
  • Mailbox –  It is used to specify the particular mailbox for detecting and fixing issues.

Step by Step Tutorial to Use New-MailboxRepairRequest Cmdlet

As discussed in the above section, if you have assigned all the necessary permissions and roles. After that you can start using this command in Exchange Management Shell to repair corrupt Exchange mailbox.

Now, the first step involves detecting the issues in the mailbox database.

New-MailboxRepairRequest -Mailbox User1 -CorruptionType ProvisionedFolder,SearchFolder -DetectOnly

When the issue is detected, you can run the following command to run a repair process. This command will

New-MailboxRepairRequest -Mailbox -CorruptionType FolderView

Now, to fix all kinds of corruption from the user mailbox and archive mailbox, you can use the below command:

New-MailboxRepairRequest -Mailbox User1 -CorruptionType ProvisionedFolder,SearchFolder,AggregateCounts,Folderview -Archive

To detect and repair the AggregateCounts of all mailboxes, use the following command:

New-MailboxRepairRequest -Database DB01 -CorruptionType AggregateCounts

Additionally, you can also combine all these parameters and repair all types of corruption. The command for the same is as follows:

New-MailboxRepairRequest –Mailbox user@test.local –CorruptionType SearchFolder, AggregateCounts, ProvisionedFolder, FolderView

You can also use this command to repair the mailbox DB:

New-MailboxRepairRequest –Database “MBXDB01” –CorruptionType ProvisionedFolder –DetectOnly

Perfect Alternative of New-MailboxRepairRequest PowerShell Cmdlet

If you find these commands a bit complex to use and need an effortless utility that can help you perform an in-depth repair on mailboxes, then you must try the Exchange EDB File Repair Software. This utility does not require any sort of command or Live Exchange Server environment to carry out the repair process.

Furthermore, you get an option to either export the data into PST format or directly import it into the Live Exchange Server. There are various other export options other than these two as well – PDF, MSG, EML, MBOX, Office 365, and HTML.

Download Now Purchase Now

No matter if your Exchange mailbox has minor or severe corruption, the software has two scan options – Quick and Advance. Depending on the corruption level, you can choose the particular scan and repair your damaged data without performing Exchange Database hard repair.


As we all know that Exchange Server is prone to corruption. So, it is necessary to keep the database safe & secure from corruption to prevent data loss. Now users have complete information on how to use New-MailboxRepairRequest to repair corruption from mailboxes. Moreover, we have also discussed an automated solution that experts rate as its perfect alternative.

Frequently Asked Questions

Q1. Can we repair all of the mailboxes using a single command?

Ans – Yes, it is possible by using the -Database parameter in the command.

Q2. Can we execute the New-MailboxRepairRequest command in Exchange Online?

Ans – No, this cmdlet is only for the Exchange on-premise.



By Ashwani Tiwari

I am an Expert Technical Analyst, specialized in assisting users with complex technological challenges. Through my blogs and articles, I offer expert guidance to help tackle these technical issues effectively. My true passion lies in providing valuable insights and simplifying complicated technicalities, enhancing user understanding and confidence.