If your Windows search bar is not working—clicking it does nothing, typing yields no results, or it shows a black box—the fix is usually a restart of the Windows Search service or a rebuild of the search index. Below are the exact steps to resolve the most common causes, from simple service restarts to deeper system file repairs.
Why the Search Bar Stops Working
The Windows search bar (the magnifying glass icon on the taskbar) relies on a background service called Windows Search (WSearch). This service indexes your files, apps, and settings so that queries return instantly. When the service crashes, hangs, or becomes corrupted, the search bar either freezes, shows no results, or fails to open at all.
Common triggers include:
- A pending Windows update that interrupted the indexer
- Corrupted index files (often after a crash or forced shutdown)
- Third-party software (antivirus, system cleaners) locking the index database
- Outdated or faulty display drivers (less common but possible)
- Power settings that put the search service to sleep
Quick Fix: Restart the Windows Search Service
This is the first thing to try because it takes under a minute and fixes a large percentage of cases.
- Press Ctrl + Shift + Esc to open Task Manager.
- Click the Services tab at the bottom (if not visible, click “More details”).
- Scroll down to WSearch (Windows Search).
- Right-click it and select Restart. If it’s not running, right-click and choose Start.
- Close Task Manager and try the search bar again.
If the service won’t restart or errors out, proceed to the next step.
Rebuild the Search Index
If the service restarts but search still returns nothing, the index itself is likely corrupted. Rebuilding it forces Windows to recreate the entire index from scratch.
- Open Settings (Win + I) → Search → Searching Windows.
- Scroll down to More search indexer settings and click it.
- In the Indexing Options window, click Advanced.
- Under “Troubleshooting”, click Rebuild.
- Confirm when prompted. This can take 15 minutes to a few hours depending on your drive size.
While rebuilding, search will be incomplete or slow—that’s normal. Once it finishes, results should appear.
Run the Search and Indexing Troubleshooter
Windows includes a built-in troubleshooter that automatically finds and fixes common search issues.
- Open Settings → System → Troubleshoot → Other troubleshooters.
- Find Search and Indexing and click Run.
- Follow the on-screen prompts. It will check service status, permissions, and index location.
This often resolves issues without manual intervention.
Check for Corrupted System Files
If the above fail, system file corruption may be the culprit. Run the System File Checker (SFC) and DISM tools from an elevated command prompt.
- Right-click the Start button and select Terminal (Admin) or Command Prompt (Admin).
- Type
sfc /scannowand press Enter. Wait for it to complete. - Then type
DISM /Online /Cleanup-Image /RestoreHealthand press Enter. - Restart your PC after both finish.
SFC repairs missing or corrupted system files; DISM fixes the component store that SFC relies on. Run both in order.
Restart Explorer.exe (Taskbar Fix)
Sometimes the search bar itself is unresponsive because the taskbar (Windows Explorer) has glitched. Restarting Explorer is safe and quick.
- Open Task Manager (Ctrl + Shift + Esc).
- Under Processes, find Windows Explorer.
- Right-click it and select Restart.
- The taskbar will disappear and reappear after a few seconds.
This fixes UI-level lag and unresponsive icons, including the search box.
When All Else Fails: Create a New User Profile
If search works for other user accounts but not yours, your profile’s registry or app data is corrupted. Creating a new user profile is a last-resort fix that preserves your files.
- Go to Settings → Accounts → Family & other users.
- Click Add account → I don’t have this person’s sign-in information → Add a user without a Microsoft account.
- Create a local account and sign into it.
- If search works there, migrate your files and settings manually.
This is more disruptive, so try it only after exhausting the earlier steps.
Frequently Asked Questions
Why does my search bar show a black box when I click it?
This usually means the search UI (part of Windows Shell) has crashed. Restarting Explorer.exe (see above) fixes it immediately. If it recurs, run the SFC/DISM commands to repair system files.
Will rebuilding the index delete my files?
No. Rebuilding the index only recreates the database of file locations and metadata. Your actual files, folders, and apps remain untouched. It just takes time to re-scan your drives.
Why does search work in Settings but not on the taskbar?
This points to a taskbar/Explorer issue rather than the search service. Restart Explorer.exe first. If that fails, check for a pending Windows update that may have left the taskbar in a broken state.
Can third-party antivirus block Windows Search?
Yes. Some security suites lock the index database or interfere with the WSearch service. Temporarily disable your antivirus (or add an exclusion for C:\ProgramData\Microsoft\Search) and test search. Re-enable it afterward.
Is there a keyboard shortcut to open search?
Yes—press Win + S to open the search flyout directly. If that works but clicking the taskbar icon doesn’t, the taskbar is the problem, not search itself.
Will a Windows update fix this permanently?
Often, yes. Microsoft regularly patches search-related bugs. If you’re on an older build, installing the latest updates may resolve the issue without any manual fixes.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Fix Shockwave Flash Crashes in Firefox
- Fix Microsoft Account Apps Notification in Windows 10
- Printer Problems With macOS Catalina: Fixes
- CSS min(), max(), clamp(): How to Use Them
- How to Partition an External Hard Drive
- How to Transfer PicsArt Stickers from Android to PC