skip to Main Content

Repair failed content index in Exchange

You have a database showing as failed content index in Exchange Server. It can be one or more databases. In this article, you will learn how to repair failed content index in Exchange Server. Good to know is that when you repair a failed content index in Exchange Server, it can cause high CPU utilization on the Exchange Server. It’s important to enable the search indexing after working hours or at an off-peak time as it can impact performance.

Status of the content index

Let’s get the status of the content indexing. Run Exchange Management Shell as administrator. Run the following command.

You will see one of the following outputs. The database DB13-2016 ContentIndexState is showing Failed or FailedAndSuspended. Let’s rebuild the index.

Stop the services

Stop the services first by running the two commands.

We can stop both services with a one-liner.

Both the services stopped. Proceed with the next steps.

Identify database and remove indexing folder

If you know the database location, go to that folder in Windows Explorer. If you don’t know, you can run the following command. It will show the database folder path.

Go to the folder F:\DB13-2016\ in Windows Explorer. Delete the Global Unique Identifier (GUID) folder.

Repair failed content index in Exchange delete index folder

The next step is to start the services.

Start the services

Start both the services with the first two commands or use the third command as a one-liner.

Both the services started. It will create a new GUID folder in the directory F:\DB13-2016\.

Check the status of the indexing

Give it a few minutes before checking the status. Run the following command.

Database DB13-2016 Content Index State is showing that it is Crawling. It can take some time before it finishes the crawling. Do you like to have an estimate of the mailboxes remaining? Read more on how to monitor Exchange database index state crawling. After it finishes the crawling, it will change to a Healthy state. The FailedAndSuspended will also change to a Healthy state.

Conclusion

In this article, you learned how to repair failed content index in Exchange Server. It’s important to repair the search indexing after working hours or at an off-peak time as it can impact performance. If you enjoyed this article, you may also like Outlook keeps asking for password after migration. Don’t forget to follow us and share this article.

ALI TAJRAN

ALI TAJRAN

ALI TAJRAN is a passionate IT Architect, IT Consultant, and Microsoft Certified Trainer. He started Information Technology at a very young age, and his goal is to teach and inspire others. Read more »

This Post Has 0 Comments

Leave a Reply

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

Back To Top