May 122021
 

When attempting to install a Microsoft Exchange Cumulative Update, the readiness checker may fail and stop you from proceeding with the upgrade and installation.

You will be presented with the following error, or one similar:

There is a pending reboot from a previous installation of a Windows Server role or feature. Please restart the computer and then run Setup again.

After restarting the server, and re-attempting to install the Exchange CU, it will continue to present this and stop you from proceeding with the installation.

The Problem

There’s a few different things that can cause this. I experienced this issue when trying to upgrade Exchange 2016 CU18 to Exchange 2016 CU20. This issue can also happen when upgrading from Microsoft Exchange 2019 CU versions, as well as earlier versions of Exchange 2013.

I found a few posts online referencing to delete two registry keys, “UpdateExeVolatile” and “PendingFileRenameOperations”, however these didn’t exist for me.

The Fix

I figured I’d try to install a feature, specifically something small that I may or may not ever use, to see if it would work and to see if it would clear whatever flag had been set for the pending restart.

First, I left the Exchange CU installer window open on the prerequisite check, opened the Server Manager and installed the TFTP Client. After finishing, I hit retry and it continued to fail.

I restarted the server, ran the CU installer again which got stuck on the pending restart. This time I closed the Exchange CU upgrade, installed the “Telnet Client” feature, opened the CU upgrade again, and it finally worked and proceeded!

Screenshot of Exchange Pending Reboot Feature Install workaround
Exchange Pending Reboot Feature Install workaround

So with the above in mind, to bypass this issue you must:

  1. Restart Server
  2. Launch Exchange CU Installer
  3. Wait for readiness check to fail (warning of a pending reboot), close installer
  4. Install a feature with the Server Manager, such as “TFTP Client” or “Telnet Client”
  5. Open Exchange CU Installer
  6. Install Microsoft Exchange Cumulative Update successfully!

Hope this helps! Leave a comment and let me know if it worked for you!

  14 Responses to “Cannot install Exchange CU due to pending reboot from a previous installation”

  1. […] Cannot install Exchange CU due to pending reboot from a previous installation […]

  2. This worked for me just now! Thanks so much!

  3. WTF this works for me too, and that “pending reboot” almost drove me crazy.
    Thought i had to check full reg after this try 😀

  4. Thanks a lot, works as described. I have been gettings this message for quite some time now…
    Greetings from Germany

  5. Microsoft yet again failing with their updates, thanks for this saved me some time to look for a solution.
    These guys are just releasing bad releases hoping we go to their crappy cloud. blergh

  6. Trying this now… none of the old tricks are working……………. BOOM! Way to go my man!

  7. Initially didn’t work for me. But then rebooted and retried – now OK, so far…

  8. Thank you!!! HERO

  9. Yes, worked for me, after the TFTP feature install and a server reboot.
    Thank you

  10. Worked perfectly, no reboot required. Many thanks!!

  11. You absolute legend! Works a treat.

  12. This worked for me. Thank you.

  13. you big damn hero – this sorted my issue! Thank you

  14. I had to reboot one more time after installing TFTP and Telnet, but it worked! Thank you very much.

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)