Microsoft has a troubleshooter to fix syncing problems with OneDrive Files On-Demand after installing Windows 10 version 2004 (May 2020 Update).
According to the company, after the upgrade, some older devices or devices with apps which happen to use the legacy file system filter drivers are not able to connect to OneDrive causing problems downloading files on-demand, or even opening that were previously synced on the device.
In some cases, Windows 10 users may see the error: “OneDrive cannot connect to Windows. Files On-Demand require a connection to Windows in order to show your files without taking up space on this device. OneDrive can keep trying to connect to Windows or you can choose to download all your files. You won’t be able to use online only files until this is fixed.”
In this guide, you’ll learn the steps to resolve the OneDrive issue after upgrading to Windows 10 May 2020 Update.
Fix OneDrive syncing using troubleshooter
Microsoft has released a troubleshooter to resolve the issue on version 2004 automatically. However, you want to check to make sure the troubleshooter has already run, or if you still need to run it.
To confirm the troubleshooter fixed the OneDrive problem, use these steps:
-
Open Settings.
-
Click on Update & Security.
-
Click on Troubleshoot.
-
Click the View troubleshooting history option.
-
If the troubleshooter has run, you will see a recommended troubleshooter with the Files On-Demand troubleshooter title and description “You may have lost access to your Files On-Demand. This troubleshooter restores access or prevents the loss of access from happening in the near future. Important: Please reboot your device once the troubleshooter is finished.”
-
If the OneDrive problem was fixed, you’ll see the Successfully ran on (date) message with the date it ran on. If it was not able to fix the problem, you’ll see the Could not be run on (date) message with the date it ran on. Quick note: If the device hasn’t been restarted since the troubleshooter was run, you will need to reboot before following the rest of the steps.
Quick note: If the device hasn’t been restarted since the troubleshooter was run, you will need to reboot before following the rest of the steps. -
Right-click the OneDrive icon from the notification area and select the Settings option.
-
Click the Settings tab.
-
Under the “Files On-Demand” section, check the Save space and download files as you use them option.
- Click the OK button.
Once you complete the steps, OneDrive should start working and files should sync again.
If you see the “Could not be run” message for a critical troubleshooter with the title “Hardware and devices,” then the computer isn’t impacted by the Files On-Demand issue, and you don’t need to run the tool
Fix OneDrive syncing using Command Prompt
In the case that the troubleshooter isn’t working, you’ll need to resolve the problem manually.
To fix OneDrive Files On-Demand, use these steps:
-
Open Start.
-
Search for Command Prompt, right-click the top result, and select the Run as administrator option.
-
Type the following command to fix Files On-Demand and press Enter:
reg add HKLM\System\CurrentControlSet\Services\Cldflt\instances /f /v DefaultInstance /t REG_SZ /d "CldFlt"
-
Restart your computer.
-
Right-click the OneDrive icon from the notification area and select the Settings option.
-
Click the Settings tab.
-
Under the “Files On-Demand” section, check the Save space and download files as you use them option.
- Click the OK button.
After you complete the steps, OneDrive Files On-Demand should now start syncing allowing you to open and store new files.