Exchange 2016 CU19 update

Sudz28 186 Reputation points
2021-01-22T18:48:21.057+00:00

I have been tasked with installing CU19 on an Exchange 2016 server (running on a Windows 2012 R2 VM). I have never installed or updated Exchange in my life, so this should be... fun. This Exchange server is the only one in our enclave, not connected to the internet in any way, so will be offline to users while I go through this process.
OS: Windows Server 2012 R2, build 9600
Exchange: Version 15.1, build 1415.2, CU8
.NET Framework 4.8.0
I have the CU19 .iso file moved over and ready to go. I have updated the server with the latest patches available. I believe all I need to do at this point is to stop the HubTransport, put it into Maintenance mode, take a Snapshot of the VM (gotta be safe!), mount the .iso file, run the Setup.exe file, and let it roll. However I see references online to having to run "PrepareAD" from the command line. I'm not sure why I have to do this, or even if I truly DO need to do this? I saw something else about how I need to ensure "ADSchema" is updated as well. Again, not sure how/why I need to this if at all.

Finally, I see that if there are any customizations for our current Exchange server they will be lost when I run the CU19 update - can this actually be true? It seems strange to me that an update wouldn't at least give you the option of retaining any customized settings/files in this day and age. Assuming it IS true, how do I know if any of these customizations exist so that I can save them off first?

I'm a bit paranoid about this given that, again, I have no previous experience with supporting Exchange and the people who originally set this up are all gone and unreachable for questions.
Thanks!
Sudz

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,613 questions
0 comments No comments
{count} votes

Accepted answer
  1. Andy David - MVP 1.5L Reputation points MVP
    2021-01-23T21:26:22.303+00:00

    A couple of thoughts:

    1. If this is a single Exchange Server, there isnt much value in putting the server in maintenance mode, though it wont really hurt . I assume you are doing this off hours anyway and will take a full Exchange aware backup before applying if this is a single Exchange Server - not in a cluster/database availability group.
    2. Restoring Guest snapshots isnt supported. If something happens, you will need to reinstall the server using the disasterrecovery switch and restore a good Exchange Full Backup

    https://learn.microsoft.com/en-us/exchange/plan-and-deploy/virtualization?view=exchserver-2019

    Some hypervisors include features for taking snapshots of virtual machines. Virtual machine snapshots capture the state of a virtual machine while it's running. This feature enables you to take multiple snapshots of a virtual machine and then revert the virtual machine to any of the previous states by applying a snapshot to the virtual machine. However, virtual machine snapshots aren't application aware, and using them can have unintended and unexpected consequences for a server application that maintains state data, such as Exchange. As a result, making virtual machine snapshots of an Exchange guest virtual machine isn't supported.

    Recovering a server:
    https://learn.microsoft.com/en-us/exchange/high-availability/disaster-recovery/recover-exchange-servers?view=exchserver-2019

    You should run those prep steps each individually. Why? Because that ensure the correct permissions are applied to the Exchange Org
    https://learn.microsoft.com/en-us/exchange/plan-and-deploy/prepare-ad-and-domains?view=exchserver-2019

    E:\Setup.exe /IAcceptExchangeServerLicenseTerms /PrepareSchema  
    E:\Setup.exe /IAcceptExchangeServerLicenseTerms /PrepareAD  
    E:\Setup.exe /IAcceptExchangeServerLicenseTerms /PrepareAllDomains  
    

    As far as customizations, that refers to config files that may be modified and yes that is true. If you dont have any documentation or change logs from the previous people who supported your Exchange org, then I really wouldnt worry about it. Most likely they did not make changes and even if some were made, you probably wont notice if something is not working right and if you do, you do some searching to see what was probably changed.
    But honestly, I would proceed and not worry about customizations if you arent able to track those down

    The reality is, CU8 is out of support and CU19 contains many security updates your Org needs and that far out weighs anything else!

    More if you havent seen this already.

    https://practical365.com/exchange-server/installing-cumulative-updates-on-exchange-server-2016/

    0 comments No comments

4 additional answers

Sort by: Most helpful
  1. Sudz28 186 Reputation points
    2021-01-28T17:13:32.093+00:00

    That fixed my issue, the upgrade completed successfully! I only had to change the "DiscoverySearchMailbox", no need to mess with any others. Our Admin accounts as it turns our are not mailbox enabled (didn't know that prior to this, again I'm new to the office) so that explains the discrepancy.
    Thanks again for all your help!

    1 person found this answer helpful.
    0 comments No comments

  2. Eric Yin-MSFT 4,386 Reputation points
    2021-01-25T03:12:15.363+00:00

    Agree with Andy, you don't have to keep it in maintaince mode, and you can run the command prepareAD with the setup.exe open, then click "retry" and go on.

    In addition, what kind of customizations do you mean? Settings in EAC or the server side? In mose cases, updating/installing a new server would not change the former settings.


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    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.

    0 comments No comments

  3. Sudz28 186 Reputation points
    2021-01-25T15:05:57.657+00:00

    Andy, thank you for this information! I guess part of my problem is being new to supporting MS infrastructure servers, I'm not entirely sure what is required and what isn't. I am actually doing this during regular hours, our users will just have to be without email for a couple of hours I guess. It is indeed a single Exchange server, in a single domain (no parent or child domains).

    The Snapshot I'm referring to is via vSphere 6.7. I'm not sure I understand what MS is referring to when they say "...making a virtual machine snapshot of an Exchange guest virtual machine isn't supported". I have taken snapshots of this server before. Either way, I'll try to make sure we have a good/recent NetBackup backup of the VM.

    With regards to the /PrepareSchema, /PrepareAD, and /PrepareAllDomains commands (probably don't need PrepareDomain?), are these things I can run ahead of time - like the day before my planned upgrade? Or do I need to do them literally just prior to running Setup.exe?

    Eric, I'm not sure what customizations, I guess that was sort of my question. The MS article I was reading was saying that they would be overwritten so be sure to have backups of them, and it gave two examples ("Any customized Exchange or Internet Information Server (IIS) settings that you made in Exchange XML application configuration files on the Exchange server (for example, web.config files or the EdgeTransport.exe.config file) will be overwritten when you install an Exchange CU.").
    Scott
    p.s. - Sorry, I tried to post this as a comment on the other answers but for some reason nothin happens when I hit 'submit' after putting in my comment. It was less than 1000 characters, so I don't know what the issue is.


  4. Sudz28 186 Reputation points
    2021-01-28T13:56:50.183+00:00

    Failing! I got as far along as "Step 13 of 17: Mailbox role: Mailbox Service" and an error gets thrown, with my option to 'exit' the installation. It's complaining that I need to "upgrade the discovery mailboxes to R5 version, this will fix the RecipientDisplayType property of the discovery mailbox which was wrong in R4". I am investigating now to see what the mitigation is.


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.