Exchange Server during installation or after CU/SU "A reboot from a previous installation is pendingYou may encounter the error “.
Generally, this error occurs because a restart is expected due to prerequisites or updates made before installation or before CU/SU.
Table of Contents
Source of Exchange Server A Reboot From a Previous Installation Is Pending Error
Exchange Server is a product that inherently has and requires many prerequisites, interacts with the operating system during installation, and may require some components to be restarted. This error message (A reboot from a previous installation is pending) indicates that there is a reboot operation on the Windows operating system that has not been started before.
Usually, such pending restarts are caused by updates to the system, configuration changes, or the installation process of other software. Windows Registry keeps track of the changes made and pending restarts, and checks these records during the Exchange Server installation process. Therefore, if the previous installation or update was not completed or a restart was not performed, you may encounter this error message during Exchange Server installations.
If a previous program or Windows update did not install successfully, Windows and other programs may think a restart is necessary. In that case, you will continue to see this error every time you run Exchange Setup (the failed installation cannot fix the condition that indicates a restart is necessary).
F:Setup.exe /IAcceptExchangeServerLicenseTerms_DiagnosticDataON /Mode:Upgrade /DoNotEnableEP_FEEWS
Microsoft Exchange Server 2019 Cumulative Update 14 Unattended Setup
Copying Files...
File copy complete. Setup will now collect additional information needed for installation.
Languages
Management tools
Mailbox role: Transport service
Mailbox role: Client Access service
Mailbox role: Mailbox service
Mailbox role: Front End Transport service
Mailbox role: Client Access Front End service
Performing Microsoft Exchange Server Prerequisite Check
Configuring Prerequisites COMPLETED
Prerequisite Analysis FAILED
A reboot from a previous installation is pending. Please restart the system and then rerun Setup.
For more information, visit: http://technet.microsoft.com/library(EXCHG.150)/ms.exch.setupreadiness.RebootPending.aspx
How to Fix Exchange Server A Reboot From a Previous Installation Is Pending Error
Usually, you need to restart the server to resolve this error, but you may get this error again after a restart (for example, additional programs or Windows updates also require a restart). Try restarting the server.
If you see this error after rebooting the server more than two or three times, try reinstalling any programs or Windows updates you have installed recently.
To resolve this error, you can follow the steps below;
1- Restarting the Exchange Server
After the prerequisite installations for Exchange Server installation or CU/SU upgrade, if you have not rebooted the server, you will see the GUI or CMD screen A reboot from a previous installation is pending You may encounter an error, in which case you need to restart the server and perform the same operations with GUI/CMD to successfully perform maintenance on the Exchange Server.
2- Check Regedit on Exchange Server
Exchange Server keeps many of its configurations in regedit during installation or CU/SU upgrade process, in some cases restarting the server does not solve the problem.
Note: This process should be done carefully, as incorrect changes can lead to greater problems in the system.
You need to follow the steps below via Regedit

- HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerPendingFileRenameOperations
PendingFileRenameOperations You need to clear all records in the value and save it this way.
PendingFileRenameOperations You must delete all the values in it and save it with the "OK" button.

PendingFileRenameOperations After clearing the values, the relevant record in regedit should appear empty.

Checking PendingFileRenamaOperations Value with PowerShell
PendingFileRenameOperations
To check the key with PowerShell, you can use the following command. This command will read the relevant registry key and show if there is any “PendingFileRenameOperations” value:
Get-ItemProperty -Path 'HKLM:SYSTEMCurrentControlSetControlSession Manager' -Name PendingFileRenameOperations
If you see pending file name changes and want to clear those records, PendingFileRenameOperations
You can either manually deregister it or make sure you complete all system restarts.
After these operations, you can successfully continue with Exchange Server Installation or CU/SU upgrades. You can view our other articles for Exchange Server from the link below;
- https://cengizyilmaz.net/microsoft-exchange-server-now-officially-supports-http-strict-transport-security-hsts/
- https://cengizyilmaz.net/alternate-witness-server-for-exchange-server/
2 comments on “Exchange Server A Reboot From a Previous Installation Is Pending”