When you search for emails with attachments in Outlook, the built-in Has Attachments filter may not appear in the search results or the search bar. This problem typically occurs after a Windows update changes the search provider or when the Outlook search index becomes out of sync. This article explains why the attachments filter disappears and provides step-by-step fixes to restore it.
You will learn how to repair the search index, switch the search scope, and reset Outlook search settings. These methods work for Outlook 2016, 2019, 2021, and Microsoft 365 on Windows 10 and Windows 11.
Key Takeaways: Restoring the Attachments Filter in Outlook Search
- File > Options > Search > Indexing Options > Advanced > Rebuild: Forces Windows Search to reindex all Outlook items, which restores missing search filters including the attachments filter.
- Ctrl+E then switch scope to All Mailboxes: Expands the search scope so the attachments filter appears for searches across all folders.
- Registry edit to enable classic search (Outlook 2016 only): Restores the legacy search bar where the attachments filter always remains visible.
Why the Attachments Filter Disappears in Outlook Search
Outlook relies on the Windows Search index to power its search features. When the index becomes corrupted or incomplete, search filters like Has Attachments may stop appearing in the search results or the search bar itself. This often happens after a Windows 10 or Windows 11 feature update replaces the search index or after Outlook is updated.
Another cause is the search scope. If you are searching only the current folder, Outlook hides some advanced filters because the scope is too narrow. The attachments filter requires a broader scope such as All Mailboxes or All Outlook Items.
In older versions of Outlook 2016, Microsoft switched the default search bar to a modern version that sometimes omits the attachments filter. A registry edit restores the classic search bar which always includes the filter.
Steps to Restore the Attachments Filter in Outlook Search
Follow these methods in the order listed. Test after each method by pressing Ctrl+E and typing a search term, then looking for the Has Attachments filter in the Search tab of the ribbon.
Method 1: Rebuild the Windows Search Index
- Open Outlook and go to File > Options
In Outlook, click File in the top-left corner, then click Options at the bottom of the left pane. - Navigate to Search settings
In the Outlook Options window, click Search in the left sidebar. - Open Indexing Options
Under the Sources section, click the button labeled Indexing Options. - Click Advanced
In the Indexing Options dialog, click the Advanced button at the bottom. - Click Rebuild
Under Troubleshooting, click the Rebuild button. A confirmation prompt appears. Click OK to start rebuilding the index. This process can take several hours for large mailboxes. Leave Outlook and your computer on during the rebuild. - Verify the filter appears
After the rebuild completes, restart Outlook. Press Ctrl+E, type any search term, and check if the Has Attachments filter is available in the Search tab.
Method 2: Change Search Scope to All Mailboxes
- Open Outlook and press Ctrl+E
This places the cursor in the search bar at the top of the message list. - Click the Search tab in the ribbon
The Search tab appears in the ribbon when the search bar is active. - Select All Mailboxes
In the Scope group, click All Mailboxes. This expands the search to include all folders and often makes the attachments filter appear. - Type a search term
Type a word or phrase. The Has Attachments filter should now appear in the Refine group of the Search tab. If it does not, proceed to Method 3.
Method 3: Reset Outlook Search Settings via Registry (Outlook 2016 Only)
This method applies only to Outlook 2016 volume-licensed versions. For Outlook 2019, 2021, or Microsoft 365, skip this method and try Method 4 instead.
- Close Outlook completely
Make sure Outlook is not running. Check Task Manager if needed. - Open Registry Editor
Press Windows+R, type regedit, and press Enter. Click Yes if prompted by User Account Control. - Navigate to the Outlook Search key
Go to:HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Search - Create a DWORD value
Right-click the Search key, select New > DWORD (32-bit) Value. Name it DisableSearchProvider. - Set the value to 1
Double-click DisableSearchProvider, set Value data to 1, and click OK. - Restart Outlook
Open Outlook. The classic search bar appears. Press Ctrl+E, type a search term, and the Has Attachments filter will be visible in the Search tab.
Method 4: Repair Microsoft Office
- Close all Office applications
Close Outlook, Word, Excel, and any other Office programs. - Open Programs and Features
Press Windows+R, type appwiz.cpl, and press Enter. - Select Microsoft 365 or Office
In the list, find your Microsoft 365 or Office entry. Right-click it and select Change. - Choose Quick Repair
In the repair window, select Quick Repair and click Repair. Follow the on-screen prompts. If the attachments filter is still missing after the quick repair, repeat the process and choose Online Repair. - Restart Outlook and test
After the repair completes, restart Outlook and check if the attachments filter appears.
If Outlook Still Has Issues After the Main Fix
Outlook Search Returns No Results at All
If search returns zero results even when you know the email exists, the search index may be corrupt. Run the Windows Search troubleshooter. Go to Settings > Update & Security > Troubleshoot > Additional troubleshooters > Search and Indexing. Run the troubleshooter and apply any fixes it suggests. Then rebuild the index using Method 1.
Attachments Filter Is Grayed Out or Unclickable
This occurs when the search scope is set to Current Folder and the folder contains no items with attachments. Change the scope to All Mailboxes using Method 2. If the filter remains grayed out, rebuild the search index.
Outlook 2016 Classic Search Bar Does Not Appear After Registry Edit
The registry edit in Method 3 only works for volume-licensed versions of Outlook 2016. If you have a retail version or a Microsoft 365 subscription, the DisableSearchProvider value has no effect. Use Method 2 or Method 4 instead.
Search Scope vs Index Rebuild: Key Differences
| Item | Change Search Scope | Rebuild Search Index |
|---|---|---|
| What it does | Expands the search to include all folders and mailboxes | Deletes and recreates the entire Windows Search index for Outlook |
| Time required | Instant | 30 minutes to several hours depending on mailbox size |
| Effect on attachments filter | Makes the filter appear if the scope was too narrow | Restores all missing filters including attachments |
| Risk of data loss | None | None |
The attachments filter in Outlook search depends on a healthy search index and a broad search scope. Rebuilding the index is the most thorough fix. Changing the search scope is the fastest test. Use the registry edit only for Outlook 2016 volume-licensed versions where the modern search bar is missing the filter entirely.
After applying the correct fix, press Ctrl+E and click the Has Attachments filter to locate emails with files attached. For recurring issues, keep Outlook and Windows fully updated, and run the Search and Indexing troubleshooter monthly to prevent index corruption.