Fix 0x80070780 File Cannot Be Accessed Error
In this article
If you see the error 0x80070780, "The file cannot be accessed by the system," when opening, copying, or deleting a file, the fix usually involves clearing the file's alternate data streams, changing file permissions, or running a disk check. This error most often appears on Windows 10 and 11 when a file has been downloaded from the internet or synced from a cloud service, and it typically means Windows is blocked from reading the file's metadata.
What Causes Error 0x80070780?
The error code 0x80070780 translates to ERROR_FILE_SYSTEM_LIMITATION, which means the file system itself is preventing access. The most common triggers are:
- Alternate Data Streams (ADS): Files downloaded from the internet or created by certain apps carry hidden metadata streams. If these streams are corrupted or blocked, Windows cannot open the file.
- File permissions: The file's ACL (access control list) may deny your user account read or write access, especially after moving files between drives or accounts.
- Cloud sync placeholders: OneDrive, Google Drive, or Dropbox files that are "online-only" can trigger this error if the sync client is not running or the cache is stale.
- File system corruption: Bad sectors or a corrupted MFT (master file table) on the drive can make specific files unreadable.
- Antivirus or security software: Overzealous real-time scanning can lock a file temporarily, causing the error when you try to access it.
How to Fix the Error (Step-by-Step)
Try these fixes in order, from least invasive to most thorough. Stop after the one that works.
- Restart your computer. This clears any temporary file locks held by background processes.
- Run the file as administrator. Right-click the file and select "Run as administrator" if it's an executable. For other files, right-click and choose "Properties," then go to the "Security" tab and check if your user account has "Full control."
- Unblock the file. Right-click the file, select "Properties," and if you see an "Unblock" checkbox at the bottom of the General tab, check it and click Apply. This removes the "Mark of the Web" zone identifier that often causes this error.
- Clear the alternate data streams. Open Command Prompt as administrator and run:
streams -d "C:\path\to\file". If you don't have the Sysinternals Streams tool, you can use PowerShell:Get-Item -Path "C:\path\to\file" -Stream * | Remove-Item -Stream *. Be careful: this removes all ADS, including those used by antivirus or file indexers. - Run a disk check. Open Command Prompt as administrator and run
chkdsk /f /r. You'll need to restart your PC; the check may take a while. - Take ownership of the file. Right-click the file, go to Properties > Security > Advanced > Change owner. Set it to your user account, then check "Replace owner on subcontainers and objects" if it's a folder.
- Disable your antivirus temporarily. If the error disappears, add the file or folder to your antivirus's exclusion list.
- Clear the cloud sync cache. For OneDrive, right-click the OneDrive icon in the system tray, select Settings > Account > "Choose folders," and deselect the folder containing the problematic file. Wait for it to unsync, then re-select it. This forces a fresh download.
Why Does This Error Happen on Some Files but Not Others?
Error 0x80070780 is file-specific, not drive-wide. A file that triggers it may be perfectly fine on another computer or after copying it to a different location. The reason is often the file's metadata. When you download a file from the internet, Windows attaches a hidden stream called Zone.Identifier that records the download origin. If this stream is malformed, or if the file has other streams that are incompatible with the current file system, Windows throws the error. Similarly, files created on a Linux or macOS system and copied to a Windows drive can carry extended attributes that Windows doesn't recognize, leading to the same limitation error.
Common Misconception: It's Not a Virus
Many users assume error 0x80070780 means the file is infected or that their system is compromised. That is rarely the case. The error is a file system limitation, not a security alert. Running a full antivirus scan won't fix it, and deleting the file out of fear is unnecessary. The file is usually intact; Windows just can't read its metadata. If you need the file, the fixes above will almost always recover it. If you don't need it, you can safely delete it—Windows will ask for confirmation, and the error won't prevent deletion in most cases.
How to Prevent the Error in the Future
Prevention is about avoiding the conditions that create the error:
- Always unblock downloaded files before opening them. Right-click > Properties > Unblock.
- Keep your cloud sync client running and up to date. Stale placeholders are a common trigger.
- Use NTFS for drives that store files you edit frequently. FAT32 and exFAT have more limitations with metadata.
- Run chkdsk periodically on external drives, especially before moving large amounts of data.
- Don't interrupt file transfers. A partial copy can leave a file with a corrupted ADS.
When to Give Up and Use Alternative Methods
If the error persists after all the above, you can still access the file's content without fixing the metadata issue. Try these workarounds:
- Copy the file to a different drive using a tool like Robocopy with the
/COPY:DATflag to copy only data and attributes, skipping security and alternate streams. - Open the file in a different application. If it's a document, try opening it in a text editor or a different office suite. The content is often readable even if the file's properties are not.
- Rename the file. Sometimes a simple rename resets the problematic metadata.
- Use a live Linux USB to boot from a USB stick and copy the file to an external drive. Linux ignores Windows ADS, so the copy will be clean.
If the file is irreplaceable and none of these work, consider data recovery software that reads raw sectors. However, this is a last resort and may not preserve the file's original metadata.
Frequently Asked Questions
Does error 0x80070780 mean my hard drive is failing?
Not necessarily. While a failing drive can cause file system errors, 0x80070780 is more often caused by metadata corruption or permission issues. If you see other signs like bad sectors, clicking noises, or frequent crashes, run a SMART check on your drive. But the error alone is not a warning of imminent hardware failure.
Can I ignore this error and keep using the file?
If the error appears only when you try to open the file, you might be able to copy it to a new location and access it there. However, if the error appears during a copy or backup, the file may be partially corrupted, and you should fix it before relying on it.
Will reformatting the drive fix the error?
Reformatting will erase all data on the drive, so it's a drastic solution. If the error is due to file system corruption, reformatting will fix it, but you'll lose everything. Try the less invasive fixes first. If you must reformat, back up all other files first.
Why does this error happen on files from the internet?
Files downloaded from the internet have a Zone.Identifier alternate data stream that stores the download source. If this stream is incomplete or corrupted during the download, Windows can't read the file properly and throws error 0x80070780. Unblocking the file removes this stream, which is why that fix often works.
Is there a difference between this error and "Access is denied"?
Yes. "Access is denied" (error 5) means you lack permission to access the file. Error 0x80070780 means the file system itself cannot process the file due to a limitation. The fixes differ: permission errors are resolved by changing ownership or ACLs, while this error often requires clearing metadata or repairing the file system.