When developing applications and/or integrations for Visual Studio 2005 with the Visual Studio 2005 SDK, for example using the DSL Tools, the testing and debugging is done using a Visual Studio Instance that are running with a special registry hive, instead of the normal so you don’t mess up your normal Visual Studio operations.

After a while, when you have created a lot of testing applications the Visual Studio interface is bloated with messed up toolbars, menus and templates you will need clear this experimental hive. Fortunatley the VS SDK comes with a utility called VsRegEx.exe which will reset the hive to the original state or to the Last Known Good state.

To reset it to the original state, just use the following command:

c:\Program Files\Visual Studio 2005 SDK\2006.09\VisualStudioIntegration\Tools\Bin>VsRegEx.exe getorig