onedrive Code 0x8007016A

How to Fix OneDrive Error 0x8007016A: The Cloud File Provider is Not Running

Diagnostic Procedures

  • 1 Understand why error 0x8007016A occurs on Windows 10/11
  • 2 Disable and re-enable OneDrive Files On-Demand feature
  • 3 Update or force-resume active OneDrive sync operations
  • 4 Force delete stuck folders using PowerShell command execution
  • 5 Reinstall OneDrive from scratch using official installers

How to Fix OneDrive Error 0x8007016A: The Cloud File Provider is Not Running

One of the most frustrating errors Windows users encounter is Error 0x8007016A: The cloud file provider is not running. This error typically occurs when trying to open, move, copy, or delete a file or folder inside your OneDrive sync folder.

In this guide, we will walk you through four simple steps to fix this problem and get your sync folder working again.


What Causes OneDrive Error 0x8007016A?

This error is a failure of Microsoft’s Files On-Demand engine. Instead of downloading all your files to your local drive, OneDrive keeps placeholders. When you try to modify a file, OneDrive attempts to call the background sync engine to download the file. If that sync engine fails to respond, Windows throws the 0x8007016A error.

The most common causes are:

  1. OneDrive Sync is Paused: The background engine is literally not active.
  2. Files On-Demand Bug: The virtual file system driver crashed.
  3. Stuck Windows Updates: Outdated file system drivers.
  4. Power Saving Mode: Windows restricted background sync processes.

Detailed Steps to Resolve Error 0x8007016A

Method 1: Turn Off Files On-Demand (And Turn it Back On)

Toggling the Files On-Demand feature resets the virtual directory drivers and fixes most instances of this error.

  1. Click the OneDrive icon (blue or white cloud) in the taskbar notification area.
  2. Click the Gear icon (Settings).
  3. In the left panel, navigate to Sync and backup.
  4. Scroll down and click on Advanced settings to expand it.
  5. Under Files On-Demand, click the button to Free up disk space (this turns placeholders back to normal) or change the setting to download all files locally.
  6. Once complete, restart your computer, return to this setting, and re-enable Files On-Demand if you want to save space.

Method 2: Resume Synchronization

If OneDrive synchronization is paused, the cloud service provider driver is inactive.

  1. Select the OneDrive icon in the system tray.
  2. Look for a banner that says “Syncing is paused.”
  3. Click the Gear icon and choose Resume syncing.
  4. Wait for the status indicator to show a green checkmark or circle, then try editing the file again.

Method 3: Force Delete Stuck Folders via PowerShell

If you receive error 0x8007016A specifically when trying to delete a folder, you can bypass the Windows Explorer shell and delete it directly using PowerShell.

  1. Right-click the Start button and select PowerShell (Admin) or Terminal (Admin).
  2. Type the following command (replace C:\Users\YourUsername\OneDrive\StuckFolder with the actual path to your stuck folder):
    Remove-Item -Path "C:\Users\YourUsername\OneDrive\StuckFolder" -Recurse -Force
  3. Press Enter. This forces the deletion of the folder directly, clearing the virtual file link.

Method 4: Reset OneDrive Setup

If the sync databases are corrupted, a hard reset is needed to rebuild them.

  1. Press the Windows Key + R to open the Run window.
  2. Copy and run the following reset command:
    %localappdata%\Microsoft\OneDrive\onedrive.exe /reset
  3. Restart OneDrive and log back in.