Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 772 other subscribers


  • LinkedIn
  • RSS Feed for Posts
  • Twitter
  • StumbleUpon

How to recover an Exchange 2010 mailbox

How to recover an Exchange mailbox:

First place a backup of your database to a different location, on your mail server.

attach the database to exchange :

New-MailboxDatabase -Recovery -Name RecoveryDB -Server Exchange01 -EdbFilePath “D:restoreOLDDB-name.edb” -LogFolderPath “D:\restore”

Disable indexing on the mailbox to avoid performance issue’s :

Set-MailboxDatabase “RecoveryDB” -indexenabled:$false

Change over to the destination

cd D:restore

If the backup database wasn’t shutdown in a clean way you must recover it :


Create a new user in the active directory with a mailbox : recovery-user

Recover the mailbox of the original-user to the new created recovery-user:
Only included folders ‘Inbox’ and ‘Management files’ :

Restore-Mailbox -Identity “recovery-user” -RecoveryDatabase RecoveryDB -RecoveryMailbox ‘original-user’ -TargetFolder Recovery -BadItemLimit 50 -IncludeFolders Inbox,’Management files’ -verbose

The complete mailbox :

Restore-Mailbox -Identity “recovery-user” -RecoveryDatabase RecoveryDB -RecoveryMailbox ‘original-user’ -TargetFolder Recovery -BadItemLimit 50 -verbose

Change your RBAC to have the correct rights :

New-ManagementRoleAssignment -Role “Mailbox Import Export” -User AdminExchange

Now there are extra cmdlets available to you :

Get-ExCommand *mailboxexport*,*mailboximport*

New cmdlets:
Get-MailboxExportRequest Get-MailboxExportRequestStatistics Get-MailboxImportRequest Get-MailboxImportRequestStatistics New-MailboxExportRequest New-MailboxImportRequest Remove-MailboxExportRequest Remove-MailboxImportRequest Resume-MailboxExportRequest Resume-MailboxImportRequest Set-MailboxExportRequest Set-MailboxImportRequest Suspend-MailboxExportRequest Suspend-MailboxImportRequest

After the restore y’re able to use the mailbox, or to export the data to a .PST file :

New-MailboxExportRequest -Mailbox “recovery-user” -FilePath \serversharerecovery.pst

Here can use alias, display name or SMTP adres

When receiving the error :

Unable to open PST file ‘\serversharerecovery.pst’. Error details: Access to the path ‘\serversharerecovery.pst’ is denied.

You need to give ‘Exchange trusted subsystem’ read/write security on \serversharerecovery.pst

After this your able to export to this location

Checking the export :