logo
search
OneDrive File Issues

How to Prevent OneDrive Online-Only Files from Downloading During Searches

Kushani NimanthikaKushani Nimanthika Oct 10, 2026 870 views

Question details

The user wants to prevent OneDrive online-only files from being automatically downloaded to their local drive when searching through synchronized folders in File Explorer.

How to Prevent OneDrive Online-Only Files from Downloading During File Explorer Searches
Product
Microsoft OneDrive
Device & OS
not provided
Scenario
Performing a file search within a OneDrive-synchronized folder using the local file manager.
Observed behavior
Online-only files, including those that do not match the search criteria, are unexpectedly downloaded locally, rapidly consuming device storage.
Before you start

Ensure you have an active internet connection and check your current local storage capacity to see how much space has been unexpectedly consumed by downloaded files.

Solution 1Recommended

Disable File Contents Search in File Explorer

Turn off the advanced search option that scans the contents of files, as this process forces OneDrive to download online-only files to read them.

By default, Windows may attempt to search inside documents to find your requested keywords. Because online-only files do not have their contents stored locally, File Explorer requests OneDrive to download them so they can be scanned. Disabling this feature reduces unnecessary downloads.

1
Open File Explorer

Launch File Explorer and navigate to your synchronized OneDrive folder.

2
Access Search Options

Click inside the search box at the top right corner. This action will reveal the 'Search' tab on the top ribbon.

3
Disable File Contents Scanning

In the Search ribbon, click on 'Advanced options' and ensure that the 'File contents' option is unchecked.

System Integration Limitations: Because File Explorer is deeply integrated with OneDrive, this workaround might not completely stop all downloads. If the issue persists, consider the web-based alternative.
Free Microsoft Office alternative

Manage Your Documents Seamlessly with WPS Office

If you are frustrated by background downloads and complex synchronization issues in the Microsoft ecosystem, consider switching to WPS Office. It provides a lightweight, highly compatible, and free alternative to Microsoft Office, complete with an intuitive built-in cloud solution that won't clutter your local drive.

  1. 1. Download the Installer: Visit the official WPS Office website and download the free installer for your operating system.
  2. 2. Install WPS Office: Run the setup file and follow the on-screen instructions to complete the quick installation.
  3. 3. Save to WPS Cloud: Open any document and use the built-in WPS Cloud feature to securely store and search your files online.
Fully compatible with Microsoft Word, Excel, and PowerPoint formatsLightweight installation saves valuable local disk spaceBuilt-in WPS Cloud allows you to manage online files without forced local downloadsFamiliar user interface ensures a seamless transition with zero learning curve
microsoft office alternative - wps office

Frequently Asked Questions

Why does File Explorer download OneDrive files when I perform a search?

File Explorer attempts to index and read the text inside your documents to provide accurate search results. Because online-only files do not have their data stored locally, the system forces OneDrive to download them so it can read their contents.

How can I remove the downloaded files and free up my local storage again?

You can easily revert the files to their online-only state. Highlight the files or folders in File Explorer, right-click them, and select 'Free up space'. This removes the local copy while keeping the file safely stored in your OneDrive cloud.

Can I hide certain OneDrive folders from File Explorer entirely?

Yes. Open your OneDrive settings from the system tray icon, navigate to the 'Account' tab, and click 'Choose folders'. You can uncheck any folders you do not want to sync or appear in File Explorer, which prevents them from being searched entirely.

Will disabling 'File contents' search affect my ability to find files?

Yes, disabling this feature means Windows will only search for keywords within the file names and basic metadata. It will no longer look for matching text inside the actual documents.