Issue :
Today, I decided to clear my desktop. I am currently running with around 10 SQL server instances with different names & versions, that I have created for different purpose & not required now.
I start uninstallation of SQL server but after one uninstallation, second uninstallation gives errors of “Restart Computer”.
It’s very difficult to restart computer again & again when you are doing several things in parallel.
Resolution :
Here, I go for shortcut. I have changed the registry value of current session manager to avoid reboot.
Go to Registry Location : HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSessionManager & Clear the entry of string PendingFileRenameOperations.
After change, I click on rerun to check status again for uninstallation & it works.
Note :
1) Its recommended to reboot system, whenever required.
2) Please be careful, while doing any changes to registry.