Methods to delete Exchange Public Folders

Adarsh Manjhi
Adarsh Manjhi

Updated On - March 4, 2024

Summary: Exchange Server may become overloaded by the number of Public Folders and its data, which can be responsible for slowing down the entire account. These folders may no longer be in use or get corrupted. In that case, these folders need to be deleted to run Exchange Server smoothly and hassle-free. Let’s see the methods for deletion of Exchange Public Folders; however, if these methods don’t work, you can try Recoveryfix for Exchange Server.

Download Free

People use public folders to quickly and effectively collect, organize, and share information with others in their workgroup or organization. It organizes content in a deep hierarchy that’s easy to browse. However, public folders aren’t designed for data archiving and document collaboration.

Considerations before deleting public folders

  • Impact on users: Deleting public folders can affect users who are dependent on them for collaboration and information sharing.
  • Copy status: Ensuring that the public folder copy is up-to-date before initiating the deleting process.
  • Archiving requirements: whether the data is essential, whether it is in public folders is necessary or not.
  • Customization and permissions: Take note of any customizations/permissions before deleting public folders. You may need to re-create these settings after deletion.
Steps to delete Exchange Public Folders safely
  • Backup the data: Before deleting any public folders ensure you have a backup of data they contain.
  • Verify public folder content: Use tools like Exchange Management Shell or Exchange Admin Center to review the content of Public Folders before deletion.
  • Plan deletion schedule: Make the deletion process during non-critical time to minimize disruption of users.
  • Keep track of deletion progress: During the deletion process, monitor the progress and any error messages or warnings that may occur.
  • Confirm complete deletion of folders: Verify that the public folders or its duplicates have been removed sucessfully from all servers.
  • Notify the changes: Notify affected users about the deletion of public folders or any issues encountered.
  • Keep previous records as future reference.
Method 1:Deleting Exchange Public Folders using EAC

First, clear the public folder of all duplicates on all servers. Then, delete the public folder. Lastly, ensure the Offline Address Book (OAB) has no references to the public folder.

  1. In Exchange Admin Center, login as the Administrator who has the privilege to access Public folders and to delete them. In the public folders seciton, go to the respective public folder you need to delete.Exchange Admin Center
  2. Note – A public folder is created only in an Exchange Public folder mailbox.

  3. To delete a public folder or sub-folder, select it in the list view, click on its name, and select Delete from the row, excluding the highlighted name, to avoid selecting the delete option.
  4. A notification box displays, asking if you’re sure you want to delete the public folder. Click Yes to continue.
    Click Yes to continue

    After sucessful deletion all subfolders will be deleted.

    subfolders will be deleted

Method 2: Deleting Exchange Public folders using Exchange Management Shell

Exchange Management Shell can assist you with a variety of activities, including exporting and archiving mailbox items in Exchange Server, as well as other concerns related to public folders.

Benefits of Exchange Management Shell:-

  1. Automating common tasks
  2. Increased control over settings
  3. Saves time and effort
    • First write this command in Exchange Management shell:-
    • Remove-PublicFolder -Identity “\Help Desk\Resolved”

      The public folder Help Desk\Resolved is erased. It is assumed by the above code that there are no subfolders in the Resolved public folder.

    • This command tests previous commands without making any modifications.
    • [Remove-PublicFolder -Identity “\HelpDesk\Resolved” -WhatIf ]

    • This command removes the public folder Marketing and all its subfolders because the command runs repeatedly.
    • Remove-PublicFolder -Identity “\Marketing” -Recurse:$True

    • Finally, you have to make sure that the Offline Address Book (OAB) has no references to the public folder.
    • Use this command to confirm that all public folders have been removed:
    • Get-PublicFolderStatistics -Server | fl

Limitations of Manual Method :
  • Sometimes, folders have essential data that is corrupted and might get deleted if not dealt with carefully.
  • Data can be lost in one single mistake, which causes a huge blunder that might result in the corruption/deletion of the Exchange original folder.
  • Exchange Public Folders contain a time retention policy after expiry of this policy, these folders can’t be recovered.

Conclusion

We’ve finished removing public folders from an Exchange Server. However, in case you still want to maintain the public data directories/folders, we have another option. Using Recoveryfix for Exchange server, you can back up ,recover or move the public folders to an active Exchange Server. With the help of this vital tool, you can quickly and effectively scan your corrupted or damaged EDB files and retrieve all of your crucial data, including contacts, calendars, emails, attachments, notes, and more.

Download Free

Related Posts