devenv.exe opens Visual Studio 2008 (BIDS) instead of Visual Studio 2012

BIDS or VS 2010?

I installed BIDS (Visual Studio 2008) after installing Visual Studio 2012. This caused Start -> Run -> devenv.exe to open BIDS instead of Visual Studio 2012.

BIDS or VS2012

To switch back Visual Studio 2012 again:

  • Visit the registry by going to Start -> Run -> regedt32
  • Go to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\devenv.exe
  • Double click on the (Default) key
  • Change the path appropriate to Visual Studio 2012’s devenv (e.g.┬áC:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe)