The Start Menu search feature is used more often in Windows 10 and 11 than in previous OS versions. You can use Windows Start Menu search to quickly find an app, file, setting item, system feature, or even to search the Web. However, in some cases, Windows search may stop working. When you try to find an app or a file, an empty list of search results is returned. Here are some basic tips that should help if Windows search is not working properly in the Start Menu, Cortana, Taskbar, or other elements of the interface.
- Restart Windows Search Services
- Windows Start Menu Search Not Working
- Check the Search Service and Indexing Settings in Windows
- Fix and Repair with Search and Indexing Troubleshooter
- Reset Microsoft Store Universal Apps in Windows
- Blank Search Results on Windows with Bing Search Enabled
- Settings Search Not Working in Windows 10 or 11
- Reset Windows Search with PowerShell Script
Restart Windows Search Services
One of Cortana’s executable files, SearchUI.exe, is responsible for searching from the taskbar. If the search in the Windows 10/11 taskbar is not working for you, try restarting the process:
- Run the Task Manager (
Ctrl+Alt+Del
); - Go to the Details tab;
- Find SearchUI.exe in the list of processes, right-click on it, and select End Task;
- Similarly, kill the SearchApp.exe and SerchIndexer.exe processes;
- The next time you try to use Windows 10 search, these processes will start automatically.
Windows Start Menu Search Not Working
If the search doesn’t work only in the Windows 10/11 Start Menu, try the following solution:
- Kill the File Explorer (Explorer.exe) process by right-clicking an empty space on the taskbar while holding down the right
Ctrl+Shift
keys -> Exit Explorer or use the Task Manager (Ctrl + Shift + Esc
); - Run the Registry Editor from the Task Manager (File -> Create new task -> regedit.exe);
- Delete the following registry key:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{ef87b4cb-f2ce-4785-8658-4ca6c63e38c6}\TopViews\{00000000-0000-0000-0000-000000000000}
. In Windows 10 x64 you need to delete another registry keyHKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{ef87b4cb-f2ce-4785-8658-4ca6c63e38c6}\TopViews\{00000000-0000-0000-0000-000000000000}
. - Start Explorer.exe using the Task Manager (File -> Create new task -> explorer.exe).
Windows 10 1703 and newer builds have another common problem that results in the search function not working. Enable the option Let apps run in the background in the Settings -> Privacy -> Background apps. If you disable this option, the search among the newly installed apps may not work.
If you didn’t find this option in the modern Settings app, you can enable it through the registry:
- To do it, go to the registry key HKEY_CURRENT_USER\Software\Microsoft\ Windows\CurrentVersion\ BackgroundAccessApplications;
- Create a new DWORD (32-bit) parameter with the name GlobalUserDisabled and the value 0;
- Then change the value of the BackgroundAppGlobalToggle parameter to 1 in the registry key HKCU\Software\Microsoft\Windows\CurrentVersion\Search;Or you can change these parameters from the command prompt:
REG ADD HKCU\Software\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications /v GlobalUserDisabled /t REG_DWORD /d 0 /f
REG ADD HKCU\Software\Microsoft\Windows\CurrentVersion\Search /v BackgroundAppGlobalToggle /t REG_DWORD /d 1 /f - Restart your computer.
Check the Search Service and Indexing Settings in Windows
Check if the Windows Search service is running.
- Open the
services.msc
console; - Find Windows Search in the list of services;
- Make sure that the service is running and its startup type is set to automatic;
- Start/restart the WSearch service;
- Open the classic Control Panel and click the Indexing Options item (Control Panel\All Control Panel Items\Indexing Options);
- Make sure that you select the indexing of all necessary locations (at least the following indexing locations should be enabled: Start Menu, Users folder. Also, you can add your local drives and Outlook);
- Click Advanced button and then press Rebuild in the Troubleshooting section;
- The reindexing process can take quite a long time. Wait for it to finish.
Fix and Repair with Search and Indexing Troubleshooter
Try using the built-in Indexer Diagnostics (Troubleshooter) tool to find and fix common problems with Windows Search. For this:
- Go to Settings -> Search -> Searching Windows. Scroll down the list and click on “Run the indexer troubleshooter to resolve common search issues”;You can start the Windows Search troubleshooter from the command prompt:
msdt.exe -ep WindowsHelp id SearchDiagnostic
- The “Search and Indexing Services” troubleshoot wizard should launch;
- Select your problem (most likely it will be “Files don’t appear in search results”) and click Next;
- Wait until the “Search and Indexing troubleshooter” scans your computer and tries to fix the errors. Then reboot the computer and check the search result.
Reset Microsoft Store Universal Apps in Windows
If you have the Cortana voice assistant app installed on your computer, you can fix the search problem by re-registering all Universal Windows Platforms (UWP) Microsoft Store apps in the system. To do it, run the following command in the elevated PowerShell console:
Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
After the command is finished, reboot the computer.
If that doesn’t fix your search issue, you need to completely re-install Microsoft.Windows.Search universal app (Microsoft.Windows.Search_cw5n1h2txyewy
).
- Run the
powershell.exe
as administrator; - Stop the Windows Search service. First, you need to change the startup type to Disabled, and then stop it:
Get-Service WSearch| Set-Service –startuptype disabled –passthru| Stop-Service –Force
- Restart Windows;
- Remove the universal Search app:
Get-AppxPackage -Name *Search* | Remove-AppxPackage -Verbose -ErrorAction SilentlyContinue -WarningAction SilentlyContinue
Get-AppxPackage -AllUsers -Name *Search* | Remove-AppxPackage -Verbose -ErrorAction SilentlyContinue -WarningAction SilentlyContinue - Now you need to delete the application folder
%LOCALAPPDATA%\Packages\Microsoft.Windows.Search_cw5n1h2txyewy
. For this, you must change the owner of the folder to the local Administrators group. This can be done manually in Windows Explorer (Security tab in folder options) or using the following PowerShell script:
$searchapp_path ="$env:localappdata\Packages\Microsoft.Windows.Search_cw5n1h2txyewy"
$Account = New-Object -TypeName System.Security.Principal.NTAccount -ArgumentList 'BUILTIN\Administrators';
$ItemList = Get-ChildItem -Path %searchapp_path -Recurse;
foreach ($Item in $ItemList) {
$Acl = $null;
$Acl = Get-Acl -Path $Item.FullName;
$Acl.SetOwner($Account);
Set-Acl -Path $Item.FullName -AclObject $Acl;
} - Now you can delete Windows.Search_cw5n1h2txyewy folder:
Remove-Item -Path $env:localappdata\Packages\Microsoft.Windows.Search_cw5n1h2txyewy –force
- Now search in Windows is completely disabled;
- Reinstall the universal Search app:
Get-AppxPackage -AllUsers -Name *Search* | % {Add-AppxPackage -Path ($_.InstallLocation + "\Appxmanifest.xml") -Register -DisableDevelopmentMode -ForceApplicationShutdown -Verbose}
- Enable autostart for the WSearch service:
Set-Service WSearch –startuptype automatic
- Restart Windows, log in with your account and check that the search is now working.
Blank Search Results on Windows with Bing Search Enabled
On February 5, 2020, many users noticed the search from the Start Menu and taskbar stopped working in Windows 10. When you click the Search icon or type something in the Start menu, it shows blank search results.
This issue has been acknowledged by Microsoft and was caused by the unavailability of Bing cloud search services. By default, Windows 10 and 11 send everything that you type in the Start Menu search bar to Microsoft servers, which return your search results from Bing.
The easiest way to fix this problem is to disable Windows Search Integration with Microsoft Bing Search services.
- Run the Registry Editor (Win+R ->
regedit.exe
); - Go to the registry key HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Search\;
- Change the value of the BingSearchEnabled and CortanaConsent parameters to 0; If these registry settings are missing, create them manually (use the REG_DWORD 32 parameter type). You can create and set these parameter values with the following commands:
REG ADD HKCU\Software\Microsoft\Windows\CurrentVersion\Search /v BingSearchEnabled /t REG_DWORD /d 0 /f
Or enable the Group Policy option Don’t search the web or display web results in Search under Computer Configuration > Policies > Administrative Templates > Windows Components.
REG ADD HKCU\Software\Microsoft\Windows\CurrentVersion\Search /v CortanaConsent /t REG_DWORD /d 0 /f - Restart the Explorer.exe process or reboot your computer.
Settings Search Not Working in Windows 10 or 11
Windows 10/11 Settings app has its own search box for quickly jumping to system settings items. If the search in the Settings menu stops working:
- Open the File Explorer and go to the directory
%LocalAppData%\Packages\windows.immersivecontrolpanel_cw5n1h2txyewy\LocalState
; - Open the properties of the Indexed folder and click the Advanced button. Make sure that the option “Allow files in this folder to have contents indexed in addition to file properties” is enabled;
- If the option is already enabled, disable it, click OK, and then re-enable it.
Reset Windows Search with PowerShell Script
If the above methods didn’t help you restore search functionality in Windows 10/11, Microsoft recommends using a PowerShell script to reset all Windows Search service settings (the script is for Windows 10 1903 and newer).
To run this script you need:
- Download the ResetWindowsSearchBox.ps1 script http://www.microsoft.com/download/100295;
- Open the PowerShell console as an administrator;
- Change the PowerShell Execution Policy settings (this command only allows you to run PS1 scripts in the current powershell.exe session):
Set-ExecutionPolicy -Scope Process –ExecutionPolicy Unrestricted
- Run the PS1 script file;
- The script will reset the Windows search settings to default values;
- Restart your computer and check if the Windows search issue is fixed.
Some additional ways to fix search issues in Windows that might help if the previous options didn’t work for you:
- Create a new user and check if the Start Menu search works under the new account;
- Check if the ctfmon.exe process is running in your session. This is a built-in Windows process that manages the alternate user input and the Office Language Panel (Touch Keyboard and Handwriting Panel Service). If this process is not running or stopped, you simply won’t be able to type characters in the Start Menu search bar. To start the process manually, press Win +R and run the command:
C:\Windows\System32\ctfmon.exe
If this fixes the search problem, you need to add the ctfmon.exe process to the Windows startup; - Boot from the LiveCD and remove the folder
C:\Documents and Settings\username\AppData\Local\Packages\Microsoft.Windows.Cortana_******
(alternatively, you can use the unlocker tool to kill the process that is locking this folder). Reboot your computer. The Cortana folder will appear again and after a few minutes the search should work; - Check the NTFS permissions on the folder C:\Windows\SystemApps\Microsoft.Windows.Search_cw5n1h2txyewy. All computer users must have Read+Execute permissions (BUILTIN\Users -> Allow ReadAndExecute, Synchronize). You can list folder NTFS permissions with PowerShell:
Get-ACL $env:windir\SystemApps\Microsoft.Windows.Search_cw5n1h2txyewy
- Check the system files and Windows image integrity using the commands:
sfc /scannow
andDISM /Online /Cleanup-Image /RestoreHealth
- If there are search problems in the Microsoft Outlook client, follow another guide: Outlook Search Not Working.
33 comments
Thanks a lot for this. The only explanation and solution of its kind that I could find.
Thanks so much! 1st one worked.
The last but one solution works. Thanks a lot.
1st one with deletion of registry key worked for me.
Do you know a root cause of that? Would be interesting to find out what is this key about and why we need to delete it.
I have tried all of these (and a number of others from other websites) with no success. However, I tried your suggestion to create a new user in Windows, and search works fine when I log in as that user. What does that suggest that I should try next?
I have the same situation. Using Search as a new User works perfectly, however, under my account it is not working properly. What can I do next?
Same here, search wasn’t running for me. The “Re-Register Universal Apps” method did the trick for me. (nothng else worked).
I had similar issues on multiple computers. This issue is related to user profile and not any of the recommendation above. Just delete user profile and recreate it.
Delete C:\users\%userProfile%
start regedit and go HKLM\Software\Microsoft\Windows NT\Current Version\Profile List and find out the guid that belong to that particular profile. Delete the corresponding listed profile
and go to HKLM\Software\Microsoft\Windows NT\Current Version\Profile List and delete the corresponding GUID for that profile
Thanx!
Followed the registry changes under “Windows 10 Start Menu Search Not Working”.
And now it works! Tiles are back and when I start typing after clicking the windows flag, I get suggestions again!
Be well!
nothing in this really worked in my case!
can u suggest me some other methods ?
thanks it work!
Thanks, first method worked!
I want to thank the author of this guide as it helped successfully on 2 machines which I migrated from Windows 10 1803 to 1903.
I followed all those instructions and the taskbar or start menu search started working again as they should (no more dreaded blank menu). I suspect it’s the last Powershell command (Re-Register Universal Apps in Windows 10) that fixed it in my case, but I did follow the whole procedure (deleting the registry key, rebuild the indexing, etc) before doing the Powershell command, just to be sure.
Thank you ! Blank search with bing integration solution worked perfectly.
Thanks a lot for this, you saved me
Thanks mate.
For me the following worked: Set BingSearchEnabled to 1
REG ADD HKCU\Software\Microsoft\Windows\CurrentVersion\Search /v BingSearchEnabled /t REG_DWORD /d 1 /f
Thanks
MY solution was a bit different than what has been described here – I went into the Task Manager, and I noticed the Search function was temporarily stopped. I killed the process, started a new Taskbar search, and the results started coming up!
Thank you, for me creating manually the registry settings was worked.
Thank you again
This problem exists for several months now and keeps getting back. Why couldn’t it be fixed in one of the updates. WTF Microsoft
My windows task bar search option is not work and SearchUI.exe folder not shown in my pc..kindly solve the problem…
Thank you so much!!!!
None of them except the following worked: Set BingSearchEnabled to 1
REG ADD HKCU\Software\Microsoft\Windows\CurrentVersion\Search /v BingSearchEnabled /t REG_DWORD /d 1 /f
Thanks
My Situation: “Type here to search” box wouldn’t accept text, or work in any way. Created a test user, test user could use the search box without issue. Also, search within File Explorer wouldn’t work.
Re-registering universal apps worked for me. I also messed around with the Bing/Cortana registry entries and modifying/starting/stoping indexing, but none of those appear to have helped. Thanks for the comprehensive troubleshooting guide on this one, very helpful!
I when through many of your recommendations. “Re-Register Universal Apps in Windows 10” ist the one that finally worked.
Thank you.
Thank you. This was very helpful.
This was extremely extremely helpful. Thank you for being so thorough!
Thank you – the second solution in the list worked for me by deleting 2 of the registry files and running explorer.exe again!
Happy
Thanks for this! After trying all solutions listed here the only one that worked was Removing the “Microsoft.Windows.Search_***” folder in my users AppData directory, and then restarting. I had to use a process unlocker tool like described, but it worked after the restart.
The exact directory to Remove is: “C:\Documents and Settings\username\AppData\Local\Packages\Microsoft.Windows.Search_******”
Thanks
Thanks solve my problem search..very help full thanks..a lot
thanls!!!! powershell did the trick
Thanks for the post, this re-install Microsoft.Windows.Search universal app worked for me.