Visual Studio freezes or hangs on startup

Solution 1:

Have you tried resetting user settings? It did help me:

C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe /ResetUserData

Solution 2:

Run: Devenv /ResetSkipPkgs

http://msdn.microsoft.com/en-us/library/ms241276%28VS.80%29.aspx

or

You are probably looking for the /SafeMode command line switch:

devenv.exe /SafeMode

This will start Visual Studio with all add-ins disabled.

Solution 3:

You can change your Visual Studio 2010 start up settings.

Tools --> Options --> Startup --> At startup --> Show empty environment --> Save

Visual Studio has a plugins limit. Use only plugins that best for you. There is a list for best Visual Studio 2010 plugins for developers.

Visual Studio 2010 - recommended extensions

Solution 4:

devenv.exe /ResetSettings

or

devenv.exe /ResetSetting

Worked fine for me

Solution 5:

I had the same issue with Community 2015 version. I solved it with Vidas Vasiliauskas suggestion, which was to erase user settings.

The thing is that I previously had enterprise 2015 version, in which I was logged in with my Microsoft account. When trying to open community version, it tried to do so with that same account, which I believe was the cause of the issue.

Therefore, I would suggest to those with the same problem to run the following command at Command Line Prompt:

C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe /ResetUserData