How to avoid windows REBOOT after any operation required restart ?
Issue :
Today, I decided to clear my desktop. I am currently running with 2 SQL server instances with different names & versions & are 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.
Feel free to Rate and provide feedback if you find post useful
Hope this help
Ashi







your posts are always so explicative, and i like it because i have a problem in understanding such things.
i will get in touch with this post and site as well , giving this kind of post is really happy.
Thanks for Appreciating worth.
[...] Sometime it ask for reboot and it is difficult in prod environment. you can follow this link to avoid reboot but on your risk. How-to-avoid-windows-reboot-after-any-operation-required-restart [...]
Every time i want to learn something good, i access your website, because of the great structure and coherent ideas please keep providing such good information.
excellent information. i have learned quite a few very helpful information from your blog. thank you very much.
Remarkable article,What you covered was outstanding, do not misunderstand me, I simply think there were some important questions you left unanswered. I think many of us would love to read through the 2nd part; if you could write it of course.