You try to open a file stored in OneDrive and see error 0x80070185. The file appears in File Explorer with a cloud icon, but double-clicking it fails. This error means Windows cannot retrieve the file from the cloud server on demand. The root cause is usually a broken network connection, a corrupted OneDrive cache, or a system file conflict. This article explains why the error occurs and provides four tested fixes to restore access to your cloud files.
Key Takeaways: Fixing Error 0x80070185 in OneDrive
- OneDrive > Settings > Accounts > Unlink this PC: Resets the sync relationship and clears corrupted cloud file pointers.
- Windows Settings > Network & Internet > Network reset: Fixes underlying TCP/IP or DNS issues that prevent file downloads.
- OneDrive cache folder %LocalAppData%\Microsoft\OneDrive: Deleting the cache forces a fresh download of file metadata.
Why OneDrive Error 0x80070185 Appears When Opening Cloud Files
Error 0x80070185 is a Windows system error code that translates to “the cloud file provider failed to retrieve the file.” OneDrive uses a filter driver to intercept file open requests. When you double-click a cloud-only file, the driver contacts the OneDrive service to download the content. If the network is unstable, the service is blocked by a firewall, or the local cache is corrupt, the driver returns error 0x80070185 instead of the file data.
The error is not a file corruption issue. The file remains intact on Microsoft servers. The problem is entirely on the communication path between Windows, the OneDrive filter driver, and the cloud service. Common triggers include:
- A VPN or proxy that interrupts the download stream
- Antivirus software that blocks the OneDrive filter driver
- A corrupted OneDrive sync database that holds incorrect file state information
- Windows Update or driver changes that break the Cloud Files API
Understanding this root cause helps you choose the correct fix instead of reinstalling OneDrive unnecessarily.
Steps to Fix OneDrive Error 0x80070185
Try these fixes in the order shown. Each method addresses a different layer of the problem. Test file access after each step before moving to the next.
Method 1: Reset the OneDrive Sync Connection
Resetting OneDrive clears the local sync database and re-establishes the connection to Microsoft servers. This fixes most cache-related instances of error 0x80070185.
- Open OneDrive Settings
Right-click the OneDrive cloud icon in the notification area and select Settings. If the icon is missing, press the Windows key, type OneDrive, and press Enter. - Go to the Account tab
In the OneDrive settings window, click the Account tab. - Unlink this PC
Click Unlink this PC. A confirmation dialog appears. Click Unlink account to confirm. - Restart OneDrive setup
OneDrive closes and reopens with the setup wizard. Enter your work or school email address and sign in. Select your sync folder location and click Next. - Wait for sync to complete
OneDrive rebuilds the file list from the cloud. After the initial sync, try opening the file that previously showed the error.
Method 2: Run the Windows Network Troubleshooter and Reset Network Stack
A misconfigured network adapter or DNS cache can prevent OneDrive from downloading files. The built-in Windows troubleshooter detects and repairs many common issues.
- Open Windows Settings
Press the Windows key and click the Settings gear icon. - Run the network troubleshooter
Go to System > Troubleshoot > Other troubleshooters. Find Network and Internet and click Run. Follow the on-screen instructions. - Reset the network stack
Open Command Prompt as administrator. Type netsh winsock reset and press Enter. Then type netsh int ip reset and press Enter. Close Command Prompt. - Restart your computer
A restart applies the network changes. After the restart, open a cloud-only file to test.
Method 3: Delete the OneDrive Cache Manually
If resetting OneDrive does not work, a deeper cache deletion may be needed. This method removes all cached file metadata without unlinking your account.
- Close OneDrive completely
Right-click the OneDrive cloud icon and select Quit OneDrive. Verify no OneDrive processes are running in Task Manager. - Open the OneDrive cache folder
Press Windows key + R, type %LocalAppData%\Microsoft\OneDrive, and press Enter. - Delete the cache subfolders
Inside the OneDrive folder, look for folders named settings, logs, and databases. Delete all files inside these folders. Do not delete the folders themselves. - Restart OneDrive
Press the Windows key, type OneDrive, and press Enter. Sign in if prompted. OneDrive rebuilds the cache from the cloud. - Test file access
Try opening the file. If the error persists, proceed to Method 4.
Method 4: Repair or Reinstall OneDrive
When the OneDrive installation itself is damaged, a repair or clean reinstall resolves the filter driver and registry entries.
- Open Apps & Features
Press Windows key, type Apps & Features, and press Enter. - Find Microsoft OneDrive
Scroll the list or use the search box. Click the three dots next to Microsoft OneDrive and select Modify. - Choose Repair
In the OneDrive setup window, select Repair. The repair process runs and may take several minutes. - Restart and test
Restart your computer. Open a cloud file. If the error still appears, uninstall OneDrive completely, restart, and download the latest version from the Microsoft 365 admin center or onedrive.live.com.
If OneDrive Still Shows Error 0x80070185 After the Main Fix
OneDrive Error 0x80070185 on a VPN or Corporate Network
Corporate networks often use VPNs, proxies, or firewall rules that block OneDrive traffic. Disconnect from the VPN temporarily and test file access. If the file opens, configure the VPN to allow traffic to onedrive.live.com and all subdomains on ports 443 and 80. Contact your IT department for the exact proxy exclusion list.
OneDrive Error 0x80070185 After a Windows Update
A recent Windows Update may have replaced the OneDrive filter driver with an incompatible version. Open Windows Update in Settings, click Update history, and select Uninstall updates. Remove the most recent update, restart, and test. If the error goes away, pause updates and report the issue to Microsoft via the Feedback Hub.
OneDrive Error 0x80070185 When Using Files On-Demand
Files On-Demand relies on the Cloud Files API. If you disabled Files On-Demand in OneDrive settings, re-enable it. Right-click the OneDrive cloud icon, select Settings, go to the Sync and backup tab, and check Save space and download files as you use them. Click OK. Then right-click the file in File Explorer and select Always keep on this device to force a full download.
Files On-Demand vs Always Keep on This Device: Key Differences
| Item | Files On-Demand | Always Keep on This Device |
|---|---|---|
| Description | Files appear in File Explorer but download only when opened | Files are fully downloaded and stored locally at all times |
| Disk space used | Minimal – only metadata and thumbnails | Full file size for each marked file |
| Error 0x80070185 risk | Higher – requires network access on every open | Lower – file is already on disk |
| Offline access | Not available unless file was previously opened | Available even without internet |
| Sync status icon | Blue cloud icon | Green check mark |
After applying the fixes above, you can open cloud files without seeing error 0x80070185. If you frequently work offline, right-click important files and select Always keep on this device to prevent the error from recurring. For persistent network-related cases, ask your IT team to whitelist the OneDrive endpoints in your corporate firewall.