Contents
If the Windows 11 search bar stops working, first end the SearchHost.exe process in Task Manager. Windows restarts search the next time it is used. If that does not help, run the troubleshooter, then move on to the reset script. The last method should be left for the end because it deletes a folder and a registry key.
1. Restart the search process
According to Microsoft, this stops search, and it restarts on its own the next time it is used.
- Press Ctrl+Alt+Delete and select Task Manager.
- In Task Manager, select Details.
- In the Name column, right-click SearchHost.exe and select End task.
- If you are asked whether you want to end the process, confirm, then try search again.
2. Run the Search and Indexing troubleshooter
- Open a Command Prompt window.
- Run this command: msdt.exe -ep WindowsHelp id SearchDiagnostic
- In the troubleshooter, select the issues that match your situation. Windows detects them and tries to fix them.
3. Reset Windows Search
This method also applies to Windows 11. Microsoft recommends running the script with PowerShell, and the script requires a temporary change to the execution policy.
- In PowerShell, use Get-ExecutionPolicy to note the current policy.
- Run Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted.
- Download ResetWindowsSearchBox.ps1 from the link on Microsoft's page and save it to a folder.
- Right-click the file and select Run with PowerShell.
- If you are asked for permission to make changes to the device, select Yes.
- When finished, restore the policy to the value you noted in the first step.
4. Recreate the search package's AppData folder
This method deletes a folder and a registry key. Microsoft first suggests testing whether search works in a newly created Windows account.
- In Windows 11, delete the folder %USERPROFILE%\AppData\Local\Packages\MicrosoftWindows.Client.CBS_cw5n1h2txyewy.
- While signed in to the affected account, open Registry Editor and go to the HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Search subkey.
- Delete the Search key.
- Open an elevated PowerShell window and run the command Microsoft provides on the page for Windows 11.
- Restart the computer and try search. This process restarts the search index, and recreates the registry key and the AppData folder.
Which topics would you like us to cover next? Let us know in the comments.
Source
This guide was prepared with AI assistance; it was reviewed and updated by the TechTurco News Desk.