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
Error while installing Exchange Server 2016 in my Windows Server 2016.

****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.
2 answers
Sort by: Most helpful
-
Manu Philip 20,196 Reputation points MVP
2021-07-10T16:20:02.923+00:00 -
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