How to remove a particular user mailbox data from Exchange 2016

Jonathan Priyaraj 80 Reputation points
2024-04-04T14:57:11.3166667+00:00

How can I remove old user (let's say john@otp. com) mailbox data from my exchange 2016 database so that it can free up space inside my Server? Please help

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,357 questions
0 comments No comments
{count} votes

Accepted answer
  1. Jake Zhang-MSFT 1,235 Reputation points Microsoft Vendor
    2024-04-05T06:47:55.4766667+00:00

    Hi @Jonathan Priyaraj ,

    The Exchange database does not automatically reclaim the freed space immediately. To reduce the physical size of the database files, you need to perform offline defragmentation using the 'Eseutil' tool. However, this operation requires dismounting the database, which will prevent users from accessing the database during the process. Be sure to confirm that the backup has been completed before performing this operation to prevent data loss.

    To perform offline defragmentation:

    1.Dismount the database with the Exchange Management Shell command:

    Dismount-Database -Identity "YourDatabaseName"

    2.Run ‘seutil’ with the ‘/D’ switch to defragment the database:

    eseutil /d "C:\path\to\your\database.edb"

    3.Remount the database after the process is complete.


0 additional answers

Sort by: Most helpful