If you face any troubles when searching for email items in different Outlook versions (nothing is found, not all results are displayed, not all *.pst files used for search, not showing recent emails, etc.), this article’s guidelines should help you to solve Outlook search issues (these recommendations are applicable to all current versions of Outlook 2021/2019/2016/2013 and Outlook for Microsoft 365).
- Check Search Indexing Status in Outlook
- Enable Outlook Indexing by Windows Search Service
- How to Rebuild/Reset Outlook Search Index
- Check and Repair Outlook PST Files
- Outlook Search and Cached Exchange Mode
- Outlook: Unable to Search in Exchange Shared Mailboxes
- Outlook Search Not Showing Results After Installing Updates on Windows 10 and 11
- Other Solutions to Fix Outlook Search
Check Search Indexing Status in Outlook
Outlook Search is powered by the Windows Indexing Service. To perform a search, Windows Search must scan the contents of the mailbox and connected PST files, and build an index of all available Outlook items. Therefore, the first step is to check the status of the Outlook index.
To do it, go to the Search tab, and select Indexing Status in the Search Tools section.
If the indexing is OK, you will see the following status in the next window:
0 items remaining to be indexed.
However, if there are any search problems, the status will be different:
23817 items remaining to be indexed
The Outlook search index is rebuilt when you add a new mailbox or Outlook Personal Folder (PST) file, move emails between folders, etc. If you have recently (up to 3-4 hours) performed these operations, you need to wait until indexing is complete. If you haven’t made significant configuration changes in Outlook for a long time and indexing is still ongoing, then the problem with the Outlook index is obvious.
Enable Outlook Indexing by Windows Search Service
To solve the problem, you should temporarily exclude Outlook from items that are scanned by the Windows Indexing Service. To do it:
- In Outlook, open File -> Settings;
- Select Search -> Indexing Options;
- Click Change
- Disable the indexing for Microsoft Outlook;
- Close Outlook, and using the Process Manager, make sure there is no
outlook.exe
process running on your computer.
In the properties of Outlook OST and PST files, make sure that their indexing is allowed (it is worth doing regardless of their indexing being already enabled in Windows Search Service settings). To do it:
- Open File -> Account Settings -> Account Settings;
- Go to the Data Files tab;
- Select files one by one and click Open file location;
- Right-click the OST or PST file you need and select its properties;
- Click Other;
- Check the box Allow this file to have context indexed in addition to file properties -> click OK.
Open an elevated PowerShell console and restart the WSearch service:
Restart-Service -Name wsearch –verbose
Now you need to enable Outlook Indexing in Search Settings, which was previously disabled. Check Microsoft Outlook in the indexing options and save the changes.
Give Outlook some time to complete the full indexing (it depends on the number and size of mailboxes and connected PST files). Check Outlook index status as shown above and try to search for something.
How to Rebuild/Reset Outlook Search Index
If the Outlook search problem persists, it is recommended to completely reset and rebuild the index of the Windows Search service. To do it:
- In Outlook, go to File -> Settings -> Search;
- Click Indexing Options -> Advanced;
- Click Rebuild;
- It may take some time to rebuild the index and the performance of your computer may be temporarily degraded.
Check and Repair Outlook PST Files
In some cases, the indexing service is not able to index Outlook personal folder files (PST) due to logical errors or corruption of their structure. It is recommended to check and repair corrupted PST files using scanpst.exe.
Outlook Search and Cached Exchange Mode
In this section, we’ll take a look at how Outlook search works if your mailbox is located on an Exchange server or Exchange Online (Microsoft 365). If Cached Exchange Mode is enabled in Outlook, the local index on your computer is used to search items. If Cached Exchange Mode is disabled, the mailbox-side index (maintained by Microsoft Exchange Search Indexer) is used for mailbox searches.
The MSExchangeSearch service indexes an email message as soon as it gets into the mailbox database on the server. If your Outlook doesn’t search your mailbox when using the Exchange Search Index, the problem is most likely with the Exchange server. The Test-ExchangeSearch
cmdlet is used to diagnose problems with the Exchange Search service.
The most common problem is that the disk has run out (not enough space to increase the size of the search index), or the current index file has been damaged and needs to be rebuilt. You can use the built-in PowerShell script to reset the search index in Exchange %PROGRAMFILES%\Microsoft\Exchange Server\V14\Scripts\ResetSearchIndex.ps1.
To reset the search index for a specific mailbox database, use the command:
.\ResetSearchIndex.ps1 mailboxdbname1
Also, check if indexing is enabled for the problem mailbox database:
Get-MailboxDatabase mailboxdbname1 | Format-Table Name,IndexEnabled
Outlook: Unable to Search in Exchange Shared Mailboxes
The Fast Search feature is enabled by default in all on-premises Exchange Server versions starting with Exchange 2016. In some cases, Exchange Fast Search doesn’t work properly on shared mailboxes that are connected in Outlook. In this case, when searching for emails in the shared mailbox, you will see an Outlook warning:
We're having trouble fetching results from the server. Some items may not be included in your search results.
You can prevent Outlook from using Exchange Fast Search. To do this, create a DWORD registry parameter DisableServerAssistedSearch = 1
under the key HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Search (for Outlook 2016 and Outlook 2019).
You can create a registry parameter using PowerShell:
New-ItemProperty -path "HKCU:\Software\Microsoft\Office\16.0\Outlook\Search" -Name DisableServerAssistedSearch -PropertyType "DWORD" -Value "1"
Reboot Windows.
Outlook Search Not Showing Results After Installing Updates on Windows 10 and 11
After installing security updates on Windows 10 and 11 in December 2021, Outlook’s search for recent emails stopped working. The issue occurs with both Exchange and Microsoft 365 mailboxes.
Search performance will be impacted because of a problem with how Outlook search is configured.
The problem appeared after installing the following updates:
- Windows 10 21H2 and 21H1 – KB5008212
- Windows 11 – KB5008215
Microsoft partially fixed this bug in update KB5009543 for Windows 10 (2022-01). However, this patch doesn’t always help.
To repair the Outlook Search, you can temporarily uninstall the latest Windows update:
wusa /uninstall /kb:5008212
Or, as advised by Microsoft, you can temporarily disable the use of the Windows Desktop Search indexing service in Outlook. To do this, create a registry parameter PreventIndexingOutlook with a value of 1.
New-ItemProperty -path "HKCU:\Software\Microsoft\Office\16.0\Outlook\Search" -Name DisableServerAssistedSearch -PropertyType "DWORD" -Value "1"
When you restart your computer, Outlook will use its search feature to search mailboxes and PST files. When searching in Outlook in this mode, a warning will appear:
Search performance will be impacted because a group policy has turned off the Windows Search service.
The main disadvantage is that Outlook search will be much slower. Therefore, when Microsoft fixes this bug in one of the upcoming updates, you will need to remove this registry parameter.
Other Solutions to Fix Outlook Search
What else can you check if Outlook search is not working or returning incomplete results?
- From the Outlook menu, select Search Tools -> Locations to Search. Make sure all mailboxes and PST files are selected for search;
- Make sure that the PreventIndexingOutlook = 1 parameter is missing in the registry key “HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search”. This parameter disables Outlook indexing by the Windows Search service. It corresponds to the policy “Prevent indexing Microsoft Office Outlook” under GPO Computer Configuration -> Administrative Templates -> Windows Components -> Search;If you are using MS Office Administrative Templates in the GPO, make sure the parameters in these policies don’t change the default Outlook search settings.
- In the Outlook settings (File -> Options -> Search) disable the option Improve search speed by limiting the number of results shown;
- Disable third-party Outlook extensions (File -> Options -> Add-ins);
- Reinstall Outlook using the Repair function of the MS Office installation MSI package (Office 365 has a convenient Quick Repair function);
- Use the Windows 10 built-in Search Troubleshooter. To start the tool, run the command:
msdt.exe -ep SystemSettings_Troubleshoot_L2 -id SearchDiagnostic
- You may also find a similar article useful: “How to fix search problems in Windows 10?”
4 comments
If you are using Exchange mailbox, the local index will only be used if Outlook is running in cached mode. Otherwise, the Exchange server index will be used.
If the search does not work when the cached mode is disabled, it is obvious that the problem on the side of the Exchange server with the MSExchangeSearch service or its index.
After trying almost everything in order to make Search working in Outlook 2016 (rebuild indexes, reinstall office etc.) I found a Microsoft Issue on https://goo.gl/LMrd2d plus a workaround.
By disabling Windows Search in Computer Management/Services (click on it and set Startup type to Disabled) Outlook 2016 will be forced to use it’s own built-in search machine instead of the system general seach indexer. It will make the search a bit slower, but it is working fine now.
None of the options found on the internet such as setting View>Show as Conversation, repair pst (the repaired files are again shown to need repair!), set indexing properties to pst files, enable/disable Outlook index, rebuild Windows indexing, work.
My index searches show anything 2017 and earlier. However… I noticed that after archiving stuff in a 2018 archiving pst file (rather than outlook – today), those files and emails do show up in the list.
It is just Outlook-today that keeps not working!
In my Outlook, there is no “File > Settings”?