Windows Search usually starts working again after you restart the Search process, run the Search and Indexing troubleshooter, confirm the correct folders are indexed, and rebuild the index if results are missing or stale. If the search pane will not open, closes immediately, or remains blank, repair Windows components with DISM and System File Checker afterward. This guide applies to supported Windows 11 editions and includes the different Windows 10 paths where they matter. It covers taskbar Search, Start menu Search, and File Explorer file searches.

Prerequisites and compatibility​

  • Allow about 20 minutes of hands-on work. A full index rebuild can continue in the background for hours; Microsoft advises allowing up to 24 hours for a large index to finish.
  • Sign in with an administrator account for component-repair commands.
  • Connect laptops to AC power before rebuilding the index.
  • If you use a work or school PC, search settings may be managed by your organization. Do not change Group Policy, Registry, or security settings to work around a company policy.
  • Know which symptom you have:
    • Search opens but cannot find files: usually an indexing scope or index issue.
    • Search opens but is blank, freezes, or closes: usually a Search process or Windows component issue.
    • File Explorer searches fail but taskbar Search works: usually indexing coverage or a folder-specific issue.

Primary procedure​

1. Restart Windows Search without rebooting the PC​

Restarting the Search process is the fastest fix for a search pane that does not open, is blank, or stops accepting text. Windows automatically starts the process again the next time you search.
  1. Press Ctrl + Shift + Esc to open Task Manager.
  2. If Task Manager opens in its compact view, select More details.
  3. Select the Details tab.
  4. Locate one of the following processes:
    • SearchHost.exe on Windows 11
    • SearchUI.exe on Windows 10
  5. Right-click the process and select End task.
  6. Select End process if Windows asks for confirmation.
  7. Press the Windows key or select the taskbar Search button.
  8. Type a known app name, such as Notepad.
Expected result: The Search window reopens and accepts typing. The SearchHost.exe process should reappear in Task Manager after you open Search again.
If Search still does not work, restart the entire PC before proceeding:
  1. Select Start > Power > Restart.
  2. Sign in after the restart.
  3. Test Search again with an app name and the name of a known local file.
A restart can also finish installing pending Windows updates that affect shell components.

2. Run the Search and Indexing troubleshooter​

Use the built-in troubleshooter next. It can detect and reset common Windows Search configuration problems.
  1. Right-click Start and select Terminal (Admin), Windows PowerShell (Admin), or Command Prompt (Admin).
  2. Approve the User Account Control prompt.
  3. Run this command:
msdt.exe -ep WindowsHelp id SearchDiagnostic
  1. In the Search and Indexing window, select the symptom that best matches the problem. For example:
    • Files don’t appear in search results
    • Search or indexing is slow
    • Email doesn’t appear in search results
  2. Select Next.
  3. Allow the troubleshooter to apply any recommended fix.
  4. Close the troubleshooter and test Search again.
Expected result: The troubleshooter either reports that it applied a fix or identifies no issue. Even if it finds nothing, continue with the indexing checks below when searches cannot find local files.
Note: The msdt.exe troubleshooter is intended for Windows Search diagnostics. If it does not open on a managed or newer configuration, proceed to the next step rather than downloading third-party “search repair” tools.

3. Check whether Windows is still indexing​

Before rebuilding the index, determine whether Windows is simply still processing new or changed content.

Windows 11​

  1. Open Start > Settings.
  2. Select Privacy & security > Searching Windows.
  3. Check the indexing status near the top of the page.

Windows 10​

  1. Open Start > Settings.
  2. Select Search > Searching Windows.
  3. Check the indexing status.
Possible status messages include:
  • Indexing complete — Windows has finished indexing the selected locations.
  • Indexing in progress. Search results might not be complete during this time. — Leave the PC powered on for a few hours.
  • Indexing speed is reduced because of user activity. — Indexing slows down while you actively use the device.
  • Indexing is waiting for computer to become idle. — High CPU or disk activity is preventing the indexer from progressing.
If indexing is in progress, keep the device on and connected to power. Avoid judging a rebuild or indexing change immediately after making it.

4. Confirm that the missing folder is included in Search​

Rebuilding will not help if Windows is not configured to index the folder containing the missing files.

Windows 11​

  1. Open Settings > Privacy & security > Searching Windows.
  2. Under Find my files, select:
    • Classic to search common folders such as Desktop, Documents, Pictures, Music, and Downloads; or
    • Enhanced to search the whole PC.
  3. Review Exclude folders from enhanced search. If the folder you need is listed, select the three dots beside it and choose Remove.
  4. Select Advanced indexing options.
  5. In Indexing Options, select Modify.
  6. Select the drive or folder that contains the files you need to find.
  7. Select OK.

Windows 10​

  1. Open Settings > Search > Searching Windows.
  2. Under Find My Files, select Classic or Enhanced.
  3. Review Excluded Folders and remove the affected folder if necessary.
  4. Select Advanced Search Indexer Settings.
  5. In Indexing Options, select Modify.
  6. Select the required folder or drive, then select OK.
Expected result: The selected location appears under indexed locations. New files in that location may take time to become searchable.

5. Rebuild the Search index​

Use this step when Search returns incomplete, outdated, or no local file results after the correct folders are selected.
Warning: Rebuilding deletes the existing Search index and creates a new one. Your files, installed apps, and account are not deleted, but searches may be incomplete or slower until indexing finishes. Do not rebuild repeatedly; leave the computer powered on and connected to power afterward.

Windows 11​

  1. Open Settings > Privacy & security > Searching Windows.
  2. Select Advanced indexing options.
  3. In Indexing Options, select Advanced.
  4. On the Index Settings tab, under Troubleshooting, select Rebuild.
  5. Select OK to confirm.

Windows 10​

  1. Open Settings > Search > Searching Windows.
  2. Select Advanced Search Indexer Settings.
  3. In Indexing Options, select Advanced.
  4. On the Index Settings tab, select Rebuild.
  5. Select OK to confirm.
Expected result: Windows starts recreating the index. Search may initially find apps more reliably than documents and other personal files. Return to Searching Windows later to check progress.

6. Install available Windows updates​

Search relies on Windows shell and servicing components. Install available updates before repairing Windows files.

Windows 11​

  1. Open Settings > Windows Update.
  2. Select Check for updates.
  3. Install all offered quality updates.
  4. Select Restart now if prompted.

Windows 10​

  1. Open Settings > Update & Security > Windows Update.
  2. Select Check for updates.
  3. Install available updates.
  4. Restart if requested.
After restart, test both:
  • Taskbar/Start Search: Search for Notepad.
  • File Explorer Search: Open a folder containing a known file and search for part of its filename.

7. Repair Windows components with DISM and SFC​

Run these commands if Search still fails to open, crashes, stays blank, or remains unreliable after the Search restart, troubleshooting, and index rebuild.
Warning: These commands repair Windows system components. They do not erase personal files, but DISM normally uses Windows Update as its repair source. Keep the PC connected to the internet and do not close the elevated command window or force a shutdown while either scan is running.
  1. Right-click Start and select Terminal (Admin), Windows PowerShell (Admin), or Command Prompt (Admin).
  2. Approve the User Account Control prompt.
  3. Run:
DISM.exe /Online /Cleanup-Image /RestoreHealth
  1. Wait for the command to finish. It can appear to pause at some percentages; let it complete.
  2. When DISM reports that the restore operation completed successfully, run:
sfc /scannow
  1. Wait until SFC reaches 100%.
  2. Restart the PC:
shutdown /r /t 0
Expected result: DISM should report a successful restore if it found repairable component-store corruption. SFC may report either that it found no integrity violations or that it found and repaired corrupted files. After the restart, Search should open normally and begin returning local results again.

Verification of success​

After completing the procedure, verify Search in three places:
  1. Press the Windows key and search for Notepad.
    • Success: Notepad appears as an app result and can be opened.
  2. Search for a Settings page, such as Windows Update.
    • Success: The matching Settings result appears.
  3. Open File Explorer, browse to a folder containing a known file, and search for a distinctive part of its name.
    • Success: The file appears. If you just rebuilt the index, wait for indexing to complete before treating missing document results as a failure.
For an indexing-only problem, return to Settings > Privacy & security > Searching Windows in Windows 11, or Settings > Search > Searching Windows in Windows 10. The best final status is Indexing complete.

Troubleshooting and escalation​

Search works after ending SearchHost.exe, but fails again later​

Restart the PC and install pending Windows updates. If the issue returns immediately after every restart, run the DISM and SFC sequence in Step 7. Recurring SearchHost.exe failures commonly indicate damaged Windows components rather than an incomplete index.

Search finds apps but not personal files​

This is usually not a Search-bar failure. Confirm the folder is selected in Advanced indexing options and is not listed as an excluded folder. If the file is on an external drive, network location, removable media, or a cloud-only location, it may not be indexed in the same way as local files.
Use File Explorer to browse directly to the file first. If it is available locally, select the correct folder in Indexing Options and allow the indexer time to process it.

Search says “Indexing in progress” for a long time​

Keep the PC awake, connected to AC power, and relatively idle. Windows deliberately reduces indexing speed when you are actively using the computer or when CPU and disk use are high. Avoid repeated rebuilds, which restart the process and extend the delay.
If a large drive, development folder, archive collection, or virtual-machine folder is included under Enhanced search, switch temporarily to Classic or exclude locations you do not need searched. Then rebuild the index once.

The Windows Search service will not start or stops immediately​

Do not change service dependencies, edit the Registry, or use downloaded registry fixes as a first response. Run the Search and Indexing troubleshooter, restart the PC, and complete the DISM and SFC repair sequence first.
If DISM or SFC reports errors that it cannot repair, document the exact message and contact Microsoft Support or your organization’s IT administrator. On a managed PC, policies or endpoint security software may be affecting Windows Search.

DISM fails because it cannot download source files​

Confirm that Windows Update works and that the device has an internet connection. If the PC is managed by an organization, its update or repair-source policy may block DISM from obtaining files. Do not use a random ISO, mismatched Windows build, or unofficial download as a DISM repair source. Escalate to IT or use Microsoft installation media that exactly matches the installed Windows version, edition, language, and architecture.

Search is still blank or closes after all steps​

Test whether the issue affects a new local Windows account. If Search works in the new account but not the original one, the problem is likely limited to the original user profile. Back up personal data and seek profile-repair guidance rather than deleting Search folders or Registry keys manually.
If Search fails in every account after DISM, SFC, updates, and an index rebuild, use an in-place Windows repair installation from official Microsoft installation media, selecting Keep personal files and apps when offered. Back up important files first, ensure sufficient free storage, and suspend any third-party disk-encryption or endpoint-security procedure only if directed by its vendor or your IT administrator.