Quick answer: This error means classic Outlook can’t open the .pst file it was told to use, so Send/Receive stops. Open File > Account Settings > Account Settings, go to the Data Files tab and check that the file listed there still exists at that path. Move it back, or point Outlook at the right copy, and keep it on a local drive rather than a network share or a synced folder. If the file is there but damaged, back it up and run the Inbox Repair Tool (SCANPST.EXE). For error 0x8004010F, Microsoft’s own fix is a new Outlook profile.
In this guide
- Match your symptom
- Fix 1: Find the data file Outlook is looking for
- Fix 2: Point Outlook at the right .pst file
- Fix 3: Move the file off a network drive or synced folder
- Fix 4: Close whatever else has the file open
- Fix 5: Clear the read-only attribute and check permissions
- Fix 6: Repair the file with the Inbox Repair Tool
- Fix 7: Create a new Outlook profile
- Related guides
Applies to: classic Outlook for Microsoft 365, Outlook 2024, 2021, 2019 and 2016 on Windows, with POP, IMAP or Exchange accounts. Microsoft’s article on error 0x8004010F was written for Outlook 2010 and 2013, but the same dialogs should still be present in later versions. The new Outlook for Windows doesn’t use mail profiles and the Data Files tab in the same way, so these steps are for classic Outlook.
An Outlook data file holds your mail on your PC: a .pst file for POP accounts and archives, and an .ost offline copy for Exchange and Microsoft 365 mailboxes. Your profile stores the full path to each file. When the file has been moved, renamed, deleted, locked or damaged, Outlook reports that it cannot be accessed. Microsoft lists two wordings for the 0x8004010F version of the message, seen while sending or receiving: 0x8004010F: Outlook data file cannot be accessed. and 0x8004010F: The operation failed. An object could not be found.
Before you start: close Outlook and copy your .pst file to a USB drive or another folder. Several fixes below move, reconnect or repair the file, and a spare copy means nothing is lost if a step goes wrong.
Match your symptom
| What you see | Possible cause | Go to |
|---|---|---|
| Error appears after you moved files, renamed a folder or got a new PC | Profile still points at the old path | Fix 1, Fix 2 |
| New mail lands nowhere or the error names a file you don’t recognize | Wrong file set as the default delivery location | Fix 2 |
| The .pst lives on a mapped drive, a server share or in OneDrive | Network or sync interruption | Fix 3 |
| Error comes and goes, or appears right after Outlook restarts | Another process still has the file open | Fix 4 |
| File was copied from a backup, disc or another account | Read-only attribute or missing permissions | Fix 5 |
| Outlook says it can’t open the set of folders or the file is damaged | Corruption inside the data file | Fix 6 |
| 0x8004010F persists although the file is fine | Damaged Outlook profile | Fix 7 |
Fix 1: Find the data file Outlook is looking for
Start by finding out which file your profile expects and where. If classic Outlook opens, use the first route; if it won’t stay open long enough, use Control Panel.
- In Outlook, select File > Account Settings > Account Settings and open the Data Files tab. Microsoft says every .pst and .ost file in the profile is listed there with its account.
- If Outlook won’t open, close it, open Control Panel and select the Mail item (it might be shown as Mail (Microsoft Outlook); search Control Panel for “Mail” if you can’t see it). Choose Show Profiles, select your profile, then Properties > Data Files.
- Note the name and full path of each file. The one with a check mark is the default, the file that receives new mail.
- Copy the folder part of the path (everything before the file name) into the File Explorer address bar. If Windows says the location isn’t available, the file has moved or the drive it was on isn’t connected.
If the folder opens and the file is there, skip to Fix 3. If it isn’t, Fix 2 reconnects the right copy.
Fix 2: Point Outlook at the right .pst file
When a .pst has been moved, renamed or restored to a new folder, the profile keeps looking in the old place. Find the real file first: search File Explorer for *.pst and check the date modified to pick the current copy.
- Close Outlook, then open it again. If it asks you to locate the missing file, browse to the copy you found and select it. This dialog doesn’t appear in every case.
- If Outlook opens, go to the Data Files tab, select Add, browse to the correct .pst and select OK.
- Select the newly added file and choose Set as Default so new mail is delivered to it.
- For a POP account, check the Email tab as well: select the account and look at the delivery location shown at the bottom of the dialog. Where a Change Folder button is offered, use it to choose the Inbox in the correct file.
- Back on the Data Files tab, select the old entry that points at the missing path and choose Remove. This removes the entry from the profile only, not the file from your disk.
- Restart Outlook and run Send/Receive.
If some mail still goes missing after this, check that the default file and the delivery folder are the same .pst; Outlook only sends new mail to one of them.
Fix 3: Move the file off a network drive or synced folder
Microsoft Learn states that .pst and .ost files on a network share, over a LAN or WAN, aren’t supported, apart from a narrow case for Outlook running on a remote desktop or virtual desktop server with one Outlook client per file. It warns that a .pst opened over the network can become corrupt when the connection weakens or drops, and that everything runs slower. A file on a mapped drive, a NAS or a server folder is exposed to exactly that.
Microsoft’s article is about network shares, but a folder synced by OneDrive or another cloud service raises a similar concern: the sync client can upload, lock or replace the file while Outlook is writing to it. If your Documents folder is backed up to OneDrive, check whether an Outlook Files folder inside it is being synced too.
- Close Outlook and make sure it has fully exited (see Fix 4).
- Copy the .pst to a local folder that isn’t synced, for example a new folder such as
C:\OutlookData. - Open Outlook and reconnect the copy as in Fix 2, then remove the entry for the old location.
- Once mail arrives normally, delete or archive the old networked copy so it isn’t opened by mistake.
If you rely on OneDrive for backup and want to keep Outlook files out of it, see OneDrive not syncing in Windows 11 for how the sync settings and folder backup work. On a work PC, ask IT before moving files out of a redirected folder.
Fix 4: Close whatever else has the file open
Outlook expects to be the only program writing to a .pst. Microsoft’s support conditions for networked files allow one Outlook client per file, and a lock held by another process on the same PC can stop Outlook in a similar way.
- Outlook still running: after you close it, press Ctrl + Shift + Esc, look on the Processes tab for Microsoft Outlook or
OUTLOOK.EXE, select it and choose End task. Add-ins and sync tools for phones can keep Outlook alive in the background. - Two PCs, one file: if the .pst sits on a shared drive and someone else has it open in their Outlook, your copy of Outlook can’t use it. Give each person their own file.
- Backup, sync or security tools: a backup job, cloud sync client or antivirus scan can hold the file while it reads it. Pause the tool or wait for it to finish, then reopen Outlook.
- Restart the PC: a restart releases any lock left behind by a crashed program.
If Outlook hangs at startup instead of showing the error, the steps in Outlook won’t open cover safe mode and other startup checks.
Fix 5: Clear the read-only attribute and check permissions
Outlook has to write to a .pst, not just read it. A file restored from a backup, copied from a disc or taken from another user account can arrive read-only, or owned by an account you can’t write as.
- Close Outlook. In File Explorer, right-click the .pst and select Properties.
- On the General tab, clear Read-only if it’s selected, then select Apply.
- Open the Security tab, select your user name and check that Modify or Full control is allowed. If you can’t change it, select Edit (you might need administrator rights) or copy the file into your own Documents folder, which gives your account a copy it owns.
- Open Outlook and test Send/Receive.
On a company PC, file permissions are sometimes set by policy. In that case, ask your IT team rather than changing ownership yourself.
Fix 6: Repair the file with the Inbox Repair Tool
If the file is in the right place, unlocked and writable but Outlook still can’t open it, the next suspect is damage inside the file itself. Microsoft suggests the Inbox Repair Tool, SCANPST.EXE, when Outlook can’t open your data file or the set of folders, or when you suspect damage.
Warning: back up the .pst before you repair it. Microsoft recommends this too. The tool rewrites the file, and items it can’t place are moved, not left where they were.
- Exit Outlook.
- Find
SCANPST.EXE. Microsoft givesC:\Program Files (x86)\Microsoft Office\root\Office16for Outlook 2016 and 2019. On a 64-bit Office install, also look inC:\Program Files\Microsoft Office\root\Office16. If it isn’t in either, searchC:\Program FilesforSCANPST.EXE. - Open the tool, select Browse, pick the .pst you found in Fix 1 and select Start.
- If errors are found, select Repair. Microsoft notes you may need to run the tool more than once before it reports no errors.
- Start Outlook with the profile that uses the repaired file.
The tool saves a backup next to the original with a .bak extension. After a repair, look for a Recovered Personal Folders set or a Lost and Found folder in the folder pane: according to Microsoft, these hold items the tool couldn’t put back in their original folders. Move what you need into a normal folder or a new data file. Microsoft also explains that you can rename a copy of the .bak file to end in .bak.pst and import it to pull back more items.
For an Exchange or Microsoft 365 mailbox, the local file is an .ost, a copy of mail kept on the server. Microsoft says you can delete it and Outlook builds a new one the next time it opens, which is often simpler than repairing it. Don’t do this with a .pst: a POP .pst may be the only copy of that mail. If SCANPST.EXE won’t start, Microsoft points to repairing the Office install; see how to repair Microsoft Office.
Fix 7: Create a new Outlook profile
Microsoft’s article on 0x8004010F puts the error down to a damaged Outlook profile and resolves it by building a new profile that reuses your existing data file. The old profile stays in place, so you can switch back.
- Note the path of your default data file (Fix 1).
- Close Outlook. In Control Panel, open Mail, select Show Profiles and choose Add.
- Type a name for the new profile and select OK.
- For a Microsoft 365 or Exchange account, enter your email address and sign in; Outlook creates a fresh .ost from the server.
- For a POP or IMAP account, choose manual setup, pick POP or IMAP (labeled Internet E-mail in older versions) and enter the server details. For POP, select Existing Outlook Data File, then Browse to the .pst you noted. Microsoft points out that automatic setup creates an IMAP account when the server offers both, so use manual setup when you need POP.
- Finish the wizard. Back on the General tab of the Mail dialog, select Always use this profile, choose the new profile in the list and select OK.
Open Outlook and test Send/Receive. To add archive files or other .pst files to the new profile, select File > Open & Export > Open Outlook Data File (shown as File > Open in older versions) and browse to each file. If mail still doesn’t send, Outlook emails stuck in the Outbox covers the next checks, and resetting Outlook to default settings explains how to start over with views and profiles.
Related guides
- Outlook won’t open: how to fix it in Windows 11
- Outlook emails stuck in the Outbox: how to fix it
- How to repair Microsoft Office (Quick Repair and Online Repair)
- How to reset Outlook to default settings
- OneDrive not syncing in Windows 11: how to fix it
Leave a Reply