Home › OneDrive for Business › 0x8007016A

OneDrive for Business · 0x8007016A · Windows 11 23H2

OneDrive for Business sync fails with error 0x8007016A on Windows 11 23H2

The OneDrive cloud file provider service has stopped or failed to register, causing sync issues. Restarting the OneDrive process and ensuring CldFlt is running can resolve this.

Error Details

FactValueSourceNote
Exact error stringERROR_CLOUD_FILE_PROVIDER_NOT_RUNNING (0x8007016A)Event Viewer > Application log
Affected build rangeWindows 11 23H2
Registry key involvedHKLM:\SYSTEM\CurrentControlSet\Services\CldFltRegistry Editor-> Start=1
Relevant service/endpoint URLhttps://go.microsoft.com/fwlink/?linkid=2050785
Log line signatureOneDrive: cloud file provider has stopped (Event ID 2)Event Viewer > Application log

Log Files to Check

What This Error Actually Means

The error code 0x8007016A, which translates to "ERROR_CLOUD_FILE_PROVIDER_NOT_RUNNING," is raised by the OneDrive sync engine when it detects that the cloud file provider service has stopped or failed to register its file system filter. The cloud file provider is a critical component of OneDrive for Business, responsible for integrating cloud files into the local file system and managing their synchronization status. When this error occurs, users will notice red X icons or cloud overlays on affected files in Windows Explorer, indicating that these files cannot be accessed locally until the issue is resolved.

Affected Versions and Scope

This error specifically impacts devices running Windows 11 build 23H2 with OneDrive for Business installed. It does not affect other versions of Windows or different cloud storage solutions like SharePoint Online or personal Microsoft accounts. The issue can occur in both standalone installations and managed environments, but it is more likely to surface in corporate settings due to the complexity introduced by additional layers such as Intune policies and conditional access rules.

Where To Look First: Logs and Event IDs

To diagnose this error effectively, start by examining two primary log sources: Additionally, check the System log in Event Viewer for Event ID 7, which indicates that the minifilter driver CldFlt failed to attach properly.

Root Causes

The error can stem from several distinct causes:

OneDrive Background Process Not Running

If OneDrive is not running, it cannot manage its cloud file provider. Verify this by executing Get-Process OneDrive -ErrorAction SilentlyContinue in PowerShell. A null result indicates the process has exited.

CldFlt Minifilter Driver Issues

The CldFlt driver is essential for integrating cloud files into the local file system. If it's not loaded, OneDrive cannot register its file system filter properly. Use fltMC.exe to list loaded minifilters and confirm that CldFlt appears in the output.

StorageSense or Windows Storage Cleanup Service Corruption

These services can interfere with OneDrive by deleting critical files or registry entries related to the cloud file provider registration. Check for any recent changes made by these services that might have caused corruption.
Be cautious when modifying system services and drivers, as incorrect actions can disrupt device functionality.

Fix Procedure

Follow these steps to resolve the issue:
  1. Restart OneDrive: Open the Run dialog (Win + R) and enter %LocalAppData%\Microsoft\OneDrive\OneDrive.exe /client=Personal. Alternatively, use Task Manager > Run new task.

  2. Reset OneDrive: In the Run dialog, execute %LocalAppData%\Microsoft\OneDrive\onedrive.exe /reset. This re-registers the cloud file provider without losing files.

    The reset command is a quick fix but may require additional troubleshooting if issues persist.
  3. Ensure CldFlt driver service is set to Start=1: Run Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Services\CldFlt in PowerShell and verify that the Start value is 1 (automatic).

  4. If CldFlt is missing from fltMC.exe output, start it manually with sc start CldFlt. Then restart OneDrive.

  5. For persistent failures: Unlink the OneDrive for Business account in Settings > Account > Unlink this PC and re-sign in. This action forces a clean re-registration of the cloud file provider.

Error Code Variants

CodeDescriptionDistinguishing Factors
0x8007016AERROR_CLOUD_FILE_PROVIDER_NOT_RUNNINGThe cloud file provider service is not running or failed to register.
0x80070490ERROR_CLOUD_SYNC_BUSYThis code indicates that the sync engine is busy and cannot process additional requests, often due to a large number of pending changes.
0x80072F15ERROR_FILE_NOT_FOUNDThe file or directory does not exist. This error typically occurs when attempting to access a non-existent local path mapped from the cloud.

Verification

To confirm that the issue has been resolved, monitor the following:

Prevention

To prevent recurrence of this issue, consider implementing the following measures: By following this guide and implementing preventive measures, you can ensure a smoother experience for users relying on OneDrive for Business in Windows 11 environments.

Sources & References

Related Guides

Get new error code fixes by email

Product-specific solutions for Intune, Autopilot, SCCM and Entra ID — straight to your inbox. No spam.