Automated Way to Repair Corrupted Mailbox in Exchange 2016

Cedric updated on Feb 22, 2023 to Exchange Recovery | How-to Articles

The mailbox in Exchange 2016 may get damaged or corrupted due to various reasons, such as system failure, server failure, dirty shut-down, virus or malware attacks, etc. When you happen to encounter this problem, you can repair corrupted mailbox in Exchange 2016 with Microsoft New-MailboxRepairRequest cmdlet manually or using a professional Exchange recovery and repair tool automatically.

One of the most common problems for Exchange users is mailbox corruption, which can be caused by many reasons, including:

  • system and server failure
  • Exchange dirty shut-down
  • Malfunction of the system applications
  • virus or malware attacks
  • Users' mistaken operations

Whatever the cause is, you can find answers here. On this page, we will focus on how to repair corrupted mailbox in Exchange 2016 in two ways: one is using Microsoft New-MailboxRepairRequest cmdlet (in Part 1) to manually fix the issue, the other is using EaseUS Exchange Recovery (in Part 2)  to recover mailbox automatically and effectively.

Part 1: Use New-MailboxRepairRequest cmdlet (Commands Needed)

New-MailboxRepairRequest can be used to easily repair corrupted mailbox in Exchange 2016. It enables users to detect and repair a specific mailbox corruption or the whole database damage in Exchange.

After a quick scanning of the following steps, you can see that this solution contains many commands. You need to troubleshoot manually. If you are new to Exchange and know little about it, you'd better directly use the much simpler Exchange Server recovery software in Part 2 to fix the problem in an automated way.

Before starting the process to repair corrupted mailbox Exchange 2016. You can run the commands below to first detect and report the corruption in the Exchange mailbox.

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

Run the following New-MailboxRepairRequest commands to repair corrupted mailbox in Exchange 2016.

1. Command to check and fix corruption in a single mailbox in Exchange 2016

New-MailboxRepairRequest -Mailbox alias@example.com -CorruptionType FolderView

2. Command to check and repair all Corruption types for Alias mailbox and archive

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

3. Command to check and repair all types of corruptions in mailboxes that have CustomAttribute4

Get-Mailbox -Filter {CustomAttribute4 -like “Repair Required”} | New-MailboxRepairRequest -CorruptionType SearchFolder,ProvisionedFolder, AggregateCounts,FolderView

4. Commands to create a variable that identifies Alias' mailbox. Then, uses this the variable to specify the values for the StoreMailbox and Database parameters to create a request to detect and fix all types of corruptions.

$Mailbox = Get-MailboxStatistics annb; New-MailboxRepairRequest -Database $Mailbox.Database -StoreMailbox $Mailbox.MailboxGuid -CorruptionType ProvisionedFolder,SearchFolder,AggregateCounts,Folderview

After applying all commands, the corrupted mailbox in Exchange 2016 will be repaired. If not, continue to use an easier alternative to these complex commands to repair Exchange mailbox.

Part 2: Repair Corrupted Mailbox in Exchange 2016 Automatically

Is the above manual solution can't help you, don't worry, here comes the automated way to repair corrupted mailbox in Exchange 2016 with EaseUS Exchange Recovery, which allows you to quickly recover and repair corrupted Exchange Server mailboxes (EDB) files and contents.  

The outstanding features of this tool to repair corrupted Exchange Server/EDB/mailboxes.

  • Repair database when Eseutils Powershell Commands failed
  • Restore data after Dirty Shutdown or unexpected Exchange Server crash
  • Repair corrupted Exchange mailboxes of private and public folders
  • Export repaired mailboxes to MSG or live Exchange Server
  • Recover Dismounted/Offline EDB Mailbox
  • Supports MS Exchange Server 2019/2016/2013/2010

Step by step guide to repairing corrupted mailbox in Exchange 2016 with Exchange Server recovery software. 

Step 1. Download, install and launch the software. On the home screen, under "Select EDB file", click the three dots to browse and open the corrupted EBD file.

Step 2. Click "Analyze" to start analyzing the EDB file. When the process completes, all the mailboxes and contents will be listed in a tree-view on the left panel of the screen.

Step 3. You can select any mailbox to preview on the right side of the screen. Once you've found what you need to recover, check the items and click "Recover" to export to a live Exchange Server.

Step 4. Or you can choose "Export MSG" to export the recovered mailboxes to MSG.