logo
search
OneDrive Error Codes

How to Fix OneDrive Error 0x8007016A When Deleting Folders

Maira MehtabMaira Mehtab Sep 27, 2026 869 views

Question details

The user is trying to delete folders or files associated with a former OneDrive account but encounters error 0x8007016A because the cloud file provider is no longer running.

Product
OneDrive
Device & OS
not provided
Scenario
Attempting to delete a local folder synced to an old or inactive OneDrive account.
Observed behavior
The system prevents deletion and triggers error code 0x8007016A, stating that the cloud file provider is not running.
Before you start

Verify that you are disconnected from the old OneDrive account and ensure you have local backups of any files you wish to keep before attempting forced deletions.

Solution 1Recommended

Disconnect OneDrive and Delete Files Locally

Unlinking your OneDrive account stops the cloud syncing engine, which often releases the lock on the files and allows you to delete them normally.

Error 0x8007016A typically occurs because Windows is trying to communicate with the OneDrive cloud provider to verify the deletion of online-only files, but the service is inactive.

1
Open OneDrive Settings

Click the OneDrive cloud icon located in the Windows system tray (taskbar), click the Gear icon, and select 'Settings'.

2
Unlink This PC

Navigate to the 'Account' tab in the OneDrive settings window and click on the 'Unlink this PC' link.

3
Delete the Folder

Once the account is unlinked, open Windows File Explorer, navigate to the old OneDrive folder path, and delete the files or folders directly.

Account successfully disconnected: After unlinking, the folder becomes a standard local directory without cloud dependencies.
Free Microsoft Office alternative

Manage Your Documents Seamlessly with WPS Office

If you are frustrated by complex cloud provider errors like 0x8007016A, consider switching to WPS Office. It provides a lightweight, highly compatible alternative to Microsoft Office, featuring straightforward local file management alongside optional, reliable cloud storage.

  1. 1. Download the Installer: Visit the official WPS Office website and click the download button to get the free installer.
  2. 2. Install WPS Office: Run the downloaded executable file and follow the on-screen instructions to complete the installation.
  3. 3. Manage Files Effortlessly: Open WPS Office to instantly start managing your local and cloud documents without the hassle of third-party sync provider errors.
Fully compatible with Microsoft Office formats, including .docx, .xlsx, and .pptx.Free and lightweight design that will not slow down your system.Reliable and easy-to-manage built-in WPS Cloud storage, avoiding complex background sync errors.Familiar user interface for a seamless transition from other office suites.
microsoft office alternative - wps office

Frequently Asked Questions

What does Error 0x8007016A mean?

Error 0x8007016A means 'The cloud file provider is not running.' It occurs when Windows attempts to interact with an online-only file, but the synchronization client (like OneDrive) is inactive, disconnected, or malfunctioning.

Is it safe to delete an old OneDrive folder?

Yes, as long as the account is completely inactive and you have already backed up any essential local files. Once unlinked, the folder is merely a standard directory on your hard drive taking up storage space.

Why can't I delete files even as an Administrator?

Sometimes files remain locked by background processes, such as Windows File Explorer attempting to generate thumbnails or lingering OneDrive background tasks. Disconnecting the account or forcibly removing the directory via Command Prompt usually bypasses these locks.

How do I ensure a file is saved locally before deleting the OneDrive folder?

Before disconnecting OneDrive, right-click the files you want to keep and select 'Always keep on this device'. Wait for the sync status icon to turn into a solid green circle, which indicates the file is fully downloaded to your hard drive.