If you see “The set of folders cannot be opened” in Microsoft Outlook, it usually means Outlook cannot access your mailbox data file (.pst or .ost) because the file is corrupted, locked by another process, or the profile is damaged. The fix typically involves closing Outlook, repairing the data file with the Inbox Repair Tool, or recreating your Outlook profile.
What Causes This Error?
This error appears when Outlook tries to open your default mail folders (Inbox, Sent Items, Calendar) but fails. Common triggers include:
- A corrupted or oversized .pst/.ost file
- Outlook still running in the background after you close it
- Antivirus software scanning or locking the data file
- A damaged Outlook profile or mail account settings
- Insufficient permissions on the folder containing the data file
- Network drive issues if your .pst is stored on a shared location
How Outlook Stores Your Data
Outlook uses two main file types: .pst (Personal Storage Table) and .ost (Offline Storage Table). A .pst is used for POP3 accounts, IMAP accounts, and archives. An .ost is a cached copy for Exchange, Microsoft 365, and Outlook.com accounts. When you start Outlook, it must read the default folder hierarchy from this file. If the file is corrupted or locked, the folder set cannot be opened.
Fix 1: Force Close Outlook and Restart
Often Outlook continues running in the background after you close the window, keeping the data file locked.
- Press Ctrl+Shift+Esc to open Task Manager.
- Look for Microsoft Outlook under Processes. If it is there, select it and click End Task.
- Restart Outlook and see if the error is gone.
Fix 2: Run the Inbox Repair Tool
The Inbox Repair Tool (Scanpst.exe) can fix minor corruption in .pst files. It is installed with Outlook.
- Close Outlook.
- Navigate to the folder where Scanpst.exe is located. For 64-bit Outlook on 64-bit Windows, it is usually in
C:\Program Files\Microsoft Office\root\Office16. For 32-bit Outlook, it is inC:\Program Files (x86)\Microsoft Office\root\Office16. - Double-click Scanpst.exe.
- Click Browse to select your .pst file. The default location is
C:\Users\YourUsername\Documents\Outlook FilesorC:\Users\YourUsername\AppData\Local\Microsoft\Outlook. - Click Start. The tool will scan and then ask if you want to repair. Click Repair.
- After repair, reopen Outlook.
Note: Scanpst.exe does not work on .ost files. For .ost corruption, you can delete the .ost file and let Outlook rebuild it, or use the profile repair method below.
Fix 3: Repair Your Outlook Profile
If the data file is fine, the problem may be in your Outlook profile.
- Open Control Panel and go to Mail (or Mail (32-bit)).
- Click Show Profiles.
- Select your profile and click Properties.
- Click Email Accounts.
- Select your account and click Repair. Follow the prompts.
- If that doesn’t work, create a new profile: In the Mail dialog, click Add, enter a name, and set up your email account again. Then set it as the default profile.
Fix 4: Disable Antivirus Integration
Some antivirus programs scan Outlook data files and lock them temporarily. If you see this error after installing or updating security software, try disabling the email scanning feature temporarily. If that fixes it, add Outlook to the antivirus exclusion list.
Fix 5: Check File Permissions and Location
If your .pst is stored on a network drive or a folder you don’t have full control over, Outlook may fail to open it.
- Move the .pst to a local folder like
C:\Users\YourUsername\Documents\Outlook Files. - Right-click the .pst file, choose Properties > Security, and ensure your user account has Full control.
- If you are on a company network, ask your IT admin to check if the folder is accessible.
Frequently Asked Questions
Will I lose my emails if I run Scanpst.exe?
No, the Inbox Repair Tool is designed to recover data from a corrupted .pst file. It creates a backup copy before making changes. However, if the file is severely damaged, some items may not be recoverable.
Can I delete the .ost file to fix this error?
Yes, for Exchange or Microsoft 365 accounts, you can close Outlook, delete the .ost file (located in %LocalAppData%\Microsoft\Outlook), and restart Outlook. It will recreate the file by downloading a fresh copy from the server.
What if the error appears only when I open a specific folder?
That usually means the folder itself is corrupted. Try moving the items out of that folder to another folder, then delete the empty folder. If that doesn’t help, run Scanpst.exe on the entire data file.
Why does this error happen after a Windows update?
Windows updates can change file associations or permissions, and sometimes Outlook’s data file gets flagged by the new OS security policies. Re-running the repair tool and checking permissions usually resolves it.
Is there a way to prevent this error?
Regularly back up your .pst file, keep Outlook updated, avoid storing the data file on network drives, and exclude Outlook data files from antivirus real-time scanning. Also, use the built-in archive feature to keep the .pst size under control.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- How to Add & Remove Favorites in Windows 10 Photos App
- Fix Links Not Opening in Chrome: 7 Top Ways
- Windows 11 search how to control automatic indexing of frequently used folders?
- How to Set Up Tips on Twitter (X) for Android & iOS
- Microphone Access: Give Apps Only What They Need
- Fix QuickBooks Error Code: Step-by-Step Guide