How to Fix OneDrive Files Not Showing in File Explorer
Question details
The user needs to understand how OneDrive PC sync works because their cloud-stored photos and documents are not appearing in their local file directory.

- Product
- OneDrive
- Device & OS
- not provided
- Scenario
- Trying to attach photos or files directly from a computer to an email or social media post.
- Observed behavior
- Files uploaded to OneDrive are designated as online-only, making them absent or unavailable for selection within the local File Explorer.
Ensure you are actively signed into the OneDrive desktop application and have a stable internet connection so that your sync settings can update correctly.
Enable and Configure OneDrive Files On-Demand
Use the Files On-Demand feature to control whether files remain online-only or are downloaded for offline access and local attachments.
Files On-Demand helps you save storage space by keeping files in the cloud until you need them. However, online-only files might not be recognizable by third-party applications when you attempt to attach them. Downloading them locally resolves this issue.
Click the OneDrive cloud icon in your taskbar or system tray, then click the gear icon to select Settings.
Navigate to the 'Sync and back up' tab and select 'Advanced settings'. Ensure that the 'Files On-Demand' feature is turned on.
Open File Explorer and locate your OneDrive folder. Right-click the specific file or folder you want to attach and select 'Always keep on this device'. The icon will change to a solid green circle, indicating it is downloaded.

Select Specific OneDrive Folders to Sync
Manually choose which cloud folders should be synchronized and visible within your local File Explorer.
Attach Files Directly Through Web Applications
Bypass the local File Explorer entirely by attaching your online-only files directly from the cloud using web-based email clients.
Boost Your Productivity with WPS Office
If you frequently work with cloud documents and need a reliable, lightweight suite, try WPS Office. It provides robust tools for all your document needs while integrating seamlessly with your favorite cloud storage services, making file management effortless.

Frequently Asked Questions
Why do some OneDrive files have a blue cloud icon?
The blue cloud icon means the file is an 'online-only' file. It does not take up any storage space on your local computer, but you must be connected to the internet to open or download it.
How can I stop OneDrive from removing local copies of my files?
Right-click the specific files or folders in your File Explorer and select 'Always keep on this device'. This prevents OneDrive's Storage Sense feature from automatically returning the files to an online-only state.
Can I access my local PC files from the OneDrive website?
You can only access files from the OneDrive website if they have been synced or uploaded to your OneDrive cloud. Any file outside of your synchronized OneDrive folder remains strictly on your local PC.
What happens if I delete an online-only file from File Explorer?
If you delete an online-only file from your File Explorer, it will be moved to your OneDrive recycle bin and removed from your cloud storage across all your synced devices.




