Fix File Explorer Search Returns No Results on Windows 11
🔍 WiseChecker

Fix File Explorer Search Returns No Results on Windows 11

Quick fix: Open Control Panel → Indexing Options → Advanced → Rebuild. The index regenerates over the next 1–4 hours. Or temporarily disable index reliance: Folder Options → Search tab → tick Always search file names and contents. This forces direct disk search at the cost of speed.

You type a filename in File Explorer search. Nothing appears, even though you know the file is in that folder. Or only some matches show. Or search works in one folder but not another. The cause is Windows Search’s index being out of date, corrupted, or simply not covering the folder you’re searching.

Symptom: File Explorer search returns no results for files that exist; or returns stale results missing recent files.
Affects: Windows 11 (and Windows 10) File Explorer search.
Fix time: ~10 minutes to enable; rebuild takes 1–4 hours.

ADVERTISEMENT

What causes this

File Explorer search uses Windows Search’s index database to find files. If the folder isn’t in the indexed locations, search falls back to direct disk scanning — which may be slow and may not work in certain conditions (large folders, network drives). If the index is corrupted, results are incomplete. If the Windows Search service is stopped or broken, search returns nothing at all.

Less commonly: files have certain attributes (System, Encrypted, hidden) that exclude them from default search; or the folder is on a network drive that wasn’t indexed; or you’re searching for content inside files where indexing for that file type isn’t enabled.

Method 1: Check and add folders to indexed locations

The fix for “search works in some folders, not others.”

  1. Open Control Panel → Indexing Options.
  2. Look at “Locations included.” If your target folder isn’t in the list, search relies on disk scan (slow, sometimes broken).
  3. Click Modify. Expand to find your folder. Tick to include. Click OK.
  4. Windows starts indexing. The total item count grows over the next minutes/hours.
  5. For network drive folders: in Modify, click Show all locations. Find mapped drives, tick them.
  6. For OneDrive folders: usually included by default, but verify. If files marked “cloud-only” aren’t found in search, mark them Always keep on this device in OneDrive context menu, then re-index.
  7. Wait for “Indexing complete” in Indexing Options before re-testing search.

This handles the most common cause: folder not indexed.

ADVERTISEMENT

Method 2: Rebuild a corrupted index

For when the index seems wrong or incomplete despite folders being included.

  1. Open Indexing Options → Advanced.
  2. Click Rebuild. Confirm.
  3. Windows wipes the existing index and rebuilds. This is fast on SSDs (10 minutes for ~50,000 files) but can take hours for 500,000+ files or HDDs.
  4. During rebuild: search may return incomplete results. Wait for “Indexing complete.”
  5. If rebuild fails or gets stuck: stop Windows Search service (services.msc → Windows Search → Stop), delete C:\ProgramData\Microsoft\Search\Data\Applications\Windows\ contents, restart Windows Search service. Forces a clean rebuild from scratch.
  6. For PCs where Windows Search service won’t start at all (event log shows errors): re-register the service:
    sc stop wsearch
    sc config wsearch start= demand
    sc start wsearch
  7. Verify service is running: Get-Service WSearch | Format-List Status, StartType.

Rebuild fixes corrupted index data.

Method 3: Bypass the index entirely

For when you can’t wait for indexing or have specific folders that should always be searchable.

  1. Open File Explorer. In the address bar of any window, type the path you want to search.
  2. Click in the search box (top-right).
  3. Open Folder Options: in File Explorer, click menu → Options.
  4. Switch to the Search tab.
  5. Under How to search: tick Always search file names and contents (this might take several minutes).
  6. Under When searching non-indexed locations: tick Include system directories, Include compressed files.
  7. Click Apply → OK.
  8. Now File Explorer search scans the actual file system rather than just the index. Slower but always accurate.
  9. For instant filename search across the entire disk: install Everything from voidtools.com (free). It uses NTFS Master File Table for near-instant search regardless of indexing.

This is the right path for users who want guaranteed search results without waiting for index rebuilds.

How to verify the fix worked

  • Open Indexing Options. Look for “Indexing complete. XXX,XXX items indexed.” If still “Indexing in progress,” wait.
  • Search for a known recent file in File Explorer. It should appear in results within 1 second.
  • Run Get-Service WSearch in PowerShell. Status: Running.

If none of these work

If search still fails after rebuild and bypass options, the issue is deeper. Check Windows Search troubleshooter: Settings → System → Troubleshoot → Other troubleshooters → Search and Indexing → Run. Microsoft’s automated fixer addresses common issues. For File Explorer search specifically failing while Windows Search service works: Reset Explorer. Right-click Start → Terminal → taskkill /f /im explorer.exe then start explorer.exe. Reset File Explorer settings: Folder Options → View tab → Reset Folders. For PCs where search fails only in OneDrive folders: OneDrive files marked cloud-only aren’t indexed because they don’t exist locally as files. Either mark them Always keep on this device, or use OneDrive’s web interface for search. For PCs with corrupted Windows Search appx package: reinstall via PowerShell:

Get-AppxPackage Microsoft.WindowsSearch | Reset-AppxPackage

For Search not loading at all: Reset This PC → Keep my files is the last resort.

Bottom line: Confirm folders are in indexed locations. Rebuild the index if it’s corrupted. For guaranteed results, tick “Always search file names and contents” in Folder Options to bypass the index.

ADVERTISEMENT