Exchange 2007 - reboot from a previous installation is pending
Today I found an interesting problem when trying to install some Exchange Server 2007 SP1 components on a system. At first, I just tried to run the /PrepareLegacyExchangePermissions option of setup, then tried to install the admin tools, and finally tried to install the mailbox role on a Windows 2003 system.
I kept getting an error both from the command prompt and through the GUI setup that indicated:
A reboot from a previous installation is pending. Please restart the systemand rerun setup.
I tried rebooting, I tried applying all the pending service packs and hot fixes, and even installing the .NET Framework 3.5, but nothing worked. I finally found that the Exchange Setup checks the following Registry key for any pending file renames:
If some installation program needs to rename a file on reboot (because it can't rename it during the setup process maybe because it is in use), then it puts it in this key. I found several entries like this:
I deleted these entries and then tried the Exchange Server 2007 SP1 setup again and it worked just fine. I am assuming that it is safe to delete these entries from this Registry, but always try a reboot first before doing so.
Labels: Exchange 2007