Fix OneDrive connection errors on Windows 10

Fix OneDrive connection errors on Windows 10

Microsoft has officially confirmed the problem connecting OneDrive on some Windows 10 systems after being updated to version 2004, or enabling the Files on Demand feature in OneDrive.

OneDrive is a data storage and synchronization service developed by Microsoft itself specifically for the Windows operating system, allowing users to access their cloud storage files right in Windows 10’s File Explorer. does not actually take up any hard drive space with the help of the Files on Demand feature.


However, a compatibility error between Windows 10 2004 version and some Windows 10 devices prevented users from connecting to OneDrive and working as usual.

“Devices affected by this issue cannot download new files on demand or open files that were synced / downloaded to the machine before” . – Microsoft

Device users affected by this error may receive the following message:

“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 ” . (Temporarily translated: OneDrive cannot connect to Windows. Files On-Demand requires connection to Windows to view files without taking up space. OneDrive can maintain connection to Windows or you can download files. cannot use online files until this error is corrected).

Although the OneDrive connection cannot be established on the affected devices, users can still access their files through the OneDrive website or the OneDrive mobile app. However, one note is that files downloaded manually from the OneDrive website will not be automatically synced, and will also need to be uploaded manually.

Fix OneDrive connection errors on Windows 10 2004

Microsoft has released a troubleshooter for Windows 10 version 2004 devices affected by the above issue, designed to automatically restore access to Files On Demand.

Depending on the user’s settings, the troubleshooter may run automatically. If you are prompted to run the troubleshooter, it is recommended to enable it to work now, ” Microsoft explains in the support documentation.

Alternatively, you can also fix the problem manually by following these steps:

Step 1: Access the Start menu and type cmd .

Step 2: Right-click or press and hold on Command Prompt and select Run as administrator.

Step 3: Type or copy and paste the following command into the Command Prompt dialog box:

reg add HKLMSystemCurrentControlSetServicesCldfltinstances /f /v DefaultInstance /t REG_SZ /d "CldFlt"

Step 4: Reboot the device after the command has completed.

Step 5: To verify that the Files On-Demand feature is still enabled, right-click or hold the OneDrive icon in the notification area, select Settings .

Step 6: In the Settings dialog box, make sure the Save space and download files as you use them option is enabled, then select OK .

Step 7: If you’re using more than one OneDrive account in the app or are using both OneDrive Personal and OneDrive for Business, you’ll need to repeat steps 5 and 6 for each account.

Microsoft is currently investigating this issue, and a fix will be made available to all affected users in the near future.