Skip to content

Instantly share code, notes, and snippets.

@Hrxn
Last active January 14, 2016 09:59
Show Gist options
  • Save Hrxn/7143f612e8a94c4cf8ec to your computer and use it in GitHub Desktop.
Save Hrxn/7143f612e8a94c4cf8ec to your computer and use it in GitHub Desktop.
Windows Context Menu Rape Kit
Windows Registry Editor Version 5.00
; Restore your context menu from those
; evil programs that populate your menu
; without your consent.
; If the key has no name, you should
; find the right CLSID first.
; But it works the same way.
; Here, in this example, the offender is
; the Atom Editor for Windows.
; Let's do this
; Removes 'Open in Atom' from the context menu.
; Part I
[-HKEY_CLASSES_ROOT\*\shell\Open File in Atom]
[-HKEY_CLASSES_ROOT\Directory\shell\Open Folder in Atom]
[-HKEY_CLASSES_ROOT\Directory\Background\shell\Open Folder in Atom]
[-HKEY_CLASSES_ROOT\LibraryFolder\Background\shell\Open Folder in Atom]
; Part II
[-HKEY_CLASSES_ROOT\*\shell\Atom]
[-HKEY_CLASSES_ROOT\Directory\shell\Atom]
[-HKEY_CLASSES_ROOT\Directory\Background\shell\Atom]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment