Windows – How to remove directory context menu added by Visual Studio 2017

context menuvisual studiovisual studio 2017windows 10

I have installed Visual Studio Community 2017 RC on Windows 10.
After installing, it added a new context menu when right clicked on any directory.

Visual Studio 2017 RC context menu

I want to remove this option, but can't seem to find it from VS2017 settings.

Best Answer

Run regedit.exe, go to HKEY_CLASSES_ROOT\Directory\Background\shell\AnyCode, take ownership of this key, change the permisions for your account and add a DWORD (32Bit) with the name HideBasedOnVelocityId and set the value to 006698a6 (hex):

enter image description here

When you now do a rightclick the entry is gone:

enter image description here

Delete entry or rename it to ShowBasedOnVelocityId to enable the entry again:

enter image description here

Related Question