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.