Error Message:

"A reboot is pending. Please restart before starting Visual Studio".

I installed Visual Studio (Visual Basic 2015 and SQL 2015) and after what looked like a successful install I then got the "Reboot" window.

Not expecting it I had a bunch of things open. So I closed a bunch a bunch of things, and did the reboot myself.

Now I cannot run Visual Basic because it ONLY gives me the above error message in the pop-up window. It won't even let me do a re-install.

All it does is keep giving me the above error message.

If you have any advice that's better than a complete uninstall/reinstall I'm sure everyone in my situation would benefit from it.

How can I resolve this issue?


5 Answers 5


I'm sure this answer is no longer reliant to OP but for any other people with this problem instead of selecting the 'Shut Down' option use the 'Restart' one. Apparently there is a difference between the two when it comes to installing updates (which in this instance is whatever Visual Studio needs to do to finish installing).


I had the same problem after installing VS2015 Update 1 on Windows 10.

I went to System Settings → Windows Update Settings → Clicked the Restart button which caused my computer to restart and apply pending windows updates.


I had a similar problem after installing Exchange Server; and while I know it's not the same problem you're having, it put me into a continual pending reboot pattern.


HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations

I had to delete this key in order to continue the reboot and make everything work. The actual steps are listed in the technet article I posted above.


There are two methods:


  • Restart PC (not shutdown)
  • The link is now dead, making this answer completely useless. Wayback machine has nothing.
    – Dev
    Jul 1, 2021 at 14:32

In the registry...search for "rebootreq" - it should come up with one or more keys that have RebootRequired in it. Delete those (keep F3ing till it stops finding more). That should do the trick.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.