Permanently delete a mailbox: Exchange 2013 Help (2026)

  • Article

Applies to: Exchange Server 2013

When you permanently delete active mailboxes and disconnected mailboxes, all mailbox contents are purged from the Exchange mailbox database, and the data loss is permanent. When you permanently delete an active mailbox, the associated Active Directory user account is also deleted.

An alternative to permanently deleting a mailbox is to disconnect it. After you disconnect a mailbox, by default, it's retained in the mailbox database for 30 days. This gives you the opportunity to reconnect or restore a mailbox before it's purged from the database.

To learn more about disconnected mailboxes and perform other related management tasks, see the following topics:

  • Disconnected mailboxes

  • Disable or delete a mailbox

  • Connect a disabled mailbox

  • Connect or restore a deleted mailbox

Note

You can't use the EAC to permanently delete an active mailbox or a disconnected mailbox.

What do you need to know before you begin?

  • Estimated time to complete: 2 minutes.

  • You need to be assigned permissions before you can perform this procedure or procedures. To see what permissions you need, see the "Recipient Provisioning Permissions" section in the Recipients Permissions topic.

  • For information about keyboard shortcuts that may apply to the procedures in this topic, see Keyboard shortcuts in the Exchange admin center.

Tip

Having problems? Ask for help in the Exchange forums. Visit the forums at Exchange Server.

Permanently delete an active mailbox

Use the Shell to permanently delete an active mailbox

Run the following command to permanently delete an active mailbox and the associated Active Directory user account.

Remove-Mailbox -Identity <identity> -Permanent $true

Note

If you don't include the Permanent parameter, the deleted mailbox is retained in the mailbox database for 30 days, by default, before it's permanently deleted.

For detailed syntax and parameter information, see Remove-Mailbox.

How do know you've permanently deleted an active mailbox?

To verify that you've permanently deleted an active mailbox, do the following:

  1. Verify that the mailbox is no longer listed in the EAC.

  2. Verify that the associated user account is no longer listed in Active Directory Users and Computers.

  3. Replace <DisplayName> with the display name of the mailbox, and run the following commands to verify that the mailbox was successfully purged from the Exchange mailbox database.

    $dbs = Get-MailboxDatabase$dbs | foreach {Get-MailboxStatistics -Database $_.DistinguishedName} | where {$_.DisplayName -eq "<DisplayName>"}

    If you successfully purged the mailbox, the command won't return any results. If the mailbox wasn't purged, the command will return information about the mailbox.

Permanently delete a disconnected mailbox

Use the Shell to permanently delete a disconnected mailbox

There are two types of disconnected mailboxes: disabled and soft-deleted. You must specify one of these types when running the cmdlet to permanently delete the mailbox. If the type you specify doesn't match the actual type of the disconnected mailbox, the command fails.

Replace <DisplayName> with the display name of the mailbox, and run the following commands to determine whether a disconnected mailbox is disabled or soft-deleted.

$dbs = Get-MailboxDatabase$dbs | foreach {Get-MailboxStatistics -Database $_.DistinguishedName} | where {$_.DisplayName -eq "<DisplayName>"} | Format-List DisplayName,MailboxGuid,Database,DisconnectReason

The value for the DisconnectReason property for disconnected mailboxes will be either Disabled or SoftDeleted.

You can run the following commands to display the type for all disconnected mailboxes in your organization.

$dbs = Get-MailboxDatabase$dbs | foreach {Get-MailboxStatistics -Database $_.DistinguishedName} | where {$_.DisconnectReason -ne $null} | Format-List DisplayName,MailboxGuid,Database,DisconnectReason

Warning

When you use the Remove-StoreMailbox cmdlet to permanently delete a disconnected mailbox, all its contents are purged from the mailbox database and the data loss is permanent.

This example permanently deletes the disabled mailbox with the GUID 2ab32ce3-fae1-4402-9489-c67e3ae173d3 from mailbox database MBD01.

Remove-StoreMailbox -Database MBD01 -Identity "2ab32ce3-fae1-4402-9489-c67e3ae173d3" -MailboxState Disabled

This example permanently deletes the soft-deleted mailbox for Dan Jump from mailbox database MBD01.

Remove-StoreMailbox -Database MBD01 -Identity "Dan Jump" -MailboxState SoftDeleted

This example permanently deletes all soft-deleted mailboxes from mailbox database MBD01.

Get-MailboxStatistics -Database MBD01 | where {$_.DisconnectReason -eq "SoftDeleted"} | ForEach {Remove-StoreMailbox -Database $_.Database -Identity $_.MailboxGuid -MailboxState SoftDeleted}

For detailed syntax and parameter information, see Remove-StoreMailbox and Get-MailboxStatistics.

How do you know you've permanently deleted a disconnected mailbox?

To verify that you've permanently deleted a disconnected mailbox and that it was successfully purged from the Exchange mailbox database, replace <DisplayName> with the display name of the mailbox, and run the following commands.

$dbs = Get-MailboxDatabase$dbs | foreach {Get-MailboxStatistics -Database $_.DistinguishedName} | where {$_.DisplayName -eq "<DisplayName>"}

If you successfully purged the mailbox, the command won't return any results. If the mailbox wasn't purged, the command will return information about the mailbox.

Permanently delete a mailbox: Exchange 2013 Help (2026)

FAQs

How do I permanently delete a mailbox in Exchange 2013? ›

Use the EAC to delete a mailbox
  1. In the EAC, navigate to Recipients > Mailboxes.
  2. In the list of user mailboxes, click the mailbox that you want to delete, and then click Delete .
  3. A warning appears asking if you're sure you want to delete the mailbox. Click Yes to delete the mailbox.
Jan 26, 2023

How to delete Exchange Online mailbox permanently? ›

First, remove the Exchange Online license assigned to the user and verify that the mailbox is disconnected. After that, run the PermanentlyClearPreviousMailboxInfo parameter to remove (hard-delete) the mailbox from the cloud. But before you do that, ensure that you export the mailbox data, if there is any.

How to permanently delete a disconnected mailbox in Exchange? ›

Use the Exchange Management Shell to permanently delete a disconnected mailbox. When you use the Remove-StoreMailbox cmdlet to permanently delete a disconnected mailbox, all its contents are purged from the mailbox database and the data loss is permanent.

What happens when you delete an Exchange mailbox? ›

If you delete the Exchange mailbox from the server, both its attributes and Active Directory user account will be deleted after some time. The contents of that specific folder will be permanently destroyed after its retention period expires—which means it can't come back.

How do I permanently Delete emails from Outlook Exchange? ›

Instructions for classic Outlook on the web

In the reading pane, select Select everything. Select Delete. All the email in your inbox will be moved to the Deleted Items folder. To permanently delete the messages, right-click the Deleted Items folder and select Delete all.

How do I permanently Delete an inactive mailbox? ›

Remove an In-Place Hold from an inactive mailbox
  1. Delete the In-Place Hold object. If the inactive mailbox that you want to permanently delete is the only source mailbox for an In-Place Hold, you can just delete the In-Place Hold object. ...
  2. Remove the inactive mailbox as a source mailbox of an In-Place Hold.
Mar 26, 2024

Why can't i delete mailbox Exchange? ›

The solution to the error is to make sure that there are no mailboxes in the database. If there are mailboxes in the database, you are not granted to delete the mailbox database in Exchange Server. You have to check all the mailboxes one by one in the mailbox database and move them to another database.

What is the difference between hard delete and soft delete mailbox? ›

Soft delete vs Hard delete mailbox

If an administrator doesn't restore the mailbox within 30 days, it is deleted permanently (provided litigation hold is not applied). Once the mailbox is deleted permanently, it can not be recovered. This state is called hard delete state.

Does removing Exchange Online license delete mailbox? ›

For a regular user mailbox in Exchange Online that doesn't have a hold applied, Exchange Online immediately disconnects (disables) the mailbox if the Exchange Online license for the user is removed or expires.

What is the retention period of deleted mailbox in Exchange 2013? ›

By default, deleted items are kept for a period of 14 days, and deleted mailboxes are kept for 30 days. The following Microsoft articles should help you restore items, if they are not purged from your mailbox database: Perform Single Item Recovery.

How do I empty my Microsoft Exchange mailbox? ›

Are you getting weekly or even daily messages warning that you're about to run out of mailbox space? Mailbox Cleanup is a one-stop-clean-up tool you can use to trim the size of your mailbox. In Outlook, choose File> Tools > Mailbox Cleanup.

How to delete exchange mailbox without deleting user? ›

To retain the mailbox, do these steps:
  1. Instead of deleting the user account, disable the user account.
  2. Change the properties of the mailbox to restrict its use and who has access to the mailbox. ...
  3. Retain the mailbox until all data has been expunged, or until preserving the data is no longer required.
Feb 22, 2023

How do I get rid of Exchange mailbox? ›

On the Email screen, bring up the settings menu and tap Accounts. The Accounts screen opens. Press and hold the Exchange Account you want to delete until the Menu window opens. On the Menu window, click Remove Account.

How long permanently deleted items are kept for an Exchange Online mailbox? ›

The default deleted item retention period for Exchange Online is 14 days. You can modify this period for mailboxes up to a maximum of 30 days.

What does disabling an Exchange mailbox do? ›

Description. The Disable-Mailbox cmdlet removes the mailbox's Exchange attributes from Active Directory. The mailbox isn't deleted and can be reconnected to its user at a later date by using the Connect-Mailbox cmdlet.

Why can't i Delete mailbox Exchange? ›

The solution to the error is to make sure that there are no mailboxes in the database. If there are mailboxes in the database, you are not granted to delete the mailbox database in Exchange Server. You have to check all the mailboxes one by one in the mailbox database and move them to another database.

How do I remove monitoring mailboxes from Exchange 2013? ›

3 answers
  1. Open Active Directory Users and Computers, go to the View Menu and ensure that Advanced Features is selected.
  2. Expand "Microsoft Exchange System Objects"
  3. Click on the Monitoring mailboxes Folder, highlight all the healthmailboxes in the right pane and delete them:
Aug 6, 2020

Top Articles
Latest Posts
Recommended Articles
Article information

Author: Velia Krajcik

Last Updated:

Views: 5534

Rating: 4.3 / 5 (74 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Velia Krajcik

Birthday: 1996-07-27

Address: 520 Balistreri Mount, South Armand, OR 60528

Phone: +466880739437

Job: Future Retail Associate

Hobby: Polo, Scouting, Worldbuilding, Cosplaying, Photography, Rowing, Nordic skating

Introduction: My name is Velia Krajcik, I am a handsome, clean, lucky, gleaming, magnificent, proud, glorious person who loves writing and wants to share my knowledge and understanding with you.