Error in installing Microsoft Exchange 2019 in Mailbox Role : Transport Service Step

Hadi Ramezani 0 Reputation points
2023-08-14T12:44:58.8766667+00:00

I have two exchange servers in my domain which are in a DAG. Now I want to install another exchange But I got error which says that can not start MSExchange Service Host (it stuck in starting while the type is a automatic). In this case I neither can Uninstall the exchange in third server because it says I have uncompleted install nor I can finish the installation because of this error. I do all prerequist which are necessary for installation and also al exchanges in domain are exchange 2019 CU13. I am posting a picture of the error I get during the installation :

Error:
The following error was generated when "$error.Clear();
if (get-service MSExchangeServiceHost* | where {$_.name -eq "MSExchangeServiceHost"})
{
restart-service MSExchangeServiceHost
}
" was run: "Microsoft.PowerShell.Commands.ServiceCommandException: Failed to start service 'Microsoft Exchange Service Host (MSExchangeServiceHost)'.".

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,856 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Aholic Liang-MSFT 13,876 Reputation points Microsoft External Staff
    2023-08-15T06:02:09.3533333+00:00

    Hi @ Hadi Ramezani,

    Based on your description, we know that this service has set the startup type to Automatic and still fails.

    Therefore, I recommend that you manually restart this service and see if it installs successfully. The specific steps are as follows:

    Restart the server.

    Run Exchange Server Setup.exe .

    When you perform the steps that require restarting the MSExchangeServiceHost service, manually restart the service through service.msc.

    If you cannot manually start the MSExchangeServiceHost service, please check the application log in the event viewer to see if there are any error.

    Maybe you can share the screenshot after removing all privacy information like domain name and email addresses.

    Thank you for your understanding!


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Amit Singh 5,231 Reputation points
    2023-08-16T06:21:11.9866667+00:00

    I have seen this issue while installing Exchange Server 2019 before, and I solved this by using the below steps. 

    • Re-run setup.exe /upgrade command line as admin
    • Also changed the services from disabled to automatic prior. 
    • After that, install a new certificate for EAC and re-run the HCW.

    Please Note: Since the web sites are not hosted by Microsoft, the links may change without notice. Microsoft does not guarantee the accuracy of this information.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.