'You don't have permission to save in this location' — OneDrive's permission lie
When OneDrive throws a permission error on a folder you definitely own, the cause is almost never permissions. Here's what's really blocking the save and how to release it.
Mona Steele
Microsoft 365 enthusiast
Affiliate disclosure: Some links in this article may earn us a commission at no extra cost to you. Learn more.
The error message lies. Outright lies.
A client called me at 3:14 PM on a Wednesday last October. She was screaming-into-the-phone level frustrated. Word had been telling her for forty minutes that she didn't have permission to save a Q3 report into her own OneDrive folder. She'd created the folder. She'd been editing the file all day. Now Word was insisting she was an intruder.
It wasn't a permission problem. It almost never is. But Word and OneDrive have decided that "permission" is the catch-all error message for about six totally different problems, and they refuse to be specific about which one is actually happening.
Let me walk through what's really going on.
The actual causes — none of them are permissions
In rough order of how often I see them:
- The file is open in another process (often another Office instance you forgot about)
- OneDrive is in the middle of syncing the file and has it locked
- Antivirus is scanning or quarantining the file
- The file is a Files On-Demand placeholder that hasn't downloaded
- A leftover temp file (~$ file) from a crashed session is blocking the save
- The file path is too long — Windows has a 260-character limit by default
Notice "actual permission denied" isn't on the list. That happens, but it's rare on your own OneDrive folders unless you've done something weird with NTFS permissions or the folder got moved into a SharePoint site you don't own.
Finding who has the file open
This is the first thing I check. Open Resource Monitor — search for "resmon" in the Start menu. Go to the CPU tab. There's a section called "Associated Handles" with a search box.
Type the name of the file you can't save. Even just part of it. Resource Monitor will list every running process that has a handle on that file. Often you'll see WINWORD.EXE in there twice. Or you'll see EXCEL.EXE has the file open even though Excel isn't visibly running. Or you'll see an antivirus process is mid-scan.
Process Explorer from Microsoft Sysinternals does the same thing better. Find → Find Handle or DLL, type the filename. Same result, cleaner interface. I keep procexp64.exe pinned to my taskbar because I open it three times a day.
When you find the offending process, decide whether to close it cleanly or kill it. If it's an Office app you didn't know was running, try to close it normally first — there might be unsaved work in it. End Task only if it won't respond.
The ~$ files
Word, Excel, and PowerPoint all create a hidden temp file alongside the file you're editing. It starts with ~$ and matches the filename. So if you're editing Report.docx, there's a ~$Report.docx sitting next to it.
That file is supposed to get deleted when you close Word. If Word crashes — or if Windows reboots while it's open, or if OneDrive syncs at the wrong moment — the ~$ file gets orphaned. It just sits there. And it holds a lock that prevents the next save.
To see these files, open File Explorer, go to View, and turn on "Hidden items." Now navigate to your OneDrive folder. The ~$ files appear. Delete them. All of them. They regenerate when you reopen the actual files, so there's nothing to lose.
I've had this exact issue clear up a "permission denied" error maybe 30 times over the years. It's the boring fix that works.
The Save As diagnostic
Before I go deep on troubleshooting, I always do this test: hit File → Save As (or just Save a Copy in newer Office) and try to save the file to your Desktop or Documents folder, NOT inside the OneDrive folder.
If THAT save works — your file is fine, your Office is fine, the problem is specifically about saving into the OneDrive folder. That points at sync state, antivirus, or Files On-Demand.
If the Save As also fails to a non-OneDrive location — the file itself is locked or corrupted, and you've got a different fight on your hands. Sometimes the only way out is to copy-paste the contents into a fresh document and start over.
Antivirus scanning your OneDrive folder
OneDrive folders see a lot of file activity. Files get touched, downloaded, modified, synced. Real-time antivirus scanners interpret this as suspicious behavior and grab a lock on files mid-sync.
Norton, Bitdefender, McAfee, and even Windows Defender can do this. The fix is to add an exclusion for the OneDrive folder.
For Defender: Settings → Privacy & security → Windows Security → Virus & threat protection → Manage settings → Exclusions → Add an exclusion → Folder. Pick your OneDrive root folder. Done.
I know — adding an exclusion feels like turning off security. It's not. OneDrive itself scans files for malware on the cloud side, and if you download a sketchy file, Defender will still catch it when you actually try to open it. The exclusion just tells Defender to stop interfering with the sync engine.
If your IT department manages your machine, they may have locked down exclusions. In that case, get them to add the exclusion centrally. Don't fight the policy — file a ticket and reference the OneDrive performance docs (which actually do recommend this exclusion).
Files On-Demand placeholders
If you see a cloud icon next to a file in File Explorer instead of a green checkmark, that file isn't on your computer. It's a placeholder. Windows downloads it on demand when you open it.
But here's the trap. If you open a placeholder file, edit it, and try to save BEFORE the download fully completes, Office sometimes throws the permission error. Because there's a sync conflict — your edits are happening in memory, but the file on disk is still partially a placeholder.
Right-click the file (or the whole folder) and pick "Always keep on this device." That forces a full download and removes the placeholder behavior. The file becomes a normal file with a green checkmark. Save errors usually clear up immediately.
I'd do this for any folder you actively work in. Save Files On-Demand for the archives.
Restarting OneDrive
When OneDrive itself gets stuck, restart it. Don't just close the icon — properly kill the process and relaunch.
Open PowerShell. Run:
taskkill /f /im OneDrive.exe
That force-kills it. Then start it again from the Start menu, or run:
& "$env:LOCALAPPDATA\Microsoft\OneDrive\OneDrive.exe"
It'll pop the icon back into the system tray and start syncing. The brief pause often releases whatever lock was wedged. I do this once a week minimum on my own machine.
The "Save a Copy" workaround
If nothing else works and you're staring at deadline pressure, here's the escape hatch. File → Save a Copy. Save the copy somewhere new — Desktop, a different OneDrive folder, anywhere. Use a slightly different filename.
Now you have a working copy of your work. You can deal with the broken original later. The fight isn't over but you're not losing the document.
I tell every panicked client to do this before we troubleshoot. Get the work safe. Then we figure out why.
Two Office instances at once
This is the weird one. Sometimes Office launches a second instance of itself in the background — usually because you opened a file from a SharePoint link, or from Outlook, while another file was already open. Now Word is running twice. Both instances have a handle on your file. They're fighting each other for the save lock.
You usually won't see the second instance in the taskbar. It's a hidden process. Resource Monitor will show two WINWORD.EXE entries.
Close every Office app you can see. Then open Task Manager and look in the Background processes section for any leftover WINWORD.EXE, EXCEL.EXE, POWERPNT.EXE, or OUTLOOK.EXE. End Task on anything you find. Reopen your file fresh. The save will usually work the first try.
This single fix has solved more "permission errors" for my clients than every other thing combined. The Microsoft error message is genuinely terrible at explaining what's actually happening. They could just say "this file is locked by another process" and save everyone hours, but here we are.
The Wednesday client? It was a leftover Word instance from a meeting earlier that day. She'd closed the visible window but the process was still running. Killed it from Task Manager and the save went through on the first try. Total fix time once I knew what to look for: about ninety seconds.
One Microsoft 365 tip every Tuesday.
Practical tutorials, troubleshooting, and shortcuts — straight to your inbox. No spam. Unsubscribe anytime.
Related articles
OneDrive 'Processing changes' forever — break the sync loop
monasteele.com
OneDrive 'Processing changes' forever — break the sync loop
When OneDrive's status icon spins for hours, the cause is usually a single file the sync engine cannot finish handling. Here is how to identify and remove it without losing data.
OneDrive Files On-Demand: free up gigabytes without losing access
monasteele.com
OneDrive Files On-Demand: free up gigabytes without losing access
Files On-Demand keeps every OneDrive file visible in File Explorer, but only downloads them when you open them. Here's how to set it up and free up space.