How to remove directory context menu added by Visual Studio 2017?
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Over a Mysterious Island Looping
--
Chapters
00:00 How To Remove Directory Context Menu Added By Visual Studio 2017?
00:26 Answer 1 Score 71
00:47 Accepted Answer Score 48
01:26 Answer 3 Score 23
02:15 Answer 4 Score 11
02:41 Answer 5 Score 6
02:53 Thank you
--
Full question
https://superuser.com/questions/1178356/...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#windows10 #contextmenu #visualstudio #visualstudio2017
#avk47
ANSWER 1
Score 71
This answer is originally from here, and I am just reproducing it here for sake of brevity.
Use the Windows Registry editor to delete two keys:
HKEY_CLASSES_ROOT\Directory\Background\shell\AnyCode
HKEY_CLASSES_ROOT\Directory\shell\AnyCode
You may want to back up your registries before going for a delete operation, just a good practice.
ACCEPTED ANSWER
Score 48
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):
When you now do a rightclick the entry is gone:
Delete entry or rename it to ShowBasedOnVelocityId
to enable the entry again:
ANSWER 3
Score 11
You can use ShellMenuView to find this context menu entry and disable it.
- Download the program for your OS (32 or 64 bit) and run the shmnview.exe executable.
- Find in the list something that has to do with Visual Basics and seems to be this entry. (You can sort the list by File Type and look on the entries under with file type Directory)
- Right-click that entry and select Disable Selected Items.
ANSWER 4
Score 6
Based on the answer by @Blaze:
Instead of searching for keys with the registry editor, just copy this into an empty file with a .reg
file extension and execute that file to delete the keys.
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\Directory\Background\shell\AnyCode]
[-HKEY_CLASSES_ROOT\Directory\shell\AnyCode]