Ask a question

Chris Currell

Problems Installing Exchange 2016

Migrating SBS 2011 Exchange to Exchange 2019. I am having issues installing Exchange 2016. 

  • I have created a temporary virtual server, Exch-Temp and it is a member server.
  • Exch-Temp is running Windows Server 2016 standard. - windows update has been run several times.
  • Ran the power shell script - InstallDependenciesExchangeServer2016.ps1
  • Had to manually download and install .NET Framework 4.7.1 as well as Unified Communications Managed API 4.0 Run-time.
  • I have downloaded Exchange Server 2016 CU12

During my first attempt to install Exchange I received an error - "A hybrid deployment with Office 365 has been detected."

Here is a link to an article that outlines very well the error I received and the need to create a MyTenantOrganizationConfig.XML file.

To create this xml file, I did the following:

  • From an evelvated Powershell window
  • Set-ExecutionPolicy RemoteSigned
  • $UserCredential = Get-Credential - used my personal O365 user credentials as I am a global admin
  • Get-OrganizationConfig | Export-Clixml -Path C:\MyTenantOrganizationConfig.XML

From an elevated cmd window I ran the following command after mounting the Exchange iso. In my case that was drive E:

e:\Setup.exe /mode:Install /r:MB /PrepareAD /TenantOrganizationConfig c:\MyTenantOrganizationConfig.XML /IAcceptExchangeServerLicenseTerms

This produced an error message – “'preparead' parameter cannot be combined with the mode parameter or with other prepare parameters.

Setup checks failed: Invalid command line arguments.

I then modified the command to be this:

e:\Setup.exe /PrepareAD /TenantOrganizationConfig c:\MyTenantOrganizationConfig.XML /IAcceptExchangeServerLicenseTerms

I have attached a few different files. EX-Intall.txt files are the redirected output from the CMD window. As well I have attached two ExhangeSetup.log files. One from my first and second attempt.

Attached Files

Add Comment
Host

Can you try to edit your post and add the *.log files again? We had a config issue that prevented those to be added.

Chris Currell

I cant seem to edit my post any more. I will email you the log files and perhaps you can attache them?


replied 12/29/2019 17:06
Last Activity 12/29/2019 19:13

2 Answer(s)

  • Host
    Add Comment

    Reply
    replied 12/29/2019 17:20
  • Mariette Knap
    Add Comment
Add an Answer