ZeroSharp

Robert Anderson's ones and zeros

Fix Visual Studio Update Links When Running as Administrator

| Comments

This post is about fixing an annoyance whereby Visual Studio refuses to update extensions when running as an administrator.

I always had a problem when an update to an extension or tool tried to open the browser. For instance, I would see this notification in the system tray.

And then when I went to Tools/Extensions and Updates… in Visual Studio, I’d get to something like this:

But the Update button was not responding to any clicks. The only workaround I found was to restart Visual Studio under my normal user account and then the button would work.

The fix at last

It turns out the problem rather specific. It only occurs when you run VS2012 as an administrator and you have Google Chrome set as your default browser. The problem is that older versions of Google Chrome failed to register themselves as the default browser for administrator users. You can confirm this by doing the following from an admin command prompt:

start http://blog.zerosharp.com

You’ll get a message saying Class not registered.

Unfortunately, updating to newer installations of Chrome does not fix the problem. You need to uninstall and reinstall. (This sounds like a lot of hassle, but if you are using Chrome sync it is very easy and only takes about a minute).

  • Uninstall Chrome by going to Control Panel/Uninstall a program. * Open IE and download Chrome.
  • During the installation process it will ask you to enable sync.
  • A few seconds later everything should be back as at it was.

But better, because the Update button in Visual Studio now works.

Comments