Microsoft Exchange FastSearch Error: Could not find registry value of Index Status for database


Problem:    The context index of an Exchange 2013 Database is in an Unknown status.  This may appear for one or all databases on a server. In the event log, you see a number of MSExchangeFastSearch 1010 and 1006 errors.

MSExchangeFastSearch-1010
MSExchangeFastSearch-1006

Solution:

The obvious may be to restart the Microsoft Exchange Search and Microsoft Exchange Search Host Controller services or reboot the server during a maintenance window. You can certainly try that but that will not fix this issue described in this post.

SearchServices

Although there may be many reasons for this issue, all other solutions are well documented on the web, i.e ContentSubmitters Security Group, Stop Search Services, Rename Index Folder and Start Search services.  Let me save you countless of hours racking your brain trying to fix this problem.

The only way to really know what is going on, is to check the status of the database and review the event logs.
To get more information on the issue, run [copy]get-mailboxdatabasecopy” | fl content*[/copy]

The output will show you the actual error and if it looks like this,Could not find registry value of Index Status for Database” you are in luck!

Complete the following to resolve.  Make sure you have a backup of your server and proceed at your own risk.

  1. Browse to the registry key. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\v15\Search\IndexStatus.
  2. Check to see if any of the mailbox database keys exist.  They will be labeled by GUID.
  3. Is the time stamp being updated for any of the keys.  Keep in mind, the default is GMT time.

IndexStatus

If the registry keys do not exist and/or some of them are not updated, you have a HUGE c:\windows\temp folder.

  1. Open cmd as administrator
  2. Run [copy]del c:\windows\temp\* /Q /S[/copy]
  3. Once the delete completes, restart both of the exchange search services.
  4. Wait 10-15 minutes and run a [copy]get-mailboxdatabasecopystatus[/copy] and the Content Index State should be something other than unknown.  If will likely Healthy or Crawling.ContentIndexState

This should get your indexing back in order and users happy!

Search:

10 Signs Your IT Support
is Reactive, Not Proactive

Download our exclusive eBook to learn how your business can benefit from proactive IT support.