Exchange 2010 Search Reset Search Index

Exchange 2010 has a built in search feature which allows you to quickly search for emails in your mailbox using OWA, Exchange ActiveSync, Outlook (in the Online mode) etc.
Exchange 2010 search indexes items as soon as they are received by the Mailbox Database.
While this feature works well, if you just transitioned from Exchange 2003 to 2010, Exchange may not index items brought over from the Exchange 2003 server to the Exchange 2010 server. You may find that users using Exchange search may have issues searching for items that were in their mailbox before the transition. For example, you will not be able to find a pre-transition item using instant search but will be able to find them using ‘Advanced Find’ in Outlook.


To fix this issue, you will have to reset the search index to force the Exchange Search service to index all items in the Mailbox Database including items that were moved to the database from Exchange 2003.

To reset the search index, open up the Exchange Management Shell navigate to %PROGRAMFILES%\Microsoft\Exchange Server\V14\Scripts and then run the following command:

.\ResetSearchIndex.ps1 -force -all

You should see output that resembles the following:

WARNING: Waiting for service 'Microsoft Exchange Search Indexer (MSExchangeSearch)' to finish stopping...
MSExchangeSearch service stopped
Deleting catalog for Mailbox Database
removing: D:\Exchange Server\Maillbox\catalogdata-aeedd3ff-5317-4a9f-a37a-cb6eb8bbd2d5-8c570432-03e7-4fc0-8019-f90cd327
c953

MSExchangeSearch service Started

To verify that the rebuilding of the index has completed do the following:

  1. Add this counter to Perfmon: MSExchange Search Indices\Full Crawl Mode Status. This counter will be 0 before running ResetSearchIndex, go to 1 during the full crawl and then back to 0 after ResetSearchIndex completes.
  2. You will receive MSExchange Search Indexer Event ID 109 when the full crawl begins.
  3. You will receive MSExchange Search Indexer Event ID 110 when the full crawl ends.

You should now be able to search for pre-transition items using Exchange search.

5 thoughts on “Exchange 2010 Search Reset Search Index

  1. Worked for us. Thanks!
    Microsoft sbs 2011 with exchange 2010 sp1
    Solved the following errors:
    Faulting application name: msftesql.exe, version: 14.0.4999.1048, time stamp: 0x4c081084
    Faulting module name: MSFTE.DLL, version: 14.0.4999.1048, time stamp: 0x4c081021
    Exception code: 0xc0000005
    Fault offset: 0x00000000000f2233
    Faulting process id: 0x1ae0
    Faulting application start time: 0x01ceb3a1c5f742aa
    Faulting application path: C:\Program Files\Microsoft\Exchange Server\V14\Bin\msftesql.exe
    Faulting module path: C:\Program Files\Microsoft\Exchange Server\V14\Bin\MSFTE.DLL

    The system exception c0000005 was raised at 000007FEE7AB2233. Stack:

    Exchange Search Indexer service has exited due to the following error: (HResult)(0x800706BE)

  2. Thx for this aritcle.
    Had this issue after migrating from sbs 2003 to sbs 2011.
    This advice worked for me.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>