Skip to content

Instantly share code, notes, and snippets.

@galvesco
Forked from en0ndev/visualstudio_contextmenu.md
Created October 15, 2024 19:45
Show Gist options
  • Save galvesco/554198cbe96b881ac1baab4254393a67 to your computer and use it in GitHub Desktop.
Save galvesco/554198cbe96b881ac1baab4254393a67 to your computer and use it in GitHub Desktop.
REMOVE "OPEN IN VISUAL STUDIO" IN THE CONTEXT MENU

How to Remove "Open in Visual Studio" in the Context Menu

Also you can watch the video.
https://www.youtube.com/watch?v=8S7s-p_enSY


STEP 1

  • Press Win+S keys, and search regedit then open Regedit (Registry Editor).

STEP 2

# Go to path of HKEY_CLASSES_ROOT\Directory\Background\shell

STEP 3

# Remove AnyCode key.

STEP 4

# Go to path of HKEY_CLASSES_ROOT\Directory\shell\

STEP 5

# Remove AnyCode key.

It currently deleted from the context menu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment