🖥️
An Investment in Knowledge
  • An Investment in Knowledge
  • Microsoft Windows
    • CMD: Disable Windows 10 Reset
    • CMD: Fix Windows Key Activations
    • CMD: FSMO Role Transfer
    • De-Bloat Windows 10
    • Important Links
    • Microsoft Exchange Server Search Index Rebuild
    • PowerShell: Export Active Directory Group Members
    • Registry: Mapped Drives Don't Appear
    • Robocopy
    • SYSVOL Migration to DFRS
  • Microsoft 365
    • Export Shared Mailbox Permissions
    • Change Microsoft 365 Update Channel
  • Apple MacOS
    • Terminal Commands
  • Linux
  • Raspberry Pi
    • pi-Hole
    • Weather Station
    • Wardriving Kali Linux
    • Raspbian Tweaks
  • Data Privacy Restoration Journey
    • Bitwarden
    • Nextcloud
    • openHAB
Powered by GitBook
On this page

Was this helpful?

  1. Microsoft Windows

Microsoft Exchange Server Search Index Rebuild

When an entire office can no longer search their emails due to lack of network connection (so the error message says), the Database Index may be corrupt.

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

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.

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

PreviousImportant LinksNextPowerShell: Export Active Directory Group Members

Last updated 5 years ago

Was this helpful?