Ever wondered how cool would it be to avoid server reboot prompts should you be installing multiple updates or deploying patches on your Windows Servers? I’m sure many of you must have encountered this error sometime before-
“This error indicates that a restart from a previous install or update is pending and the system must be restarted before setup can continue”
Here’s one trick up your sleeve which you may use to avoid such errors-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations
If PendingFileRenameOperations registry key has any value then we got to clean it, in order to overcome this issue.
To delete the PendingFileRenameOperations registry key value-
- Open a registry editor, such as Regedit.exe or Regedt32.exe.
- Navigate to HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\
- In the right navigation pane, right-click the PendingFileRenameOperations key and select Delete.
- Close Registry Editor.