Excluding folders from Vista search index

On Vista, we want to remove Outlook from the list of folders in the Indexing Options list so that it does not run searchindexer based on changes to Outlook data files.

We can perform this manually by going through Control Panel/indexing Options and removing the folder from the list.

We want to configure this transparently to the user, so we want to do this programmatically.

Can anyone point us to the APIs and Help to do so. Tips would also be greatly appreciated.

Thanks for your time.



Answer this question

Excluding folders from Vista search index

  • DevDells

    There's a Group Policy to do this called "Prevent indexing Microsoft Office Outlook". You can get to it through the GP editor in Administrative Templates -> Windows Components -> Search.

    Let me know if this helps,

    Dave Wood


  • Excluding folders from Vista search index