If you are trying to open an online-only file in OneDrive and see the following error:

OneDrive error: Couldn’t start Files on Demand Please restart your computer and try again. Error codes: <error code>

Couldn’t start Files on Demand

Please restart your computer and try again. Error codes: <error code>

This may be because the Files on Demand service is being blocked from starting by legacy filters on some antivirus software. To address this issue, try the following:

Solution 1: Update and restart your computer

Install the latest Windows and Office updates and restart your computer. For more information, see Update Windows 10 and Install Office updates.

You should also ensure that OneDrive itself is updated to the latest version. Here's how:

  1. On your desktop, select the OneDrive icon in the notification area.

  2. Select Help & Settings , then in the pop-up menu, select Settings.

  3. On the About tab, note the version number in the About Microsoft OneDrive section, then select the link.

  4. On the OneDrive release notes page that opens, check that number against the latest release at the top of the page, and select Download OneDrive for Windows if the latest release is a higher number.

Solution 2: Update your antivirus software

Updating your antivirus software may update the filters that cause this issue. For more details, contact your software manufacturer.

Need more help?


Get online help
See more support pages for OneDrive and OneDrive for work or school.
For the OneDrive mobile app, see Troubleshoot OneDrive mobile app problems.

OneDrive Admins can also view the OneDrive Tech Community, Help for OneDrive for Admins.

Microsoft virtual support agent icon

Contact Support
If you still need help, contact support through your browser or shake your mobile device while you're in the OneDrive app.

OneDrive Admins can contact Microsoft 365 for business support.

Office 365 community forums

Letting us know your location may help us resolve your issue more quickly.

All fixed? If you contacted us and OneDrive starts working again, please let us know by replying to the email we sent you.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Any additional feedback? (Optional)

Thank you for your feedback!