/DoNotEnableEP parameter not recognised when install CU14 (Exchange 2019)

Shana Miah 0 Reputation points
2025-04-30T16:02:10.64+00:00

Hi All,

I have a similar question:

when I run Setup.exe /IAcceptExchangeServerLicenseTerms_DiagnosticDataOFF /Mode:Upgrade /DonotEnableEP on Exchange 2019 CU14, it comes back with an error saying it does not recognise the /DonotEnableEP parameter. I have check for syntax errors and have ran it as admin as well but no luck.

I have install all CU13 updates and have not had any issues. Also my version is Exchange hybrid, if that makes any difference.

Thanks

Shana

Exchange | Exchange Server | Development
{count} votes

2 answers

Sort by: Most helpful
  1. Anonymous
    2025-05-01T02:14:50.44+00:00

    Hi Shana Miah,

    Thank you for posting your question in the Microsoft Q&A forum.

    Starting with Exchange 2019 CU14, setup enables the Windows Extended Protection (EP) feature on the Exchange server being installed. So /DoNotEnableEP should work only when install Exchange 2019 CU14 and later versions, and we don’t have to use this parameter when install Exchange 2019 CU13:

    Extended Protection enabled by default

    User's image

    For your issue, please try the following suggestions:

    Please double confirm that you have downloaded and mounted that ISO image file for the correct Exchange CU version.

    1. Run CMD as administrator, use the following command to upgrade again:

    E:\Setup.exe /IAcceptExchangeServerLicenseTerms_DiagnosticDataOFF /Mode:Upgrade /DoNotEnableEP

    1. If the issue persists, please upgrade with GUI setup wizard or install without /DoNotEnableEP option. Then we could disable EP manually after upgrading to new Exchange CU. .\ExchangeExtendedProtectionManagement.ps1 -DisableExtendedProtection

    For your reference: Disabling Extended Protection


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

  2. Shana Miah 0 Reputation points
    2025-05-27T11:15:03.5166667+00:00

    Hi Hien-L

    Thank you for your response. It was helpful in that it confirms my research.

    We have applied CU13 and the next upgrade is CU14 but as originally stated the /DoNotEableEP does not work when running from command prompt.

    Your comment about installing with GUI then disable with the script afterwards is something which I have come across in my research. However the main reason for not wishing to do it this way is that it tries to undo the changes made by the setup but it does not revert everything back from what I gather.

    I have come across another setup " Setup.exe /Mode:Upgrade /IAcceptExchangeServerLicenseTerms /EnableExtendedProtection:False". Will this work?

    If not then I will do the GUI install and then disable it with the script.

    Thanks for the help!

    Shana


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.