Outlook search shows nothing? Fix 0x80041201 by rebuilding the index
Outlook search returning zero results usually means Windows Search index is corrupted. Rebuild the index and it'll work again.
You search for an email in Outlook and get nothing. Not even a single result. Been there. The fix is almost always the same: the Windows Search index is corrupted, and you need to rebuild it.
The fix: rebuild the Windows Search index
- Close Outlook completely.
- Open Control Panel → Indexing Options. (Quick way: hit Win+R, type
control srchadmin.dll, press Enter.) - Click Advanced (needs admin rights – say yes to the UAC prompt).
- Under Troubleshooting, click Rebuild. A dialog warns this can take a while. Click OK.
- Wait. The rebuild repopulates the index from scratch. On a typical machine with 10-50 GB of email, expect 30–90 minutes. You can use Outlook during this time, but search will be incomplete until the index finishes.
- After the rebuild, restart Outlook. Try searching again.
Why this works
The error code 0x80041201 maps to WIDL_INVALID_VALUE in the Windows Search internals. What's actually happening here is that the index database has hit a corrupt entry – maybe from a malformed attachment, a stuck sync, or an abrupt shutdown. The indexer can't read that entry and gives up on the whole query, returning zero results.
The reason step 4 works is that rebuilding discards the old database entirely and creates a fresh one. Every file and email is re-parsed and re-indexed from the source data. The corruption vanishes because it was only in the index, not in the original files or PST/OST.
When the rebuild doesn't fix it
Rare, but possible. Try these in order:
1. Check the indexing scope
Open Indexing Options and make sure Microsoft Outlook is listed under Included Locations. If it isn't, click Modify and tick the checkbox for Outlook. This can happen after an Office update that resets the search configuration.
2. Repair the Outlook profile
Run the inbox repair tool: locate scanpst.exe in your Office install folder (e.g., C:\Program Files (x86)\Microsoft Office\root\Office16\). Point it at your OST file – typically in %localappdata%\Microsoft\Outlook. A corrupted OST can cause the indexer to trip up repeatedly.
3. Disable and re-enable Windows Search
net stop wsearch
net start wsearch
Run from an elevated command prompt (Win+X → Terminal (Admin)). Then rebuild the index again. This clears any stuck search service state.
4. Check for conflicting add-ins
Some antivirus or email archival tools hook into the MAPI subsystem and interfere with indexing. Temporarily disable third-party add-ins in Outlook: File → Options → Add-ins → Manage COM Add-ins → untick everything → restart. If search works, re-enable one by one to find the culprit.
Prevention: keep the index healthy
You can't avoid every corrupt entry – that's life with a decade-old search engine. But two things help:
- Keep Outlook closed when you shut down Windows. The indexer can flush cleanly if the OST isn't mid-sync.
- Trim oversized PSTs. Single files over 20 GB stress the indexer's memory limits. Archive old mail to a separate PST or use an Exchange online archive.
- Run the inbox repair tool quarterly.
scanpst.execatches OST corruption before it spreads to the search index.
That's it. Rebuild the index, and you'll have search results back faster than you'd expect. Skip the calls to Microsoft support – this is a known pattern going back to Windows 7.
Was this solution helpful?