Share via


How to remove Visual Studio option from right click options from Desktop?

Question

Thursday, April 12, 2018 5:28 PM

All replies (2)

Thursday, April 12, 2018 10:38 PM

Hi,

Please refer to the following article:
How to Clean Up Your Messy Windows Context Menu
https://www.howtogeek.com/howto/windows-vista/how-to-clean-up-your-messy-windows-context-menu/

Regards,

Ashidacchi -- http://hokusosha.com/


Friday, April 13, 2018 7:08 AM | 1 vote

Hi,

Welcome to MSDN forum.

If you don't want to just delete it or can see it being sometimes useful but don't want it cluttering up the context menu, is to move it to the extended context menu (where it is only visible with shift+right-click).

Using the Windows Registry editor, add a new string value under each of the following keys, with the name "Extended":

HKEY_CLASSES_ROOT\Directory\Background\shell\AnyCode

HKEY_CLASSES_ROOT\Directory\shell\AnyCode

You should then see the following contents when either of the above registry keys are selected:

Name        Type    Data

(Default)    REG_SZ    @C:\Program Files (x86)\Common Files\Microsoft Shared\MSEnv\1033\VSLauncherUI.dll,-1002

Extended    REG_SZ

After doing this you will only see "Open in Visual Studio" on folders/directories when you hold down shift, then right click.

refer:

https://developercommunity.visualstudio.com/content/problem/26397/disable-context-menu-for-open-in-visual-studio.html

https://superuser.com/questions/1178356/how-to-remove-directory-context-menu-added-by-visual-studio-2017

Best regards,

Joyce

Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected].