About Us    |    Contact Us

Remove a Public Folder Database in Exchange Server


Exchange Administrator have to perform a frequent task to remove the public folder from exchange database and he can use either Exchange Management Console or Exchange Management Shell (PowerShell Commands). To know complete step read the complete article, Exchange public folder stores entire publically shared data and many time the exchange public folder consist garbage data and it affects the processing of exchange server so it is necessary to remove the public folder database from exchange server.

Remove a Public Folder Database Easily

Removing a public folder database requires several steps to be performed and you need to ensure various aspects fulfills before starting remove public folder from exchange server. The exchange administrator need to specify whether he is removing last public folder database in your organization or removing a public folder from exchange server.

Remove Last Public Folder Database from the Organization: - Before start removing last public folder you need to first ensure that your organization does not contain any servers running exchange server 2003 or its earlier version and then remove the last public folder database.

Remove the Public Folder Database from Exchange Server: - You need to move the data in the public folder first and the move the public folder database to another server database and after it use PowerShell command or GUI base navigation using management console.

Remove a Public Folder Database using Exchange Management Console (EMC)

Perform the sequence of instruction given below to remove a new public folder database, simply perform the operation based on GUI based exchange management console panel.

  1. Access the Exchange Server using exchange credential.
  2. Go to Start and find the Exchange Management Console and click on it.
  3. Now go to console tree, explore the Server Configuration and then click on the Mailbox.
  4. Specify the result pane click on Server from which you want remove the public folder.
  5. Now explore the Storage Group by specifying it from work pane and then click on Public Folder Database which you want to remove.
  6. Go to the action pane and specify and then click on Remove button.
  7. As you click on remove a confirmation message to ensure that you want to remove the public folder or not, click on Yes button.
  8. A message dialogue box with successful message of removing public folder database and it will remind you to manually remove the database file.

Note: - You need to move public folder database folder replica to another server if you have not done so then it will display an error describing that the public folder database cannot removed because it contains public folder replicas and the default location of public folder database is C:\Program Files\Microsoft\ExchangeServer\Mailbox\<storage group name>\<public folder database name>.

Remove a Public Folder Database using Exchange Management Shell

Exchange management shell is a scripting language which is used to automate the exchange task but keep in mind that execution of command requires attention while executing the commands.

  1. Run the command given below
    Remove-PublicFolderDatabase -Identity "<server>\<storage group>\<public folder database>"
  2. As you press enter a message will appear to take an input which ensure that you want to remove the public folder press the Y.
  3. Now a warning message will appear to confirm you that the public folder database is removed successfully and the default location of this file is.
    C:\Program Files\Microsoft\ExchangeServer\Mailbox\<storage group name>\<public folder database name>