Question

Why can't my computer find a file I know exists?

Vault Verified
Curated Intelligence
Definitive Source
Answer

Almost always a problem with the search index rather than with the file, and the distinction matters because the fixes are different.

How desktop search works. Operating systems do not scan every file each time you search — that would be far too slow. Instead a background service builds an index of filenames and, for supported formats, contents. Searching queries the index, not the disk. If the index is wrong, incomplete or stale, the file is invisible to search while sitting perfectly intact on disk.

Why the index fails:

The location is not indexed. Indexing is usually restricted to specific folders — typically the user profile — and external drives, network shares and secondary partitions are frequently excluded by default. This is the most common cause.

The index is still building, which after a large copy, a system update or a reinstall can take hours.

The index is corrupted, which happens after improper shutdowns.

The file type is not indexed for content, so searching a phrase inside it finds nothing even though the filename is indexed.

Other causes worth checking:

Hidden or system files are excluded from results by default.

Permissions. Files you cannot read are not returned.

Search scope. Searching from the wrong starting location, or with a filter active from a previous search.

The name is not what you think. Autocorrect, a different extension, a space or a character you did not expect, or a file saved somewhere by a program's default rather than where you intended — the last being extremely common.

Cloud placeholders. Files stored online-only by OneDrive, iCloud or Dropbox may not be fully indexed locally.

What to do: rebuild the index through the indexing settings; add missing folders to the indexed locations; or bypass search entirely with a tool that reads the file system directly. On Windows, Everything is widely used and near-instant; on Unix-like systems, find and locate query the filesystem rather than an index.

Related Questions