A system restart from a previous installation or update is pending

5 Jul

I’ve recently installed Microsoft’s Threat Management Gateway and more recently SharePoint Services 2010. Both have been installed on a Hyper-V VM and both times, after installing the prerequisites I’ve been told that I can’t install the main software as a restart is pending.

No matter how many times I restart the VM, I still go this message.

I managed to find a work around for TMG and SPS by running regedit and deleting the registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations

Once deleted I could continue the installation process.