Last Updated: September 19, 2018
After enabling Files on Demand in OneDrive, some customers may see the following error when trying to access items in your OneDrive folder.
OneDrive cannot connect to Windows. Files On-Demand requires 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.
This is because the cldflt.sys driver is not running.
Check to see if cldflt.sys is running, and if it isn't, enable it.
Press the Windows key and browse to Windows System > Command Prompt. Right-click and select More then Run as administrator.
Note: If you don't have administrator rights, read how to Create a local user or administrator account in Windows 10.
Type cd %systemroot%\system32\drivers and press Enter.
Type sc query cldflt and press Enter.
Look for a line in the results called State. If the state is not 4, change the state of cldflt.sys to automatically run.
To change the state, type sc config cldflt start=auto and press Enter. The dialog box should
display [SC] ChangeServiceConfig SUCCESS.
Restart your computer.
Ask the experts
Connect with experts, discuss the latest Excel news, updates, and best practices, and read our blog.
Get help in the community
Ask a question and find solutions from Support Agents, MVPs, Engineers, and other Excel users.
Suggest a new feature
We love reading your suggestions and feedback! Share your thoughts. We're listening.