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

Fernando Godinez 1 Reputation point
2021-07-10T15:26:56.533+00:00

****A Setup failure previously occurred while installing the HubTransportRole role. Either run Setup again for just this role, or remove the role using Control
Panel.
For more information, visit: http://technet.microsoft.com/library(EXCHG.150)/ms.exch.setupreadiness.InstallWatermark.aspx

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.
Thanks
Fernando.

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

2 answers

Sort by: Most helpful
  1. Manu Philip 16,961 Reputation points MVP
    2021-07-10T16:20:02.923+00:00

    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
    2021-07-20T13:52:44.543+00:00

    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 :

    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");
          }
          else
          {
            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";
          }
          else
          {
            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)".

    ft.Exchange.Management.SystemConfigurationTasks.NewExchangeVirtualDirectory`1.InternalValidate(
    Thank you for all your help