For Visual studio 2017 or newer this is slightly trickier.
Close all instances of visual studio.
Open regedit.
Select "HKEY_USERS"
.
From "File"
menu select "Load Hive"
.
and locate visual studio's private registry hive file, which should be named "privateregistry.bin", could reside for example:
%LOCALAPPDATA%\Microsoft\VisualStudio\15.0_014d6a62\privateregistry.bin
15 = vs2017
16 = vs2019
rest of version is installation / configuration specific.
If you get error like this:
[Window Title]
Load Hive
[Content]
privateregistry.bin
This file is in use.
Enter a new name or close the file that’s open in another program.
[OK]
Need to wait visual studio to shutdown or close / terminate them manually.
in appearing dialog give some name, for example "vs2015_reghive"
Browse under path
HKEY_USERS\vs2015_reghive\Software\Microsoft\VisualStudio\15.0_014d6a62\Packages
and scroll all Packages in there and delete all "SkipLoading" keys there.
Then select your main key HKEY_USERS\vs2015_reghive
, and from menu - "File"
> "Unload Hive"
.
Start Visual studio normally.