Windows Search · Windows 11
Fix Windows Search results that list files you already deleted
When Search keeps offering files you deleted, the search index is stale — it is a catalog that has not caught up, not files secretly still on the drive. Confirm the file is really gone, restart the search service once, then rebuild the index so the catalog matches the disk again.
What you need
- One example file name. A specific deleted file that Search still lists is your test case for every step.
- Time for a rebuild if it comes to that. A rebuilt index repopulates in the background over hours; the PC stays usable meanwhile.
- Admin access. Indexing options and services need it.
Read the problem before you touch it
- Prove the file is actually deleted. Open the folder the result claims the file lives in. If the file is not there, the result is a stale index entry. If it is there, Search is right and something — often a sync app — is recreating it; that is a different fix.
- Notice where the stale results appear. Stale entries only in Start menu search point at the index. Stale entries in one folder's File Explorer search can also mean that folder's view has not refreshed — close and reopen the window to check.
- Check whether the drive is even indexed. Search only catalogs indexed locations. A deleted file on a non-indexed drive should not appear at all; if it does, it is being offered from history or a recent-items list, not the index. Microsoft covers index behavior in Fix problems in Windows Search.
The simple fixes, in order
- Run the Search and Indexing troubleshooter. Go to Settings > System > Troubleshoot > Other troubleshooters and run Search and Indexing. Tick the option about files not appearing or deleted files still appearing, and let it apply its fix.
- Restart the Windows Search service. Open Services, find Windows Search, and choose Restart. A restarted service re-reads its catalog and drops many stale entries without a full rebuild.
- Clear the recent-search history as well. In File Explorer's search box, stale-looking entries can simply be search history. Click into the search box, and use the recent searches list's clear option so old queries stop masquerading as live results.
The advanced route
- Rebuild the search index. Open Control Panel > Indexing Options > Advanced and click Rebuild. Microsoft lists the rebuild among the fixes in Fix problems in Windows Search. Leave the PC plugged in and idle for a while afterward; Indexing Options shows the item count climbing as the new catalog fills.
- Check which locations are indexed. In Indexing Options, confirm your main folders are listed and that no removed drive or deleted folder is still an indexed location. A location that no longer exists can keep its last results alive in the catalog.
- Repair system files if the index will not rebuild. If the rebuild stalls or the item count never moves, open Windows Terminal as administrator, run
DISM /Online /Cleanup-Image /RestoreHealth, then runsfc /scannow. Microsoft documents both tools in Using System File Checker in Windows. Restart and rebuild once more.
End state
- Searching for your test file's name returns no result once the rebuild has had time to finish.
- New files you create appear in Search within a short while.
- Indexing Options reports indexing complete, with a stable item count.
When it goes wrong
- The file really is back in its folder. Search is telling the truth. Check OneDrive or another sync app's settings — a sync conflict or a restore can recreate deleted files, and the fix belongs in that app.
- Stale results return a day after a clean rebuild. Something is writing to the index location or the drive has errors. Run a drive check from the drive's Properties > Tools tab, then rebuild once more.
- Search finds nothing at all after the rebuild. Give it time first — an empty early index is normal. If it is still empty after an idle hour, confirm the Windows Search service is set to Automatic and running.
Related fixes
-
Fix the Start menu or Windows Search not opening or not finding files
Restart the shell and search processes, check the Search service, rebuild the index, then repair the system files if Start itself is damaged.
-
Fix a Windows Search indexer that runs constantly and slows the PC
The search indexer should work in bursts and then go quiet. When it runs constantly — disk and CPU busy, fans up, search results still slow — the index is usually too big, stuck rebuilding, or indexing places it should leave alone. Shrink what it indexes first, then rebuild the index once, cleanly.
-
Fix a Windows search box that will not accept typing
When you click the search box and nothing you type appears, the search interface or the text input process has usually stalled, not your keyboard. Restart those processes first, check the search service next, and repair system files only if the box keeps going dead.
-
Fix a sign-in that loads a temporary profile instead of your real one
A temporary profile looks alarming — your desktop is empty and your files seem gone — but your real profile is almost always still on the disk untouched. Confirm your files are safe first, sign out and back in once, and only then repair the profile entry that points Windows at the wrong folder.
Sources
- Microsoft Learn, Fix problems in Windows Search — the troubleshooter, service, and index rebuild steps for search results that do not match the disk.
- Microsoft Support, Using System File Checker in Windows — running SFC and DISM to repair missing or corrupted system files.