[TSHOOT] – Exchange 2013 : Get-ServerHealth “Unknown”, Components “Inactive”

0
2334
Exchange logo

We wanted to test the new release Exchange Server 2016 Preview. Unfortunately it is not possible to install it on an existing server with an older version of Exchange! So, I broke everything and our server could not send emails, even internally!

After some hours minutes of searching, I was able to diagnose two things, thanks to these commands:

1. Server health status is “Unknown”

Get-HealthReport -Identity ServerName

Result of command Get-HealthReport

Get-ServerHealth -Identity ServerName

Result of command Get-ServerHealth

 

2. Server Components state are “Inactive”

Get-ServerComponentState -Identity ServerName

Result of command Get-ServerComponentState

 

To resolve this issue, simply:

1. Delete a registry key

  • Run : regedit
  • Search registry key :
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\v15\Transport\LogSearch\Watermark
  • Save this key
  • Delete this key

 

2. “Repair” MBX and HUN transport roles

  • Extract Exchange iso
  • Open powershell command line, and run these two commands :
F:\setup.exe /prepareAD /IAcceptExchangeServerLicenseTerms

Result of command repair install

F:\setup.exe /m:upgrade /IAcceptExchangeServerLicenseTerms

Result of command repair install_2

 

You should now find yourself in an operational configuration. To check him in the following 2 commands:

Get-ServerComponentState -Identity ServerName

Result of command after repair Get-ServerComponentState

Get-HealthReport -Identity ServerName

Result of command after repair Get-HealthReport

LAISSER UN COMMENTAIRE

Please enter your comment!
Please enter your name here