Pages

12 September 2013

Re-index Mailbox Database

Users may report that searching Outlook for non-cached or online mode mailboxes isn’t getting the right results or not returning results past a certain date. Also OWA may return “The action couldn’t be completed.  Try again later.” when trying to search. You need to reindex your mailbox database(s). 
1. Run Repair-ExchangeSearchSymLinks.ps1. It isn’t included in the normal scripts folder under the Exchange program files. View source
 
You can get it from Microsoft here me and place it in the Exchange Server\V14\Scripts folder. Open Exchange Management Shell (remember you might need to run EMS elevated and run Set-ExecutionPolicy Unrestricted first), change path to the scripts folder then run:
 
.\Repair-ExchangeSearchSymLinks.ps1
 
After this you can run the test-exchangesearch script in the scripts directory
to verify the installation.
 
2. Next run the ResetSearchIndex.ps1 script, this one is included in the Exchange program files scripts folder so no need to download. You can run it against a specific database or against all of them as per the commands below:
 
.\ResetSearchIndex.ps1 -All .\ResetSearchIndex.ps1 databasename
 
You should see event id 109 for each database stating that an index has been created and sometime later event id 110 for each database as the indexing finishes.
 
Source
Alternate source

No comments:

Post a Comment