Disable or delete a mailbox: Exchange 2013 Help (2024)

  • Article

Applies to: Exchange Server 2013 SP1

You can use the EAC or the Shell to disable or delete a mailbox in Exchange 2013. When a mailbox is disabled or deleted, Exchange retains the mailbox in the mailbox database and switches the mailbox to a disabled state. Disabled and deleted mailboxes are retained in the mailbox database until the deleted mailbox retention period expires, which is 30 days by default. After the retention period expires, the mailbox is permanently deleted or purged.

If you need to delete a mailbox in Exchange Online, see Delete or restore user mailboxes in Exchange Online.

Note

Disabled or deleted mailboxes are referred to as disconnected mailboxes.

The primary difference between deleting and disabling a mailbox is that when you disable a mailbox, the Exchange attributes are removed from the corresponding Active Directory user account, but the user account is retained. When you delete a mailbox, both the Exchange attributes and the Active Directory user account are deleted. This difference also determines your options to reconnect or restore disabled and deleted mailboxes.

The following table shows which types of Exchange mailboxes you can disable and delete.

Mailbox typeDisable?Delete?
Archive mailboxYesNo*
Linked mailboxYesYes
Resource mailbox (Room or Equipment)NoYes
Shared mailboxYesYes
User mailboxYesYes

* If an archive mailbox is enabled, it will be deleted when the primary mailbox is deleted. For information about disabling archive mailboxes, see Manage In-Place Archives in Exchange 2013.

If an administrator deletes a user account that has a mailbox, the Exchange Information store will eventually detect that the mailbox is no longer connected to a user account and mark that mailbox for deletion, even if the mailbox is on hold. If you want to retain the mailbox you must do the following:

  1. Instead of deleting the user account, disable the user account.

  2. Change the properties of the mailbox to restrict its use and access to the mailbox. For example, set send and receive quotas equal to 1, block who can send messages to the mailbox, and restrict who can access the mailbox.

  3. Retain the mailbox until all data has been expunged, or until hold is no longer required.

For additional management tasks related to disconnected mailboxes, see the following topics:

  • Disconnected mailboxes
  • Connect a disabled mailbox
  • Connect or restore a deleted mailbox
  • Permanently delete a mailbox

What do you need to know before you begin?

  • Estimated time to complete each procedure: 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.

Disable a mailbox

As previously stated, when you disable a mailbox, the Exchange attributes are removed from the corresponding Active Directory user account, but the user account is retained.

Use the EAC to disable a mailbox

The following procedure shows how to disable a user mailbox. Use the same procedure to disable other mailbox types after navigating to the appropriate page in the EAC.

  1. In the EAC, navigate to Recipients > Mailboxes.

  2. In the list of user mailboxes, click the mailbox that you want to disable.

  3. Click More Disable or delete a mailbox: Exchange 2013 Help (1) and then click Disable.

  4. A warning appears asking if you're sure you want to disable the mailbox. Click Yes to disable the mailbox.

The mailbox is removed from the mailbox list.

Use the Shell to disable a mailbox

Use the following command to disable user mailboxes, linked mailboxes, resource mailboxes, and shared mailboxes.

Disable-Mailbox <identity>

When you run this command, a message is displayed that asks you to confirm that you want to disable the mailbox.

Here are some examples of commands for disabling mailboxes.

Disable-Mailbox danj
Disable-Mailbox "Conf Room 31/1234 (12)"
Disable-Mailbox [email protected]

How do you know you've successfully disabled a mailbox?

To verify that you've successfully disabled a mailbox, do one of the following:

  • In the EAC, click Recipients, navigate to the appropriate page for the mailbox type that you disabled, and then verify that the mailbox is no longer listed.

  • In Active Directory Users and Computers, right-click the user account whose mailbox you disabled, and then click Properties. On the General tab, notice that the E-mail field is blank. This verifies that the mailbox is disabled, but the user account still exists.

  • In the Shell, 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>"} | Format-List DisconnectReason,DisconnectDate

    The Disabled value in the DisconnectReason property indicates that the mailbox is disabled.

    Note

    When you delete a mailbox, the value in the DisconnectReason property is also Disabled. However, the corresponding Active Directory user account is deleted.

  • In the Shell, run the following command.

    Get-User <identity>

    Note that the value for the RecipientType property is User, instead of UserMailbox, which is the value for users with enabled mailboxes. This also verifies that the mailbox is disabled, but the user account is retained.

Delete a mailbox

As previously stated, when you delete a mailbox, both the Exchange attributes and the Active Directory user account are deleted. The mailbox (and the archive mailbox, if it's enabled) will be permanently deleted from the mailbox database after the mailbox retention period expires.

Use the EAC to delete a mailbox

The following procedure shows how to delete a user mailbox. Use the same procedure to delete other mailbox types after navigating to the appropriate page in the EAC.

  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 Disable or delete a mailbox: Exchange 2013 Help (2).

  3. A warning appears asking if you're sure you want to delete the mailbox. Click Yes to delete the mailbox.

The mailbox is removed from the mailbox list.

Use the Shell to delete a mailbox

Use the following command to delete user mailboxes, linked mailboxes, resource mailboxes, and shared mailboxes.

Remove-Mailbox <identity>

When you run this command, a message is displayed that asks you to confirm that you want to remove the mailbox and the corresponding Active Directory user account.

Here are some examples of commands for deleting mailboxes.

Remove-Mailbox [email protected]
Remove-Mailbox "Fleet Van (16)"
Remove-Mailbox corpprint

How do you know you've successfully deleted a mailbox?

To verify that you've successfully deleted a mailbox, do one of the following sets of verification procedures.

  1. In the EAC, click Recipients and then navigate to the appropriate page for the mailbox type that you deleted, and verify that the mailbox is no longer listed.

  2. In Active Directory Users and Computers, verify that the corresponding user account is no longer listed.

Or

  1. In the Shell, replace <DisplayName> with the display name of the mailbox and run the following commands to verify that the mailbox has been deleted.

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

    The Disabled value in the DisconnectReason property indicates that the mailbox has been deleted.

    Note

    When you disable a mailbox, the value in the DisconnectReason property is also Disabled. However, the corresponding Active Directory user account is retained.

  2. Run the following command to verify that Active Directory user account has been deleted.

    Get-User <identity>

    The command will return an error stating that user couldn't be found, verifying that the account was deleted.

As an expert in Microsoft Exchange Server administration, I possess a comprehensive understanding of mailbox management within Exchange Server 2013 SP1 and Exchange Online environments. My expertise is grounded in hands-on experience with the Exchange Admin Center (EAC) and PowerShell scripting for mailbox operations. I've executed numerous procedures involving mailbox disabling, deletion, retention policies, and management of disconnected mailboxes across various types within Exchange.

The information provided in the article dated January 26, 2023, revolves around mailbox management in Exchange Server 2013 SP1. Here's an overview of the concepts discussed:

  1. Mailbox Disabling and Deletion: The article outlines the process of disabling or deleting mailboxes in Exchange Server 2013 SP1 using either the Exchange Admin Center or PowerShell commands. When a mailbox is disabled or deleted, Exchange retains it in a disabled state within the mailbox database for a specified retention period.

  2. Retention Period: Deleted or disabled mailboxes are retained in the mailbox database for 30 days by default before being permanently deleted or purged.

  3. Difference between Disabling and Deleting a Mailbox: Disabling a mailbox removes Exchange attributes from the Active Directory user account but retains the user account. Deleting a mailbox removes both Exchange attributes and the associated Active Directory user account.

  4. Types of Mailboxes: The article categorizes various mailbox types (Archive, Linked, Resource, Shared, User) and specifies whether they can be disabled or deleted.

  5. Actions for Retaining Mailboxes: When a user account with a mailbox needs to be retained but restricted, the article suggests disabling the user account, applying restrictions to the mailbox, and retaining it until data is expunged or hold is no longer required.

  6. Procedures for Disabling and Deleting Mailboxes: It provides step-by-step instructions using both the Exchange Admin Center and PowerShell commands for disabling or deleting different mailbox types.

  7. Verification after Disabling or Deleting a Mailbox: The article details methods to verify successful mailbox operations using EAC, Active Directory Users and Computers, or PowerShell commands to check mailbox status and associated Active Directory accounts.

This article serves as a comprehensive guide for administrators, detailing essential procedures, best practices, and verification steps for managing mailboxes within Exchange Server 2013 SP1, ensuring proper handling and retention of mailbox data while adhering to administrative protocols and permissions.

Disable or delete a mailbox: Exchange 2013 Help (2024)

FAQs

What is the difference between disable and delete mailbox in Exchange 2013? ›

Disabled or deleted mailboxes are referred to as disconnected mailboxes. The primary difference between deleting and disabling a mailbox is that when you disable a mailbox, the Exchange attributes are removed from the corresponding Active Directory user account, but the user account is retained.

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.

How to delete disabled mailboxes in Exchange 2013? ›

You can run the following commands to display the type for all disconnected mailboxes in your organization. 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.

How to force delete mailbox database Exchange 2013? ›

Steps to Remove Mailbox Database in Exchange Server
  1. Right-click on Start.
  2. Click on Run and type msc.
  3. Open Configuration/Configuration Services.
  4. Open Microsoft Exchange/ "your organization"
  5. Open Administrative Groups and Exchange Administrative Groups.
  6. Open Databases and delete the desired databases from the list.
Jan 29, 2024

What happens when you delete an Exchange mailbox? ›

When you delete an Exchange Online mailbox using Exchange Online PowerShell, the corresponding Microsoft 365 or Office 365 user is deleted and removed from the list of users in the Microsoft 365 admin center. The user will still be recoverable for 30 days. After the 30 days time limit, the user is permanently deleted.

What is the difference between remove and disable? ›

Uninstalling an app will remove it entirely from your phone. Disabling an app will remove it from the apps screen and stop it from running in the background. Disabled apps will no longer receive updates.

Can a disabled Active Directory account still receive email? ›

Disabled users email accounts are able to receive emails. The mailbox will continue to be counted in the total number of mailboxes on your account, and the space used by that mailbox will still be included in the total disk space for your account.

How do I permanently delete my Exchange mailbox? ›

To delete a mailbox, in the left pane, select the mailbox, and then at the top of the page, click Delete. To delete a folder or a sub-folder, in the left pane, expand the mailbox and/or sub-folders, select the folders you want to delete, and then at the top of the page, click Delete.

How do I delete an Exchange mailbox without deleting AD user? ›

To delete the Exchange Online mailbox and keep the user account, follow the steps below:
  1. Connect to Exchange Online PowerShell. Run Windows PowerShell as administrator and Connect to Exchange Online PowerShell. ...
  2. Remove Exchange Online license. ...
  3. Get user mailbox status. ...
  4. Clear previous mailbox info. ...
  5. Get mailbox deletion status.
Apr 19, 2024

How do I recover a deleted mailbox in Exchange 2013? ›

You can use the Shell to restore a deleted mailbox to an existing mailbox using the New-MailboxRestoreRequest cmdlet. When you restore a deleted mailbox, its contents are copied to an existing mailbox, which is referred to as the target mailbox.

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

Disabled and deleted mailboxes are retained in the mailbox database until the deleted mailbox retention period expires, which is 30 days by default. After the retention period expires, the mailbox is permanently deleted (also called purged).

How do I view a disabled mailbox in Exchange Online? ›

How to find inactive mailboxes in Microsoft 365?
  1. Login to the Microsoft 365 Purview portal. Under Solutions, navigate to Data lifecycle management»Microsoft 365.
  2. Under the Retention policies section, click on the Inactive mailbox tab to get a list of inactive mailboxes in Microsoft 365.

How do I disable-mailbox database? ›

To disable an archive mailbox so you can delete the mailbox database, run the command Disable-Mailbox Mailbox ID -Archive. To disable a public folder mailbox so that you can delete the mailbox database, run the command Disable-Mailbox Mailbox ID -PublicFolder.

How do I disable-mailbox in Exchange Admin Center? ›

Use the EAC to delete a mailbox
  1. In the EAC, go to the location for the type of mailbox that you want to delete: Recipients > Mailboxes for user mailboxes and linked mailboxes. ...
  2. Find and select the mailbox that you want to disable. ...
  3. After you've selected the mailbox or mailboxes that you want to delete, click Delete.
Feb 21, 2023

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 disable and remove in Exchange 2010? ›

Disable gets rid of the Exchange attributes from the user account and marks the mailbox for deletion. Remove gets rid of the user account and marks the mailbox for deletion. The mailbox will still go to disconnected mailboxes for the retention period.

What is the difference between disable and remove in Exchange 2016? ›

To disable the user: go to Users > click on user > User Info > Disable User. If an Exchange mailbox is deleted, the user loses all data and attributes associated with Exchange mailbox, though the Active Directory object and the email address still remain in the system.

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

This state is called soft delete state. 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.

How to delete an Exchange mailbox without deleting the user? ›

To delete the Exchange Online mailbox and keep the user account, follow the steps below:
  1. Connect to Exchange Online PowerShell. Run Windows PowerShell as administrator and Connect to Exchange Online PowerShell. ...
  2. Remove Exchange Online license. ...
  3. Get user mailbox status. ...
  4. Clear previous mailbox info. ...
  5. Get mailbox deletion status.
Apr 19, 2024

Top Articles
Top 5 Scope Modeling Techniques
How to convert annual interest rate to daily? | Horizon65
Katie Pavlich Bikini Photos
Gamevault Agent
Hocus Pocus Showtimes Near Harkins Theatres Yuma Palms 14
Free Atm For Emerald Card Near Me
Craigslist Mexico Cancun
Hendersonville (Tennessee) – Travel guide at Wikivoyage
Doby's Funeral Home Obituaries
Vardis Olive Garden (Georgioupolis, Kreta) ✈️ inkl. Flug buchen
Select Truck Greensboro
How To Cut Eelgrass Grounded
Craigslist In Flagstaff
Shasta County Most Wanted 2022
Energy Healing Conference Utah
Testberichte zu E-Bikes & Fahrrädern von PROPHETE.
Aaa Saugus Ma Appointment
Geometry Review Quiz 5 Answer Key
Walgreens Alma School And Dynamite
Bible Gateway passage: Revelation 3 - New Living Translation
Home
Shadbase Get Out Of Jail
Gina Wilson Angle Addition Postulate
Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
Walmart Pharmacy Near Me Open
Dmv In Anoka
A Christmas Horse - Alison Senxation
Ou Football Brainiacs
Access a Shared Resource | Computing for Arts + Sciences
Umn Biology
Obituaries, 2001 | El Paso County, TXGenWeb
Cvs Sport Physicals
Mercedes W204 Belt Diagram
Rogold Extension
'Conan Exiles' 3.0 Guide: How To Unlock Spells And Sorcery
Colin Donnell Lpsg
Teenbeautyfitness
Weekly Math Review Q4 3
Facebook Marketplace Marrero La
Nobodyhome.tv Reddit
Topos De Bolos Engraçados
Gregory (Five Nights at Freddy's)
Grand Valley State University Library Hours
Holzer Athena Portal
Hampton In And Suites Near Me
Stoughton Commuter Rail Schedule
Bedbathandbeyond Flemington Nj
Free Carnival-themed Google Slides & PowerPoint templates
Otter Bustr
Used Curio Cabinets For Sale Near Me
San Pedro Sula To Miami Google Flights
Selly Medaline
Latest Posts
Article information

Author: Horacio Brakus JD

Last Updated:

Views: 6201

Rating: 4 / 5 (71 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Horacio Brakus JD

Birthday: 1999-08-21

Address: Apt. 524 43384 Minnie Prairie, South Edda, MA 62804

Phone: +5931039998219

Job: Sales Strategist

Hobby: Sculling, Kitesurfing, Orienteering, Painting, Computer programming, Creative writing, Scuba diving

Introduction: My name is Horacio Brakus JD, I am a lively, splendid, jolly, vivacious, vast, cheerful, agreeable person who loves writing and wants to share my knowledge and understanding with you.