none
Exchange 2019 install hangs, forever RRS feed

  • Question

  • I have a small domain with an Exchange Server 2013 environment running on VMs under Hyper-V 2019 Core (recently migrated from a Hyper-V 2012 R2 Core). Once everything was up and running (VMs are a DC running 2012 R2, a database server also on 2012 R2, the Exchange system running 2013 CU23 on a server 2012 and an IIS web server also running on server 2012. I have recently added a VM running Windows 10 Enterprise to manage the new Hyper-V Core machine and a Ubuntu server VM. Finally this week I fired up another VM to run Exchange Server 2019 (on Server 2019) that I intend to replace the Exchange 2013 instance. It looks like there is no longer a way to run both the mailbox role and the edge transport role on the same 'machine' so I am tentatively planning on using the old Exchange 2013 VM for Edge transport and once everything is running right I'll remove the mailbox role from that machine.

    Anyway with that behind us, when trying to install Exchange Server 2019 on the new VM I got a good portion of the way through and it threw errors relating to two of the the databases (such as "Microsoft.Exchange.Configuration.Tasks.ManagementObjectNotFoundException: Couldn't find database Mailbox Database 1104976959.") that online searching said I should fix by deleting those using ADSIEdit. I did so and re-ran the install. Now I'm having the install hang on the Add Server Role screen with Mailbox Role and Management Tools grayed out (and marked installed) and Automatically install Windows Server roles and features selected. I can cancel by clicking the close gadget, but once I click the Next button I'm stuck. I tested the duration of the hang by starting it into the failure on Saturday and it's still sitting hung today (Monday).

    Here are the contents of the log files from my abort on Friday to now:

    ExchangeSetup.log

    [09/14/2019 02:28:59.0686] [0] CurrentResult setupbase.maincore:396: 0
    [09/14/2019 02:28:59.0686] [0] End of Setup
    [09/14/2019 02:28:59.0686] [0] **********************************************
    [09/14/2019 02:29:20.0374] [0] **********************************************
    [09/14/2019 02:29:20.0374] [0] Starting Microsoft Exchange Server 2019 Setup
    [09/14/2019 02:29:20.0374] [0] **********************************************
    [09/14/2019 02:29:20.0374] [0] Local time zone: (UTC-08:00) Pacific Time (US & Canada).
    [09/14/2019 02:29:20.0374] [0] Operating system version: Microsoft Windows NT 6.2.9200.0.
    [09/14/2019 02:29:20.0374] [0] Setup version: 15.2.397.3.
    [09/14/2019 02:29:20.0374] [0] Logged on user: CONTOSO\administrator.
    [09/14/2019 02:29:20.0405] [0] Command Line Parameter Name='sourcedir', Value='F:\'.
    [09/14/2019 02:29:20.0405] [0] Command Line Parameter Name='mode', Value='Install'.
    [09/14/2019 02:29:20.0421] [0] RuntimeAssembly was started with the following command: '/sourcedir:F: /mode:Install'.
    [09/14/2019 02:29:20.0640] [0] The following roles are installed: BridgeheadRole ClientAccessRole MailboxRole FrontendTransportRole AdminToolsRole CafeRole 
    [09/14/2019 02:29:21.0624] [0] Setup is choosing the domain controller to use
    [09/14/2019 02:29:21.0734] [0] The MSExchangeADTopology has a persisted domain controller: ContosoDC.contoso.local
    [09/14/2019 02:29:22.0969] [0] PrepareAD has been run, and has replicated to this domain controller; so setup will use ContosoDC.contoso.local
    [09/14/2019 02:29:22.0969] [0] Setup is choosing a global catalog...
    [09/14/2019 02:29:22.0999] [0] Setup has chosen the global catalog server ContosoDC.contoso.local.
    [09/14/2019 02:29:22.0999] [0] Setup will use the domain controller 'ContosoDC.contoso.local'.
    [09/14/2019 02:29:22.0999] [0] Setup will use the global catalog 'ContosoDC.contoso.local'.
    [09/14/2019 02:29:22.0999] [0] Exchange configuration container for the organization is 'CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=contoso,DC=local'.
    [09/14/2019 02:29:22.0999] [0] Exchange organization container for the organization is 'CN=Orgname,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=contoso,DC=local'.
    [09/14/2019 02:29:23.0015] [0] Setup will search for an Exchange Server object for the local machine with name 'MAIL'.
    [09/14/2019 02:29:23.0187] [0] Exchange Server object found : 'CN=MAIL,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=Orgname,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=contoso,DC=local'.
    [09/14/2019 02:29:23.0187] [0] The following roles have been unpacked: BridgeheadRole ClientAccessRole MailboxRole FrontendTransportRole AdminToolsRole CafeRole 
    [09/14/2019 02:29:23.0187] [0] The following datacenter roles are unpacked: 
    [09/14/2019 02:29:23.0187] [0] The following roles are installed: BridgeheadRole ClientAccessRole MailboxRole FrontendTransportRole AdminToolsRole CafeRole 
    [09/14/2019 02:29:23.0202] [0] The local server has some Exchange files installed.
    [09/14/2019 02:29:23.0202] [0] Server Name=MAIL
    [09/14/2019 02:29:23.0202] [0] Setup will use the path 'F:\' for installing Exchange.
    [09/14/2019 02:29:23.0218] [0] Setup will discover the installed roles from server object 'CN=MAIL,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=Orgname,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=contoso,DC=local'.
    [09/14/2019 02:29:23.0218] [0] 'BridgeheadRole' is installed on the server object.
    [09/14/2019 02:29:23.0218] [0] 'ClientAccessRole' is installed on the server object.
    [09/14/2019 02:29:23.0218] [0] 'MailboxRole' is installed on the server object.
    [09/14/2019 02:29:23.0218] [0] 'CafeRole' is installed on the server object.
    [09/14/2019 02:29:23.0218] [0] 'FrontendTransportRole' is installed on the server object.
    [09/14/2019 02:29:23.0218] [0] The installation mode is set to: 'Install'.
    [09/14/2019 02:29:25.0562] [0] An Exchange organization with name 'Orgname' was found in this forest.
    [09/14/2019 02:29:25.0562] [0] Active Directory Initialization status : 'True'.
    [09/14/2019 02:29:25.0562] [0] Schema Update Required Status : 'False'.
    [09/14/2019 02:29:25.0562] [0] Organization Configuration Update Required Status : 'False'.
    [09/14/2019 02:29:25.0562] [0] Domain Configuration Update Required Status : 'False'.
    [09/14/2019 02:29:25.0562] [0] The locally installed version is 15.2.397.3.
    [09/14/2019 02:29:25.0562] [0] Exchange Installation Directory : 'C:\Program Files\Microsoft\Exchange Server\V15'.
    [09/14/2019 02:29:25.0593] [0] Applying default role selection state
    [09/14/2019 02:29:25.0624] [0] Setup is determining what organization-level operations to perform.
    [09/14/2019 02:29:25.0624] [0] Because the value was specified, setup is setting the argument OrganizationName to the value Orgname.
    [09/14/2019 02:29:25.0624] [0] Setup will run from path 'C:\Program Files\Microsoft\Exchange Server\V15\'.
    [09/14/2019 02:29:25.0624] [0] InstallModeDataHandler has 0 DataHandlers
    [09/14/2019 02:29:25.0624] [0] RootDataHandler has 1 DataHandlers
    [09/14/2019 02:29:25.0749] [0] CurrentResult launcherbase.maincore:90: 0
    [09/14/2019 02:29:25.0781] [0] Setup is determining what organization-level operations to perform.
    [09/14/2019 02:29:25.0781] [0] Because the value was specified, setup is setting the argument OrganizationName to the value Orgname.
    [09/14/2019 02:29:25.0781] [0] Setup will run from path 'C:\Program Files\Microsoft\Exchange Server\V15\'.
    [09/14/2019 02:29:25.0781] [0] InstallModeDataHandler has 0 DataHandlers
    [09/14/2019 02:29:25.0781] [0] Setup is determining what organization-level operations to perform.
    [09/14/2019 02:29:25.0781] [0] Because the value was specified, setup is setting the argument OrganizationName to the value Orgname.
    [09/14/2019 02:29:25.0781] [0] Setup will run from path 'C:\Program Files\Microsoft\Exchange Server\V15\'.
    [09/14/2019 02:29:25.0781] [0] InstallModeDataHandler has 0 DataHandlers
    [09/14/2019 02:29:25.0781] [0] Setup is determining what organization-level operations to perform.
    [09/14/2019 02:29:25.0781] [0] Because the value was specified, setup is setting the argument OrganizationName to the value Orgname.
    [09/14/2019 02:29:25.0781] [0] Setup will run from path 'C:\Program Files\Microsoft\Exchange Server\V15\'.
    [09/14/2019 02:29:25.0781] [0] InstallModeDataHandler has 0 DataHandlers
    [09/14/2019 02:29:25.0781] [0] Setup is determining what organization-level operations to perform.
    [09/14/2019 02:29:25.0781] [0] Because the value was specified, setup is setting the argument OrganizationName to the value Orgname.
    [09/14/2019 02:29:25.0781] [0] Setup will run from path 'C:\Program Files\Microsoft\Exchange Server\V15\'.
    [09/14/2019 02:29:25.0781] [0] InstallModeDataHandler has 0 DataHandlers
    [09/14/2019 02:29:25.0781] [0] Setup is determining what organization-level operations to perform.
    [09/14/2019 02:29:25.0781] [0] Because the value was specified, setup is setting the argument OrganizationName to the value Orgname.
    [09/14/2019 02:29:25.0781] [0] Setup will run from path 'C:\Program Files\Microsoft\Exchange Server\V15\'.
    [09/14/2019 02:29:25.0781] [0] InstallModeDataHandler has 0 DataHandlers
    [09/14/2019 02:29:25.0984] [0] Finished loading screen AddRemoveServerRolePage.

    ExchangeSetupBootStrapper.log

    [09/14/2019 02:28:59.0764] [0] End of Setup Bootstrapper
    [09/14/2019 02:28:59.0764] [0] **********************************************
    [09/14/2019 02:29:19.0812] [0] **********************************************
    [09/14/2019 02:29:19.0827] [0] Starting Microsoft Exchange Server 2019 Setup Bootstrapper
    [09/14/2019 02:29:19.0827] [0] **********************************************
    [09/14/2019 02:29:19.0827] [0] Local Time Zone: (UTC-08:00) Pacific Time (US & Canada).
    [09/14/2019 02:29:19.0827] [0] Operating System version: Microsoft Windows NT 6.2.9200.0.
    [09/14/2019 02:29:19.0827] [0] Setup version: 15.2.397.3.
    [09/14/2019 02:29:19.0827] [0] Logged on user: CONTOSO\administrator.
    [09/14/2019 02:29:19.0874] [0] End of Setup Bootstrapper
    [09/14/2019 02:29:19.0874] [0] **********************************************
    [09/14/2019 02:29:19.0937] [0] **********************************************
    [09/14/2019 02:29:19.0937] [0] Starting Microsoft Exchange Server 2019 Setup Bootstrapper
    [09/14/2019 02:29:19.0937] [0] **********************************************
    [09/14/2019 02:29:19.0937] [0] Local Time Zone: (UTC-08:00) Pacific Time (US & Canada).
    [09/14/2019 02:29:19.0937] [0] Operating System version: Microsoft Windows NT 6.2.9200.0.
    [09/14/2019 02:29:19.0937] [0] Setup version: 15.2.397.3.
    [09/14/2019 02:29:19.0937] [0] Logged on user: CONTOSO\administrator.

    Can anyone help me get this installed, and perhaps point me to where I've gone wrong?

    Tuesday, September 17, 2019 1:02 AM

All replies

  • Hi

    Firstly, did you add enough resources to the VM for exchange 2019? Secondly, did you install the prerequisites like UCMA and .NET and the prerequisites from PowerShell?


    Hope this helps. Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Tuesday, September 17, 2019 5:21 AM
    Moderator
  • Yes, I was following the guide here, The VM has 32G of memory assigned, 4 virtual processors and 512GB of disk space. I installed the prerequisites as per the guide.

    Bill

    Tuesday, September 17, 2019 3:04 PM
  • Hi Bill,

    We help you cover your domain name, please don't forget to cover your personal information next time.

    Do you mean you are blocked at "Server Role Selection" page without any error alerts?

    Did you check the event logs? Please try to check if related event IDs are generated.

    You can try to restart the Windows server 2019 and use commands to install Exchange: Use unattended mode in Exchange Setup

    Here is a document about Exchange Server virtualization, please check the requirements as well.

    Regards,

    Lydia Zhou


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.

    Wednesday, September 18, 2019 9:58 AM
    Moderator
  • Sorry, I should have thought to edit those between the copy and paste. Here's where I'm stuck:

    I just fired it up again and restarted the install. I stays right at that screen. I then looked at Event Viewer and I got two errors immediately, both complaining about expired certificates:

    The Federation or Auth certificate B733C8CF10480E85D4E783416400181668732290 has expired. Renew the certificate to ensure proper functionality of Federation Trust or Auth services.
    The Federation or Auth certificate 92BD35220747BF35AFE1F4EC206B5EFE67FAF4A9 has expired. Renew the certificate to ensure proper functionality of Federation Trust or Auth services.

    Are these certs on the Exchange server machine or on my domain Controller?

    Thursday, September 19, 2019 10:02 PM
  • OK, I found a little time to try again on this. I went the unattended install as suggested, trying first for the mailbox role and secondly for the management role. Neither worked, here's the relevant logfile entries:

    [09/24/2019 06:25:39.0010] [0] ********************************************** [09/24/2019 06:25:39.0050] [0] Starting Microsoft Exchange Server 2019 Setup [09/24/2019 06:25:39.0050] [0] ********************************************** [09/24/2019 06:25:39.0053] [0] Local time zone: (UTC-08:00) Pacific Time (US & Canada). [09/24/2019 06:25:39.0053] [0] Operating system version: Microsoft Windows NT 6.2.9200.0. [09/24/2019 06:25:39.0055] [0] Setup version: 15.2.397.3. [09/24/2019 06:25:39.0056] [0] Logged on user: DOMAIN\administrator. [09/24/2019 06:25:39.0707] [0] Command Line Parameter Name='iacceptexchangeserverlicenseterms', Value=''. [09/24/2019 06:25:39.0707] [0] Command Line Parameter Name='mode', Value='Install'. [09/24/2019 06:25:39.0707] [0] Command Line Parameter Name='roles', Value='Microsoft.Exchange.Management.Deployment.RoleCollection'. [09/24/2019 06:25:39.0707] [0] Command Line Parameter Name='sourcedir', Value='E:\'. [09/24/2019 06:25:39.0731] [0] RuntimeAssembly was started with the following command: '/IAcceptExchangeServerLicenseTerms /mode:Install /r:MB /sourcedir:E:"'. [09/24/2019 06:25:39.0734] [0] The registry key, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange\v8.0, wasn't found. [09/24/2019 06:25:39.0734] [0] The registry key, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\v14, wasn't found. [09/24/2019 06:25:39.0737] [0] Copying Files... [09/24/2019 06:25:39.0742] [0] Starting copy from E:\Setup\ServerRoles\Common to C:\Windows\Temp\ExchangeSetup. [09/24/2019 06:26:07.0088] [0] Finished copy from E:\Setup\ServerRoles\Common to C:\Windows\Temp\ExchangeSetup. [09/24/2019 06:26:07.0088] [0] File copy complete. Setup will now collect additional information needed for installation. [09/24/2019 06:26:07.0123] [0] Assembly dll file location is C:\Windows\Temp\ExchangeSetup\Microsoft.Exchange.Setup.Console.dll [09/24/2019 06:26:24.0538] [0] Setup is choosing the domain controller to use [09/24/2019 06:26:24.0967] [0] The MSExchangeADTopology has a persisted domain controller: DC.domain.local [09/24/2019 06:26:28.0641] [0] PrepareAD has been run, and has replicated to this domain controller; so setup will use DC.domain.local [09/24/2019 06:26:28.0641] [0] Setup is choosing a global catalog... [09/24/2019 06:26:28.0743] [0] Setup has chosen the global catalog server DC.domain.local. [09/24/2019 06:26:28.0773] [0] Setup will use the domain controller 'DC.domain.local'. [09/24/2019 06:26:28.0773] [0] Setup will use the global catalog 'DC.domain.local'. [09/24/2019 06:26:28.0777] [0] Exchange configuration container for the organization is 'CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=domain,DC=local'. [09/24/2019 06:26:28.0782] [0] Exchange organization container for the organization is 'CN=LCIS,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=domain,DC=local'. [09/24/2019 06:26:28.0806] [0] Setup will search for an Exchange Server object for the local machine with name 'MAIL'. [09/24/2019 06:26:29.0001] [0] Exchange Server object found : 'CN=MAIL,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=LCIS,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=domain,DC=local'. [09/24/2019 06:26:29.0294] [0] The following roles have been unpacked: BridgeheadRole ClientAccessRole MailboxRole FrontendTransportRole AdminToolsRole CafeRole [09/24/2019 06:26:29.0297] [0] The following datacenter roles are unpacked: [09/24/2019 06:26:29.0311] [0] The following roles are installed: BridgeheadRole ClientAccessRole MailboxRole FrontendTransportRole AdminToolsRole CafeRole [09/24/2019 06:26:29.0318] [0] The local server has some Exchange files installed. [09/24/2019 06:26:29.0330] [0] Server Name=MAIL [09/24/2019 06:26:29.0330] [0] Setup will use the path 'E:\' for installing Exchange. [09/24/2019 06:26:29.0332] [0] Setup will discover the installed roles from server object 'CN=MAIL,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=LCIS,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=domain,DC=local'. [09/24/2019 06:26:29.0332] [0] 'BridgeheadRole' is installed on the server object. [09/24/2019 06:26:29.0332] [0] 'ClientAccessRole' is installed on the server object. [09/24/2019 06:26:29.0333] [0] 'MailboxRole' is installed on the server object. [09/24/2019 06:26:29.0333] [0] 'CafeRole' is installed on the server object. [09/24/2019 06:26:29.0333] [0] 'FrontendTransportRole' is installed on the server object. [09/24/2019 06:26:29.0338] [0] The installation mode is set to: 'Install'. [09/24/2019 06:26:32.0704] [0] An Exchange organization with name 'LCIS' was found in this forest. [09/24/2019 06:26:32.0704] [0] Active Directory Initialization status : 'True'. [09/24/2019 06:26:32.0705] [0] Schema Update Required Status : 'False'. [09/24/2019 06:26:32.0705] [0] Organization Configuration Update Required Status : 'False'. [09/24/2019 06:26:32.0705] [0] Domain Configuration Update Required Status : 'False'. [09/24/2019 06:26:32.0707] [0] The locally installed version is 15.2.397.3. [09/24/2019 06:26:32.0707] [0] Exchange Installation Directory : 'C:\Program Files\Microsoft\Exchange Server\V15'. [09/24/2019 06:26:32.0785] [0] Applying default role selection state [09/24/2019 06:26:32.0838] [0] Setup is determining what organization-level operations to perform. [09/24/2019 06:26:32.0839] [0] Because the value was specified, setup is setting the argument OrganizationName to the value LCIS. [09/24/2019 06:26:32.0839] [0] Setup will run from path 'C:\Program Files\Microsoft\Exchange Server\V15\'. [09/24/2019 06:26:32.0844] [0] InstallModeDataHandler has 0 DataHandlers [09/24/2019 06:26:32.0844] [0] RootDataHandler has 1 DataHandlers [09/24/2019 06:26:32.0856] [0] Validating options for the 5 requested roles [09/24/2019 06:26:32.0886] [0] [ERROR] Please select at least one server role to install. Make sure that the specified roles aren't already installed. [09/24/2019 06:26:32.0886] [0] CurrentResult console.ProcessRunInternal:90: 1 [09/24/2019 06:26:32.0907] [0] CurrentResult launcherbase.maincore:90: 1 [09/24/2019 06:26:32.0907] [0] CurrentResult console.startmain:52: 1 [09/24/2019 06:26:32.0908] [0] CurrentResult SetupLauncherHelper.loadassembly:452: 1 [09/24/2019 06:26:32.0908] [0] The Exchange Server setup operation didn't complete. More details can be found in ExchangeSetup.log located in the <SystemDrive>:\ExchangeSetupLogs folder. [09/24/2019 06:26:32.0911] [0] CurrentResult main.run:235: 1 [09/24/2019 06:26:32.0911] [0] CurrentResult setupbase.maincore:396: 1 [09/24/2019 06:26:32.0912] [0] End of Setup [09/24/2019 06:26:32.0912] [0] **********************************************

    [09/24/2019 06:27:44.0127] [0] ********************************************** [09/24/2019 06:27:44.0175] [0] Starting Microsoft Exchange Server 2019 Setup [09/24/2019 06:27:44.0175] [0] ********************************************** [09/24/2019 06:27:44.0178] [0] Local time zone: (UTC-08:00) Pacific Time (US & Canada). [09/24/2019 06:27:44.0178] [0] Operating system version: Microsoft Windows NT 6.2.9200.0. [09/24/2019 06:27:44.0180] [0] Setup version: 15.2.397.3. [09/24/2019 06:27:44.0181] [0] Logged on user: DOMAIN\administrator. [09/24/2019 06:27:44.0680] [0] Command Line Parameter Name='iacceptexchangeserverlicenseterms', Value=''. [09/24/2019 06:27:44.0680] [0] Command Line Parameter Name='mode', Value='Install'. [09/24/2019 06:27:44.0680] [0] Command Line Parameter Name='roles', Value='Microsoft.Exchange.Management.Deployment.RoleCollection'. [09/24/2019 06:27:44.0680] [0] Command Line Parameter Name='sourcedir', Value='E:\'. [09/24/2019 06:27:44.0705] [0] RuntimeAssembly was started with the following command: '/IAcceptExchangeServerLicenseTerms /mode:Install /r:MT /sourcedir:E:"'. [09/24/2019 06:27:44.0709] [0] The registry key, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange\v8.0, wasn't found. [09/24/2019 06:27:44.0709] [0] The registry key, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\v14, wasn't found. [09/24/2019 06:27:44.0711] [0] Copying Files... [09/24/2019 06:27:44.0716] [0] Starting copy from E:\Setup\ServerRoles\Common to C:\Windows\Temp\ExchangeSetup. [09/24/2019 06:28:11.0430] [0] Finished copy from E:\Setup\ServerRoles\Common to C:\Windows\Temp\ExchangeSetup. [09/24/2019 06:28:11.0430] [0] File copy complete. Setup will now collect additional information needed for installation. [09/24/2019 06:28:11.0467] [0] Assembly dll file location is C:\Windows\Temp\ExchangeSetup\Microsoft.Exchange.Setup.Console.dll [09/24/2019 06:28:27.0511] [0] Setup is choosing the domain controller to use [09/24/2019 06:28:27.0899] [0] The MSExchangeADTopology has a persisted domain controller: DC.domain.local [09/24/2019 06:28:30.0963] [0] PrepareAD has been run, and has replicated to this domain controller; so setup will use DC.domain.local [09/24/2019 06:28:30.0963] [0] Setup is choosing a global catalog... [09/24/2019 06:28:31.0058] [0] Setup has chosen the global catalog server DC.domain.local. [09/24/2019 06:28:31.0094] [0] Setup will use the domain controller 'DC.domain.local'. [09/24/2019 06:28:31.0095] [0] Setup will use the global catalog 'DC.domain.local'. [09/24/2019 06:28:31.0100] [0] Exchange configuration container for the organization is 'CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=domain,DC=local'. [09/24/2019 06:28:31.0104] [0] Exchange organization container for the organization is 'CN=LCIS,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=domain,DC=local'. [09/24/2019 06:28:31.0124] [0] Setup will search for an Exchange Server object for the local machine with name 'MAIL'. [09/24/2019 06:28:31.0314] [0] Exchange Server object found : 'CN=MAIL,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=LCIS,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=domain,DC=local'. [09/24/2019 06:28:31.0517] [0] The following roles have been unpacked: BridgeheadRole ClientAccessRole MailboxRole FrontendTransportRole AdminToolsRole CafeRole [09/24/2019 06:28:31.0520] [0] The following datacenter roles are unpacked: [09/24/2019 06:28:31.0534] [0] The following roles are installed: BridgeheadRole ClientAccessRole MailboxRole FrontendTransportRole AdminToolsRole CafeRole [09/24/2019 06:28:31.0543] [0] The local server has some Exchange files installed. [09/24/2019 06:28:31.0554] [0] Server Name=MAIL [09/24/2019 06:28:31.0554] [0] Setup will use the path 'E:\' for installing Exchange. [09/24/2019 06:28:31.0556] [0] Setup will discover the installed roles from server object 'CN=MAIL,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=LCIS,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=domain,DC=local'. [09/24/2019 06:28:31.0557] [0] 'BridgeheadRole' is installed on the server object. [09/24/2019 06:28:31.0557] [0] 'ClientAccessRole' is installed on the server object. [09/24/2019 06:28:31.0557] [0] 'MailboxRole' is installed on the server object. [09/24/2019 06:28:31.0557] [0] 'CafeRole' is installed on the server object. [09/24/2019 06:28:31.0557] [0] 'FrontendTransportRole' is installed on the server object. [09/24/2019 06:28:31.0562] [0] The installation mode is set to: 'Install'. [09/24/2019 06:28:34.0879] [0] An Exchange organization with name 'LCIS' was found in this forest. [09/24/2019 06:28:34.0880] [0] Active Directory Initialization status : 'True'. [09/24/2019 06:28:34.0880] [0] Schema Update Required Status : 'False'. [09/24/2019 06:28:34.0881] [0] Organization Configuration Update Required Status : 'False'. [09/24/2019 06:28:34.0881] [0] Domain Configuration Update Required Status : 'False'. [09/24/2019 06:28:34.0882] [0] The locally installed version is 15.2.397.3. [09/24/2019 06:28:34.0882] [0] Exchange Installation Directory : 'C:\Program Files\Microsoft\Exchange Server\V15'. [09/24/2019 06:28:34.0944] [0] Applying default role selection state [09/24/2019 06:28:35.0006] [0] Setup is determining what organization-level operations to perform. [09/24/2019 06:28:35.0007] [0] Because the value was specified, setup is setting the argument OrganizationName to the value LCIS. [09/24/2019 06:28:35.0007] [0] Setup will run from path 'C:\Program Files\Microsoft\Exchange Server\V15\'. [09/24/2019 06:28:35.0016] [0] InstallModeDataHandler has 0 DataHandlers [09/24/2019 06:28:35.0016] [0] RootDataHandler has 1 DataHandlers [09/24/2019 06:28:35.0032] [0] Validating options for the 1 requested roles [09/24/2019 06:28:35.0062] [0] [ERROR] Please select at least one server role to install. Make sure that the specified roles aren't already installed. [09/24/2019 06:28:35.0066] [0] CurrentResult console.ProcessRunInternal:90: 1 [09/24/2019 06:28:35.0082] [0] CurrentResult launcherbase.maincore:90: 1 [09/24/2019 06:28:35.0082] [0] CurrentResult console.startmain:52: 1 [09/24/2019 06:28:35.0083] [0] CurrentResult SetupLauncherHelper.loadassembly:452: 1 [09/24/2019 06:28:35.0083] [0] The Exchange Server setup operation didn't complete. More details can be found in ExchangeSetup.log located in the <SystemDrive>:\ExchangeSetupLogs folder. [09/24/2019 06:28:35.0084] [0] CurrentResult main.run:235: 1 [09/24/2019 06:28:35.0084] [0] CurrentResult setupbase.maincore:396: 1 [09/24/2019 06:28:35.0085] [0] End of Setup [09/24/2019 06:28:35.0085] [0] **********************************************

    I could really use some help here. Is there a way I can remove the failed install to start fresh?

    Tuesday, September 24, 2019 6:50 AM
  • Hi,

    It seems that a Mailbox server is already installed on this Windows server. If you want to remove the failed installation, you have to use ADSI Edit. You can check this blog for more information: Complete remove Exchange 2013 using ADSIEdit

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.

    Additionally, ADSI Edit must be handled with care. Modifying the attributes using ADSIEdit can cause significant issues with your infrastructure if something is done in a wrong way. We would suggest you make a backup before modifying.

    Regards,

    Lydia Zhou


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.

    Tuesday, September 24, 2019 10:24 AM
    Moderator
  • The completely remove article looks like it might affect the Exchange 2013 that is running on my other server. I really can't take that down until this one is up and done with mailbox replication. Is there a similar article that just removes the one instance? I plan on using the other server as the edge transport, but will remove the mailbox role from it once this is done.

    Friday, September 27, 2019 2:12 PM
  • Hi,

    You just need to remove the database on Exchange 2019 CN=<database name> and CN=<Exchange 2019 server name>.

    For example, if I want remove the Exchange 2016, I have to remove these CN:

    Please don't forget to make a backup before modifying ADSI Edit!

    Regards,

    Lydia Zhou


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.

    Tuesday, October 1, 2019 9:23 AM
    Moderator
  • Well, that was a challenge. :) Lots of the active processes used by Exchange seem to be tied into the Defender stuff, and it makes it quite difficult to stop them so they can be deleted. I think I have it now though, though I'm going to reboot and then restart the disabled anti-virus sections. Once I have them all dealt with I should be able to restart the Exchange install and have it complete? Remember I still have the Exchange 2013 running on another domain server.

    Tuesday, October 1, 2019 7:53 PM
  • I actually had to reboot twice, after the first I still got an error saying the system had a reboot pending. After the second reboot I started the install and it got to step 7 of 13 then failed with this error:

    Error:
    The following error was generated when "$error.Clear(); 
    	Set-LocalPermissions -Feature:"Bridgehead"
    
    " was run: "System.ArgumentException: The registry key "SOFTWARE\Microsoft\ExchangeServer\v15\Transport" does not exist under "HKEY_LOCAL_MACHINE".
       at Microsoft.Exchange.Configuration.Tasks.Task.ThrowError(Exception exception, ErrorCategory errorCategory, Object target, String helpUrl)
       at Microsoft.Exchange.Configuration.Tasks.Task.WriteError(Exception exception, ErrorCategory category, Object target)
       at Microsoft.Exchange.Management.Deployment.SetLocalPermissions.InternalProcessRecord()
       at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__91_1()
       at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)".
    
    

    And sure enough, there is no Transport key under HKLM\SOFTWARE\Microsoft\ExchangeServer\v15\

    Hopefully someone will have an idea of what's going on...

    Wednesday, October 2, 2019 5:05 AM
  • Hi

    can you check for any watermarks in the registry for exchange and if it is there remove it and try the setup again.


    Hope this helps. Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Wednesday, October 2, 2019 5:36 AM
    Moderator
  • There was one Watermark key under HubTransportRole. I  removed the key and reran setup. In step 6 of 12 (Mailbox Role: Transport Service) it again failed:

    Error:
    The following error was generated when "$error.Clear(); 
    	Set-LocalPermissions -Feature:"Bridgehead"
    
    " was run: "System.ArgumentException: The registry key "SOFTWARE\Microsoft\ExchangeServer\v15\Transport" does not exist under "HKEY_LOCAL_MACHINE".
       at Microsoft.Exchange.Configuration.Tasks.Task.ThrowError(Exception exception, ErrorCategory errorCategory, Object target, String helpUrl)
       at Microsoft.Exchange.Configuration.Tasks.Task.WriteError(Exception exception, ErrorCategory category, Object target)
       at Microsoft.Exchange.Management.Deployment.SetLocalPermissions.InternalProcessRecord()
       at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__91_1()
       at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)".
    Is it trying to install the edge transport role, or perhaps not figuring out what's going to handle that?
    • Edited by BillseyLCIS Thursday, October 3, 2019 7:58 PM
    Wednesday, October 2, 2019 7:48 PM
  • OK, working off a suggestion I found elsewhere, I created the key Transport, gave full permissions to NETWORK SERVICE and restarted the install. Then I did the same thing for the key Pickup. And again with Search and Search\SystemParameters. By this time I thought I'd check permissions on the V15 key and added NETWORK SERVICE to it, thinking maybe the permissions just weren't right to create any of these keys. Reran setup and now it gets farther to this error:

    Error:
    The following error was generated when "$error.Clear(); 
              Install-ExchangeCertificate -services IIS -DomainController $RoleDomainController
              if ($RoleIsDatacenter -ne $true -And $RoleIsPartnerHosted -ne $true)
              {
                Install-AuthCertificate -DomainController $RoleDomainController
              }
            " was run: "Microsoft.Exchange.Management.Metabase.IISGeneralCOMException: An IIS directory entry couldn't be created. The error message is The system cannot find the path specified.
    . HResult = -2147024893 ---> System.Runtime.InteropServices.COMException: The system cannot find the path specified.
    
       at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
       at System.DirectoryServices.DirectoryEntry.Bind()
       at System.DirectoryServices.DirectoryEntry.RefreshCache()
       at System.DirectoryServices.DirectoryEntry.FillCache(String propertyName)
       at System.DirectoryServices.PropertyCollection.KeysCollection.GetEnumerator()
       at Microsoft.Exchange.Management.Metabase.IisUtility.GetProperties(DirectoryEntry webObj)
       --- End of inner exception stack trace ---
       at Microsoft.Exchange.Management.Metabase.IisUtility.GetProperties(DirectoryEntry webObj)
       at Microsoft.Exchange.Management.Metabase.IisUtility.GetWebSiteSslCertificate(String webObjectPath)
       at Microsoft.Exchange.Management.SystemConfigurationTasks.InstallExchangeCertificate.FindIisCertificate()
       at Microsoft.Exchange.Management.SystemConfigurationTasks.InstallExchangeCertificate.InternalProcessRecord()
       at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__91_1()
       at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)".
    

    So I'm feeling very much like I'm barking up the wrong tree... There's obviously some underlying issue that I haven't dealt with. :(

    Thursday, October 3, 2019 7:57 PM
  • Did you check the IIS Admin Service? Please make sure it is running well, and you can try to restart the service.

    Regards,

    Lydia Zhou


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.

    Monday, October 7, 2019 9:24 AM
    Moderator
  • OK, I gave up and started over. I removed the failed server via ADSIedit, uninstalled the IIS, deleted all Exchange folders, deleted the Exchange keys in the registry and renamed the machine so anything I missed wouldn't catch me.

    I then did the pre-requisists install using PowerShell and rebooted. I then started Setup again. I was flagged as still needing another reboot so I did that. I restarted Setup after the reboot and got to exactly the same point as I was at on October 2nd, No Profile key in the registry, then no Transport key, then no Search\SystemParameters key. I assume if I continue I'll continue to fail in the same way. Short of opening a ticket with Microsoft where can I go to get this working?

    • Edited by BillseyLCIS Saturday, October 12, 2019 8:30 PM
    Saturday, October 12, 2019 8:29 PM