Fix: Advanced Search Fields in Microsoft Outlook are Disabled or “Grayed Out”

Group policy is a feature in the Microsoft Windows operating system that allows administrators to set rules and privileges for users on a network. One of its abilities is to disable indexing of files on your hard drive, which can be done for security or performance purposes.

A common problem that can occur when indexing gets disabled is that you can no longer perform advanced email searches in Microsoft Outlook. The result is that when you click the down arrows next to the Search All Mail Items field, the fields for From, Body, Subject, and To will be disabled and inaccessible (they will also appear gray).



Enabling Outlook Indexing

To fix this problem, you don’t need to enable indexing for the entire hard drive, just for Microsoft Outlook emails.

Step 1: Open the Registry Editor application. This can be done in two ways:

Option 1: Open the Start menu, select Run, and enter regedit then press enter, or

imageOption 2: Open the Start menu and type regedit in the Search programs and files field (available in Windows Vista/7 only).


Step 2: In the Registry Editor, click the Edit menu and select Find. Type PreventIndexingOutlook in the search field and click Find Next.


Locate the PreventIndexingOutlook key in the list on the right.


Step 3: Right click PreventIndexingOutlook and select Modify. Change its Value data to 0 and click OK.


Step 4: Search again by clicking the Edit menu and select Find. Type SetupCompletedSuccessfully in the search field and click Find Next. Locate this key.

(You can optionally navigate to HKEY Local Machine/Software/Microsoft/Windows Search and locate the key).


Step 5: Right click the SetupCompletedSuccessfully key and select Modify. Change its Value Data to 0 and click OK.

Step 6: Restart your computer and you will now be able to perform advanced searches in Microsoft Outlook.







8 responses to “Fix: Advanced Search Fields in Microsoft Outlook are Disabled or “Grayed Out””

  1. Derek Dahlen Avatar

    Better option: Use Xobni.

    1. Evan Wondrasek Avatar

      Funny you mentioned that! The first thing I did after experiencing this problem was to install Xobni (I tried it a few years ago when it was still relatively new).

      It didn’t solve my problem though because you have to pay for Xobni plus to get advanced search capabilities:

  2. Isaacbro Avatar

    A search for both terms yielded no results. I am using XP SP3 and outlook 2007, any tips?

  3. Ahem Avatar

    Win7 x64, Outlook 2007. not results for “PreventIndexingOutlook”. Could you just mention the path inside the registry?

  4. Ahem Avatar

    HKLM/Software/ Policies/ Microsoft/Windows/Windows Search

    PreventIndexingOutlook set to 0

    HKLM/Software/Microsoft/Windows Search

    SetupCompletedSuccessfully to 1

  5. Zul Azri Avatar
    Zul Azri

    ive tried the steps given but can’t find the there any other option?

  6. Robert Randall Avatar
    Robert Randall

    You forgot to mention that Windows Search must be installed and running. Without Windows Search (a Windows feature, not a Program) Outlook indexing is not available.

  7. Chad Michael Avatar

    Also not able to find the search terms in the registry. Oh well.

Leave a Reply