About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.
When copying files in OneDrive fails with "Error 0x8007016a: The cloud file provider is not running.", Microsoft's page says the cause is that OneDrive is misconfigured and lists two options to try in order: turn off OneDrive Files On-Demand and reset OneDrive, then, if that does not work, install the available Windows updates.
Turning off Files On-Demand downloads the files to the computer, so check free disk space first. Resetting OneDrive disconnects every sync connection on the computer and a full sync follows, so note your account and folder choices before you reset.
What the error means
Microsoft's page for the code is titled "Error 0x8007016a when copying files in OneDrive" and applies to OneDrive for Business. The symptom: "When you try to copy files in Microsoft OneDrive, you receive the following error message: Error 0x8007016a: The cloud file provider is not running." The cause given is one sentence: "This error occurs if OneDrive is misconfigured."
The page does not describe the mechanism, does not name a Windows service, and does not give a Windows version range. It gives two options and says to try them in the given order: Option 1, turn off OneDrive Files On-Demand and reset OneDrive; Option 2, install available Windows updates.
The Option 1 steps refer to Files On-Demand through a check box called "Save space and download files as you use them", and, in the other layout, through the button Download all OneDrive files now.
Microsoft's page ties this code to copying files in OneDrive.
Likely causes
| Cause | What you see | How to confirm |
|---|---|---|
| OneDrive misconfigured (the cause Microsoft names) | 0x8007016a when copying files | The error text is exact, and Option 1 resolves it |
| Option 1 does not clear it | Same error after Option 1 | Microsoft lists installing available updates as Option 2; the page does not name it as a cause and does not say which update |
| OneDrive sync app not installed or not running | Reset command reports Windows cannot find the file | Microsoft's reset page says if none of the reset paths work, you do not have the OneDrive sync app installed |
| Microsoft Store version of OneDrive | Microsoft's reset page gives a separate route | Microsoft's reset page gives a separate route for the OneDrive store app |
Microsoft's pages do not rank these.
Prove the cause before changing anything
All of these only read.
- Write down the exact error text and what you were doing: copying a file from a OneDrive folder to another folder, a USB drive or a network path.
- Look at the OneDrive icon in the taskbar notification area. Microsoft's Option 1 steps start with signing in to OneDrive on the device and selecting that icon, so look for the icon first.
- Select the icon, then Help & Settings, then Settings. Note whether a Settings tab exists and whether the Save space and download files as you use them check box is ticked. If there is no Settings tab, Microsoft says to look under Sync and back up > Advanced settings, then Files On-Demand.
- Note which accounts are signed in (personal and work or school). Microsoft says a reset disconnects all sync connections, including both kinds.
- Note which folders are chosen for sync. Microsoft says if you chose to sync only some folders, you need to choose them again after the reset, for the personal and the work or school account.
- Compare the size of your OneDrive content with the free space on the disk. Turning off Files On-Demand downloads everything.
Example (illustrative): a contoso.com.au accountant on laptop lt-0142 gets 0x8007016a when she copies a folder from OneDrive to a USB drive. Her laptop disk has 120 GB free and her OneDrive for Business holds 85 GB. Downloading all files would use 85 GB and leave 120 minus 85, which is 35 GB free. That is enough, so Option 1 is safe on space. With only 60 GB free it would not be, and she would need to free space or choose another route first.
Fix
Option 1: turn off Files On-Demand, then reset OneDrive
Save first. Write down the sync account names and the folders chosen for sync from the checks above. If you want a record of the folder choices, take a screenshot of the Choose folders screen in OneDrive settings and keep it with the ticket.
Risk: The next steps turn off Files On-Demand and download all OneDrive files to the computer. Microsoft's page does not say how long the download takes or how much disk space it needs; the size of your OneDrive content is the guide, which is why you compared it with free space.
- Sign in to OneDrive on your device and select the OneDrive icon in the taskbar notification area.
- Select Help & Settings, then Settings.
- If you have a Settings tab, clear the Save space and download files as you use them check box.
- If you do not have a Settings tab, select Sync and back up > Advanced settings, look under Files On-Demand, and select Download all OneDrive files now.
Putting Files On-Demand back on comes after the reset, below, because Microsoft's page puts it there.
Next, reset OneDrive. Microsoft's reset page says resetting "can sometimes resolve sync issues and resets all OneDrive settings", that OneDrive performs a full sync afterwards, and that "You won't lose files or data by resetting OneDrive on your computer." It says the reset only disconnects all your sync connections, including personal and work or school. During a reset OneDrive deletes the DAT file, stores the application logs in the registry and stores the settings on the disk; when it restarts it loads the settings and rebuilds the DAT file.
Disruptive step: The next command resets the OneDrive sync app on this computer. All sync connections disconnect and a full sync follows. If you chose to sync only some folders, you will need to choose them again after sync completes, for each account. Microsoft's page describes no way to undo a reset: there is no way back from it, only a reconnect and a new choice of folders from your notes.
Press the Windows key and R to open the Run dialog box, paste the following and select OK:
%localappdata%\Microsoft\OneDrive\onedrive.exe /reset
If you see a "Windows cannot find..." message, Microsoft says to use this instead:
C:\Program Files\Microsoft OneDrive\onedrive.exe /reset
and if that also fails:
C:\Program Files (x86)\Microsoft OneDrive\onedrive.exe /reset
Microsoft says that if none of these work, you do not have the OneDrive sync app installed and need to find the right OneDrive app. Then restart OneDrive manually: select Start, type OneDrive in the search box and select the OneDrive desktop app. Microsoft's reset page also has the reader run wsreset.exe, which opens the Microsoft Store, before the reset command; that step is not part of the steps above.
Microsoft's reset page gives a separate route for the OneDrive store app. Read that page if the Microsoft Store version is the one installed.
There is no way back from a reset: Microsoft's page describes no way to restore the earlier settings. To return to your earlier set-up, choose the folders from your notes again once sync has completed, for each account.
After the reset, to put Files On-Demand back: Microsoft's page says turning it back on is optional, "if you need it". To undo the Option 1 change, on the Settings tab select the Save space and download files as you use them check box again. Microsoft's page names no control for the layout that has no Settings tab, so open Advanced settings under Sync and back up and look in the Files On-Demand section.
When sync has completed, try again to copy files in OneDrive.
Option 2: install Windows updates
Microsoft's page lists a second option if Option 1 does not stop the error: select Start, type updates, select Check for updates, install all available Windows updates and try again to copy files. The page gives no list of which updates matter and no way back from installing them, so no steps are given for it.
Confirm the fix
- Copy a file that failed before, to the same destination, with no error.
- The OneDrive icon shows the account signed in and sync finishes without a pause or an error.
- Folder choices match your notes for both the personal and the work or school account.
- If you turned Files On-Demand back on, copy a file that is not downloaded and confirm it copies.
What to watch afterwards
- Disk space. A computer with Files On-Demand off keeps every file locally.
- The first full sync after a reset. Microsoft says OneDrive performs a full sync.
- Whether the error returns when Files On-Demand is turned back on. Microsoft's page gives no cause beyond the setup being wrong.
Read next
Related articles you may want next.
- TroubleshootingOneDrive error 0x8004de40 or 0x8004de88: Can't sign in, the sync client can't reach the cloudOneDrive error 0x8004de40 or 0x8004de88 means it can't connect to the cloud. Check TLS, cipher suites and device join state with Microsoft's own steps.Read article
- TroubleshootingOneDrive error FSLogix_unsupported_environment on virtual machines that use FSLogixOneDrive says FSLogix_unsupported_environment and closes? Check the FSLogix version on the machine, then install the latest FSLogix. Steps and checks.Read article
- TroubleshootingOneDrive for Business can't sync after a tenant migration, UPN change or password updateOneDrive for Business stuck after a tenant migration, UPN change or password update? Sign out, clear OneAuth and IdentityCache, sign in. Safe steps.Read article
Risks and limits
These commands have not been run or lab-tested.
Microsoft's 0x8007016a page names OneDrive for Business and gives only a one-sentence cause. Microsoft's pages do not say how long the download or the full sync takes, and give no Windows version range. A reset affects every OneDrive account on the computer, which is why the notes are taken first. Registry or service changes are not part of Microsoft's steps.
Sources
- Error 0x8007016a when copying files in OneDrive — Microsoft Learn, page dated 2025-07-14, accessed 22 November 2026
- Reset OneDrive — Microsoft Support, date not shown, accessed 22 November 2026
This article was originally published on .