Exchange 2019 install

Chad Wetli 1 Reputation point

I spun up a vmware 2019 server and I'm trying to do a very simple install of Exchange 2019. I had requirements that I fulfilled to get the installer going. When it gets to the step Mailbox role: Transport service, it stops with an Error code. I have no idea, so I'm asking for help. Here is the code:

The following error was generated when "$error.Clear();
$maxWait = New-TimeSpan -Minutes 8
$timeout = Get-Date;
$timeout = $timeout.Add($maxWait);
$currTime = Get-Date;
$successfullySetConfigDC = $false;

      while($currTime -le $timeout)
        $setSharedCDCErrors = @();
          Set-SharedConfigDC -DomainController $RoleDomainController -ErrorVariable setSharedCDCErrors -ErrorAction SilentlyContinue;
          $successfullySetConfigDC = ($setSharedCDCErrors.Count -eq 0);

          Write-ExchangeSetupLog -Info ("An error ocurred while setting shared config DC. Error: " + $setSharedCDCErrors[0]);
          Write-ExchangeSetupLog -Info ("An exception ocurred while setting shared config DC. Exception: " + $_.Exception.Message);

        Write-ExchangeSetupLog -Info ("Waiting 30 seconds before attempting again.");
        Start-Sleep -Seconds 30;
        $currTime = Get-Date;

      if( -not $successfullySetConfigDC)
        Write-ExchangeSetupLog -Error "Unable to set shared config DC.";
    " was run: "System.Exception: Unable to set shared config DC.

at Microsoft.Exchange.Configuration.Tasks.Task.ThrowError(Exception exception, ErrorCategory errorCategory, Object target, String helpUrl)
at Microsoft.Exchange.Management.Deployment.WriteExchangeSetupLog.InternalProcessRecord()
at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__91_1()
at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)".

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.
6,317 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Andy David - MVP 115.3K Reputation points MVP

    See this old post:

    Solution: Added the group “<domain>\Exchange Servers” to the user right assignment “Manage auditing and security log” on the custom GPO with the higher Link Order (precedence) and Exchange installed just fine after performing GPUpdate on the Domain Controllers.