Sign in with Microsoft
Sign in or create an account.
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.


When you run an unattended (command line) installation of Microsoft Exchange Server 2019 Cumulative Update 11 (CU11) or a later CU, or Microsoft Exchange Server 2016 CU22 or a later CU, Setup fails, and you receive the following message: 

Setup.EXE /m:upgrade /IAcceptExchangeServerLicenseTerms

You need to accept the license terms to install Microsoft Exchange Server 2019. To read the license agreement, visit To accept the license agreement, add the /IAcceptExchangeServerLicenseTerms_DiagnosticDataON or /IAcceptExchangeServerLicenseTerms_DiagnosticDataOFF parameter to the command you're running. For more information, run setup /?.


Exchange Server 2019 CU11 and Exchange Server 2016 CU22 introduce two new setup switches for the EULA, and remove an existing parameter (IAcceptExchangeServerLicenseTerms). This change was made to enable administrators to set the state of diagnostic data collection that is done in Exchange Server 2019 CU11 and Exchange Server 2016 CU22 and later CUs. 


To accept the EULA and set the state of diagnostic data collection, use either of following parameters:

  • /IAcceptExchangeServerLicenseTerms_DiagnosticDataON (This parameter enables sending data to Microsoft.)

  • /IAcceptExchangeServerLicenseTerms_DiagnosticDataOFF (This parameter disables sending data to Microsoft.)

For example, run the following command to accept the EULA and enable sending data to Microsoft:

  • Setup.exe /m:upgrade /IAcceptExchangeServerLicenseTerms_DiagnosticDataON

For more information about the data that will be collected, see New security feature in September 2021 Cumulative Update for Exchange Server.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!