open cli and input this command:
Get-MailboxDatabaseCopyStatus *|sortname|Selectname,status,contentindexstate
![](http://marcoschiavon.net/wp-content/uploads/2018/07/Screen-Shot-2018-07-04-at-18.51.52.jpg)
stop these services:
Stop-Service MSExchangeFastSearch
Stop-Service HostControllerService
![](http://marcoschiavon.net/wp-content/uploads/2018/07/Screen-Shot-2018-07-04-at-18.53.46.jpg)
locate the path of the db :
Get-MailboxDatabase
Get-MailboxDatabaseDB01\SRVCOM |selectEdbFilePath
![](http://marcoschiavon.net/wp-content/uploads/2018/07/Screen-Shot-2018-07-04-at-18.55.44.jpg)
delete the GUID folder :
![](http://marcoschiavon.net/wp-content/uploads/2018/07/Screen-Shot-2018-07-04-at-18.58.05.jpg)
now restart the services
start-Service MSExchangeFastSearch
start-Service HostControllerService
and issue this command Get-MailboxDatabaseCopyStatus * | sort name | Select name,status,contentindexstate
![](http://marcoschiavon.net/wp-content/uploads/2018/07/Screen-Shot-2018-07-04-at-19.03.48.jpg)
As you see, the indexing process is restarted and we need to waiting that switch to healthy
That’s it!