Error while installing Exchange Server 2016 in my Windows Server 2016.

Fernando Godinez 1 Reputation point

****A Setup failure previously occurred while installing the HubTransportRole role. Either run Setup again for just this role, or remove the role using Control
For more information, visit:

The Exchange Server setup operation didn't complete. More details can be found in ExchangeSetup.log located in the <SystemDrive>:\ExchangeSetupLogs folder***
Has anyone seen this error?
Anyone help would be appreciated.

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,383 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Manu Philip 16,991 Reputation points MVP

    Go to the following location in registry editor on your server
    HKLM\Software\Microsoft\ExchangeServer\v15\HubTransportRole and delete the 'Watermark' and 'Action' entries. After that try re-run the setup again to see if the issue is able to resolve

    2 people found this answer helpful.

  2. Fernando Godinez 1 Reputation point

    Hello Manu and Jeff,

    I apology for the late response.
    After performing all the steps advised unfortunately the Exchange installation on my Server 2016 will not complete the Set up process and it is still showing a Mailbox error :

    The following error was generated when "$error.Clear();
    $feVdirName = "PowerShell (Default Web Site)";
    $beVdirName = "PowerShell (Exchange Back End)";
    $vdirName = "PowerShell";
    $InternalPowerShellUrl="http://" + $RoleFqdnOrName + "/powershell";

          $vdir = get-PowerShellVirtualDirectory -ShowMailboxVirtualDirectories -server $RoleFqdnOrName -DomainController $RoleDomainController | where { $_.Name -eq $beVdirName };
          if ($vdir -eq $null)
            new-PowerShellVirtualDirectory $vdirName -Role Mailbox -DomainController $RoleDomainController -BasicAuthentication:$false -WindowsAuthentication:$true -RequireSSL:$true -WebSiteName "Exchange Back End" -Path ($RoleInstallPath + "ClientAccess\PowerShell-Proxy");
            update-PowerShellVirtualDirectoryVersion -DomainController $RoleDomainController;
          $vdir2 = get-PowerShellVirtualDirectory -ShowMailboxVirtualDirectories -server $RoleFqdnOrName -DomainController $RoleDomainController | where { $_.Name -eq $feVdirName };
          if ($vdir2 -eq $null)
            new-PowerShellVirtualDirectory $vdirName -Role Mailbox -InternalUrl $InternalPowerShellUrl -DomainController $RoleDomainController -BasicAuthentication:$false -WindowsAuthentication:$false -RequireSSL:$false -WebSiteName "Default Web Site" -AppPoolId "MSExchangePowerShellFrontEndAppPool";
            update-PowerShellVirtualDirectoryVersion -DomainController $RoleDomainController;
        " was run: "System.ArgumentException: The virtual directory 'PowerShell' already exists under 'SERVER.charlie.local/Exchange Back End'.

    Parameter name: VirtualDirectoryName
    at Microsoft.Exchange.Configuration.Tasks.Task.ThrowError(Exception exception, ErrorCategory errorCategory, Object target, String helpUrl)
    at Microsoft.Exchange.Management.SystemConfigurationTasks.NewExchangeVirtualDirectory`1.InternalValidate()
    at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__91_1()
    at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)".

    Thank you for all your help