Home » SQL Server » How to avoid windows REBOOT after any operation required restart ?

How to avoid windows REBOOT after any operation required restart ?

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.


  1. siva says:

    Hi Rohit,

    Yesterday only i have the same prob in production environment

    I m createing new named instance it will give the same error, our team suggest this active postpone to this sunday..

    Before i will this post i will follow the same ..

    Any way thans for your information.


Leave a Reply

%d bloggers like this: