http://www.sqlservercentral.com/blogs/mssqlfun/2012/10/06/how-to-avoid-windows-reboot-after-any-operation-required-restart-/

Printed 2014/07/25 02:44PM

How to avoid windows REBOOT after any operation required restart ?

2012/10/06

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.



Copyright © 2002-2014 Simple Talk Publishing. All Rights Reserved. Privacy Policy. Terms of Use. Report Abuse.