Outlook ‘Cannot Expand the Folder’ Public Folder Hierarchy: Fix
🔍 WiseChecker

Outlook ‘Cannot Expand the Folder’ Public Folder Hierarchy: Fix

When you try to access a public folder in Outlook, you might see the error message: “Cannot expand the folder. The set of folders cannot be opened.” This usually means Outlook cannot connect to the public folder hierarchy stored on your Microsoft Exchange server. The problem can be caused by a corrupt cached copy of the hierarchy, a permissions issue, or a network connectivity problem.

This article explains why the public folder hierarchy fails to load and provides step-by-step fixes to restore access. You will learn how to clear the local cache, verify your permissions, and check server settings. After following these steps, you will be able to browse and use public folders in Outlook again.

Key Takeaways: Fixing the Public Folder Hierarchy Error

  • Outlook.exe /resetfolders: Resets the public folder view and forces a fresh download of the hierarchy from the Exchange server.
  • Control Panel > Mail > Data Files > Remove the Offline Public Folder cache (.ost): Deletes the corrupt local copy so a new one is created.
  • File > Account Settings > Account Settings > Change > More Settings > Advanced: Verify the public folder server name is correct and the mailbox is reachable.

ADVERTISEMENT

Why the Public Folder Hierarchy Fails to Expand

Public folders in Exchange are organized in a hierarchical structure stored on the server. Outlook downloads a local copy of this hierarchy into an offline folder file (.ost). When the local cache becomes corrupt, or when the server connection is interrupted, Outlook cannot open the folder tree.

Common root causes include:

  • A corrupt offline public folder .ost file stored on your local drive.
  • Incorrect permissions on the public folder root or the specific folder you are trying to open.
  • A mismatch between the public folder server name in Outlook and the actual server name.
  • Network issues such as a proxy or firewall blocking the MAPI connection to the Exchange server.
  • An outdated Outlook profile that no longer matches the current server configuration.

Steps to Fix the Public Folder Hierarchy Error

Follow these methods in order. Test after each method by restarting Outlook and attempting to expand the public folder.

Method 1: Run the Outlook Reset Folder Command

  1. Close Outlook completely
    Make sure no Outlook process is running. Open Task Manager and end any Outlook.exe processes if necessary.
  2. Open the Run dialog
    Press the Windows key + R on your keyboard.
  3. Type the reset command
    In the Open box, type: Outlook.exe /resetfolders and press Enter. This command resets the public folder view and triggers a fresh download of the hierarchy from the Exchange server.
  4. Wait for Outlook to start
    Outlook will open with a blank public folder view. Expand the public folder tree. If the error is gone, you are done. If not, proceed to Method 2.

Method 2: Remove the Offline Public Folder Cache File

The offline public folder cache is stored in a separate .ost file. Deleting it forces Outlook to rebuild it from the server.

  1. Close Outlook
    Ensure Outlook is not running.
  2. Open Control Panel
    Search for Control Panel in Windows and open it.
  3. Go to Mail
    Click Mail (32-bit) or Mail (Microsoft Outlook). The icon name depends on your Windows version.
  4. Open Data Files
    In the Mail Setup dialog, click Data Files.
  5. Identify the public folder cache file
    Look for an entry named “Offline Folder File Settings” or one that contains “Public Folders” in the description. The file path is shown at the bottom. Note the path.
  6. Remove the file from Outlook
    Select the entry and click Remove. Click Yes to confirm.
  7. Delete the physical file
    Open File Explorer, navigate to the path you noted, and delete the .ost file. Common locations: %localappdata%\Microsoft\Outlook or %userprofile%\AppData\Local\Microsoft\Outlook.
  8. Restart Outlook
    When Outlook opens, it will create a new public folder cache. Expand the public folder tree to test.

Method 3: Verify Public Folder Permissions

If you lack the required permissions, Outlook cannot read the hierarchy. This fix requires help from your Exchange administrator.

  1. Contact your Exchange admin
    Ask them to check your permissions on the public folder root and the specific folder you need to access.
  2. Request the correct permission level
    For reading the hierarchy, you need at minimum the “Reviewer” role on the top-level public folder. For creating subfolders, you need “Contributor” or higher.
  3. Test in Outlook
    After permissions are updated, close and reopen Outlook. Expand the public folder tree.

Method 4: Repair the Outlook Profile

  1. Open Control Panel > Mail
    As in Method 2, open the Mail setup dialog.
  2. Click Show Profiles
    Select your current profile and click Properties.
  3. Click Repair
    Follow the on-screen wizard. This checks the server connection and resets profile settings.
  4. Restart Outlook
    Try expanding the public folder again.

Method 5: Create a New Outlook Profile

If repairing does not work, create a fresh profile.

  1. Open Control Panel > Mail > Show Profiles
    Click Add to create a new profile. Give it a name like “Outlook New”.
  2. Configure the email account
    Enter your name, email address, and password. Let Outlook set up the account automatically.
  3. Set the new profile as default
    Under “When starting Microsoft Outlook, use this profile”, select the new profile name.
  4. Start Outlook
    Expand the public folder tree. If it works, you can delete the old profile.

ADVERTISEMENT

If Outlook Still Has Issues After the Main Fix

Public Folder List Is Empty

If the folder hierarchy loads but shows no folders, your permissions may be incomplete. Ask your Exchange admin to give you at least “Folder visible” permission on the public folder root. Also check that the public folder mailbox is mounted on the server.

Outlook Crashes When Expanding a Specific Public Folder

A single corrupt item inside a public folder can cause Outlook to crash. Ask your admin to run the Exchange Management Shell command Get-PublicFolderStatistics -Identity "FolderName" | fl to inspect the folder. The admin can delete the corrupt item using MFCMAPI or by moving items out of the folder.

Error Still Shows After All Steps

If none of the above methods work, the issue may be on the server side. The public folder mailbox might be dismounted or the hierarchy might be corrupt for all users. Your Exchange admin should check the health of the public folder mailbox using Get-MailboxDatabase and Get-PublicFolderMailbox in Exchange Management Shell. A database repair or restore may be needed.

Cached Exchange Mode vs Online Mode for Public Folders

Item Cached Exchange Mode Online Mode
Public folder data location Downloaded to a local .ost file Accessed live from the server
Offline access Available when disconnected Not available when disconnected
Performance for large hierarchies Slower initial sync, faster after cache is built Slower for large folders due to constant server queries
Risk of “Cannot expand” error Higher due to corrupt local cache Lower if server is healthy
Recommended for Users who need offline access or have slow network Users with fast network and no offline need

After completing the fixes above, you should be able to expand the public folder hierarchy without errors. If the problem returns, run the Outlook.exe /resetfolders command again as a quick maintenance step. For ongoing reliability, ask your Exchange admin to monitor the public folder mailbox health using the Exchange Management Shell cmdlet Test-PublicFolderMailbox.

ADVERTISEMENT