Sign in with Microsoft
Sign in or create an account.
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.
"OneDrive cannot connect to Windows" error when accessing files in OneDrive

Last Updated: 17 November 2021


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.

All your OneDrive files and folders are safe, and you can access them through the OneDrive website or the OneDrive mobile app.


Please ensure that Windows and OneDrive are up to date.

  1. Open Windows Update and download and install all available updates.

    Open Windows Update

  2. Download and install the latest version of OneDrive.

    Get OneDrive

  3. Restart your computer.

Read more

Learn about OneDrive Files On-Demand

Fixes or workarounds for recent issues in OneDrive

Contact support icon

Contact Support
For help with your Microsoft account and subscriptions, visit Account & Billing Help.

For technical support, go to Contact Microsoft Support, enter your problem and select Get Help. If you still need help, select Contact Support to be routed to the best support option.

Work or school badge

Admins should view Help for OneDrive Admins, the OneDrive Tech Community or contact Microsoft 365 for business support.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!