When you search a files on your computer via window Explorer or Cortana, the files you may expect to find may not appear in search results. May be the files available in your system. Without window search, it’s really time consuming to search the items and access them. This usually happens if search index hasn’t updated correctly. Reason behind this your window search index has been broken. Hence fixing broken window search index in important to get rid of this problem.
Windows usually stores the search indexing to a database file, named as Windows.edb.
It is located in ‘%programdata%\Microsoft\Search\Data\Applications\Windows folder’. All the data related indexing, which include file and folder’s metadata are stored in ‘windows.edb‘ file. If you have older system and install the OS way back, so may be your system ‘windows.edb‘ file become huge in size. In such case, you may consider to delete this file and recreate from scratch.
In order to fix most of Windows Search issues, resetting and rebuilding search index is common solution. Here’s how you can perform this in your Windows OS.
Reset Search Index in Windows 10/8/7
- Before you start make sure you have stopped Windows Search service and set Startup type: Disabled. To do this, Press Win+R, Type ‘services.msc‘ in Run dialog box and hit Enter. In Service Window, scroll down and select ‘Windows Search‘. Right-click and select ‘stop‘. Again right-click and select properties, In properties windows set Startup type: ‘Disabled’.
- Press Win+R, type regedit in Run dialog box to open Registry Editor. Click OK.
- In left pane of Registry Editor window, navigate to ‘HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Search’.
- Now in the right pane of Windows Search registry key, double-click on SetupCompletedSuccessfully named registry DWORD (REG_DWORD) to modify its DWORD’s Value data: 1 to 0 and click ok. Close registry editor and reboot the machine.
- Once reboot, Press Win+R and type ‘%programdata\Microsoft\Search\Data\Applications\Windows’ and hit Enter, but make sure you have enabled View ‘Hidden Item‘ in File Explorer.
- In Windows Folder, find ‘Windows.edb’ file and right-click on it and select ‘Delete‘.
Rebuild Search Index in Windows 10/8/7
- Search for indexing options using Windows Search or Cortana and pick same from results.
- Then in Indexing Options, click on Advanced button.
- Next, for Advanced Options, under Troubleshooting, click on Rebuild button to delete and rebuild index and click OK.
Now Windows will start rebuild search index and it will take long time to complete. During index Building process search will broken until Windows finishes this operation.
Once completed, You can now start Windows Search service in Services snap-in.