I was installing SQL Server 2008 Service Pack 1 on one of our servers at work and I ran into a strange error. The installer was indicating that a reboot was required. I rebooted the box and the installer reported the same error.
I found a way to prevent this from happening:
- Open up the Run…command
- Enter regedit.exe
- Navigate to the following key:
- HKEY_LOCAL_MACHINE
- System
- CurrentControlSet
- Control
- SessionManager
- Control
- CurrentControlSet
- System
- HKEY_LOCAL_MACHINE
- Remove the PendingFileRenameOperations key
- Reboot the machine
This should fix the problem. Make sure to only delete the key if you are sure that the rename operation isn’t critical. In my case it was a stuck HP printer DLL.