# Microsoft Exchange Server Search Index Rebuild

In the Exchange Management Shell, run the following command:

```
> Get-MailboxDatabaseCopyStatus * | sort name | Select name,status,contentindexstate
```

If it shows failed, disabled, or some other negative status, the following steps will be required.

1. Stop these two services:
   1. HostControllerService
   2. MSExchangeFastSearch
2. Locate the Index Catalog
   1. Could be on C:\\, or it could be on another data drive.
   2. The format of the directory will look like this:
      1. C:\\-\\-\Mailbox Database 00657134726\_Catalog\STRING OF NUMBERS.Number.Single
   3. Rename this directory to .OLD
3. Restart the two services above
4. A new Index Catalog will be created and the database will start to index

{% hint style="info" %}
It may take up to 24 hours for the Index Catalog to complete, sometimes less, sometimes longer. It is wholly dependent on the size of the database.
{% endhint %}

Use the PowerShell command at the top to check the status of the index.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.bryanpcoleman.com/microsoft-windows/microsoft-exchange-server-search-index-rebuild.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
