Fix Cannot Open Online-Only Files in SharePoint Desktop Shortcut
Question details
Users are unable to open files accessed via a SharePoint or OneDrive desktop shortcut due to an online-only error, despite having an active internet connection.

- Product
- Microsoft SharePoint and OneDrive
- Device & OS
- not provided
- Scenario
- Attempting to open synchronized cloud documents directly from a desktop shortcut in File Explorer.
- Observed behavior
- The system displays an error message stating the file is online-only and cannot be opened, preventing access to the document even when the computer is connected to the internet.
Ensure your computer has a stable internet connection and that the OneDrive client is actively running in your system tray.
Set the File or Folder to Always Keep on This Device
Force OneDrive to download the files locally to bypass the online-only access error.
This method forces the OneDrive sync client to download a permanent local copy of your SharePoint files, bypassing the temporary cloud-access glitch.
Open File Explorer and navigate to the SharePoint or OneDrive shortcut folder containing the affected files.
Right-click on the specific file or the entire folder, and select 'Always keep on this device' from the context menu.
Wait for the status icon next to the file to turn into a solid green circle with a white checkmark. Once it does, double-click the file to open it.

Reset the OneDrive Sync Client
Clear corrupted sync cache by completely resetting the OneDrive application.
Manage and Edit Your Cloud Files Effortlessly with WPS Office
If you frequently encounter sync and compatibility issues with Microsoft products, consider switching to WPS Office. It is a highly compatible, lightweight suite that easily handles your everyday document tasks.
- 1. Download WPS Office: Visit the official WPS Office website and download the free installer for your system.
- 2. Install and Launch: Follow the on-screen instructions to install the software, then launch WPS Office.
- 3. Open Your Files: Use the built-in file explorer in WPS Office to navigate to your SharePoint or OneDrive folder and open your documents directly.

Frequently Asked Questions
Why does SharePoint say my file is online-only when I have an active internet connection?
This usually occurs due to a communication glitch between the OneDrive desktop client and the cloud server. The 'Files On-Demand' feature sometimes fails to trigger the download when you attempt to open the file.
Will selecting 'Always keep on this device' use up my hard drive space?
Yes, selecting this option forces OneDrive to download a full local copy of the file or folder, which will consume local storage space equivalent to the file's size.
Does resetting OneDrive delete my personal files?
No, resetting the OneDrive client only clears the application's cache and restarts the sync process. It does not delete or modify any of your actual files stored in the cloud or on your local drive.




