Jump to content

Looking For Right-Click Context Menu Reg Files


Recommended Posts

I'm looking for right-click Context Menu registry files that will remove some of these shortcuts.

I want to edit my Context Menus manually. I don't want to use Context Menu Editors like ShellExView. I also don't want to hack dlls to remove any.

I'm looking specifically for registry tweak files.

So far I've only come up with a few. Hopefully some of you can contribute some of yours for me.

Here's only a few of what I would still like to remove manually with a registry file, but I do want to remove others, too. So if you have others, I would appreciate hearing about them.

Remove From My Computer Right Click:

Remove Search From My Computer

Remove Map Network Drive From My Computer

Remove Disconnect Network Drive From My Computer

Remove Show Desktop From My Computer

Remove Rename From My Computer

Remove From Drives and Folders Right Click:

Sharing and Security

Format

Search

Create Image

Remove From Music Files Right Click:

Add to Playlist

Add to Sync List

Create Shortcut

Remove From Video Files:

Add to Now Playing List

Add to Playlist

Add to Sync List

Add to Burn List

Play on My

Thanks,

Bold_Fortune

So far I've come up with these:

Windows Registry Editor Version 5.00

;Removes Briefcase, Bitmap Image, Wordpad Document, Eraser Task Document, Rich Text Document, Wav Sound and Compressed (zipped) Folder from New Menu.
[-HKEY_CLASSES_ROOT\.bfc\ShellNew]
[-HKEY_CLASSES_ROOT\.bmp\ShellNew]
[-HKEY_CLASSES_ROOT\.doc\WordPad.Document.1]
[-HKEY_CLASSES_ROOT\.ers\ShellNew]
[-HKEY_CLASSES_ROOT\.rtf\ShellNew]
[-HKEY_CLASSES_ROOT\.wav\ShellNew]
[-HKEY_CLASSES_ROOT\.zip\CompressedFolder\ShellNew]

;Remove "Optimize with PerfectDisk" from Drive Icon Right-Click
[-HKEY_CLASSES_ROOT\Drive\shell\Optimize using PerfectDisk]

;Remove Eraser Text From Recycle Bin Right Click
[-HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\Shell\Erasext]

;Remove Manage From My Computer Right Click
[-HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Manage]

;Remove Explore From My Computer, Drives and Folders Right Click
[-HKEY_CLASSES_ROOT\Folder\shell\explore]

;Remove Search From My Computer Right Click
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\find]

Link to comment
Share on other sites


  • 3 weeks later...

Hey Bold,

I'm not sure if this helps at all, but I found a command for removing the WMP entries in the context menus.

regsvr32 /u wmpshell.dll

This will completely remove all WMP related entries in the context menus.

Hope this helps!

Edited by Zxian
Link to comment
Share on other sites

  • 1 month later...

Hi, Cybertronic. I think I have what you are looking for within the reg file I'll post below.

Zxian, sorry, I just saw this. Thanks, but the problem with that for me is it will remove every context menu from media files. I only want to remove these:

Remove From Music Files Right Click:

Add to Playlist

Add to Sync List

Create Shortcut

Remove From Video Files:

Add to Now Playing List

Add to Playlist

Add to Sync List

Add to Burn List

Play on My

Anyway, as my search continues for these tweaks, my Master Reg File for removing right-click context menu items grows. Maybe some of you can get something from it...

Windows Registry Editor Version 5.00

;Removes Briefcase, Bitmap Image, Wordpad Document, Eraser Task Document, Rich Text Document, Wav Sound and Compressed (zipped) Folder from New Menu.
[-HKEY_CLASSES_ROOT\.bfc\ShellNew]
[-HKEY_CLASSES_ROOT\.bmp\ShellNew]
[-HKEY_CLASSES_ROOT\.doc\WordPad.Document.1]
[-HKEY_CLASSES_ROOT\.ers\ShellNew]
[-HKEY_CLASSES_ROOT\.rtf\ShellNew]
[-HKEY_CLASSES_ROOT\.wav\ShellNew]
[-HKEY_CLASSES_ROOT\.zip\CompressedFolder\ShellNew]

;Remove Explore From My Computer, Drives and Folders Right Click
[-HKEY_CLASSES_ROOT\Folder\shell\explore]

;Remove Manage From My Computer Right Click
[-HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Manage]

;Removes Map Network Drive and Disconnect Network Drive From Tools Menu and My Network Places Right Click
;This also removes the Add Network Place Icon from an open My Network Place window and the Network Setup Icon
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoNetConnectDisconnect"=dword:00000001

;Remove Open With From Right Click
[HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\Open With]
@=""

;Remove Search From My Computer Right Click
[-HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\find]

;Remove Sharing and Security From Drives and Folders Right Click
[-HKEY_CLASSES_ROOT\Drive\shellex\ContextMenuHandlers\Sharing]

[-HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers\Sharing]

;Remove Eraser Text From Recycle Bin Right Click
[-HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\Shell\Erasext]

;Remove Optimize with PerfectDisk from Drive Icon Right-Click
[-HKEY_CLASSES_ROOT\Drive\shell\Optimize using PerfectDisk]

;Remove Print For Image Files
[-HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\print]

;Remove Print From inf File
[-HKEY_CLASSES_ROOT\inffile\shell\print]

;Remove Print From Internet Shortcut
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\InternetShortcut\shell\print]

;Remove Print From reg Files
[-HKEY_CLASSES_ROOT\regfile\shell\print]

;Remove Print From txt Files
[-HKEY_CLASSES_ROOT\txtfile\shell\print]

;Remove Print Fron ini File
[-HKEY_CLASSES_ROOT\inifile\shell\print]

;Remove Record From Wave Files
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\SoundRec\shell\record]

;Remove Search From Drive Icon
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Drive\shell\find]

;Remove Search From Folder
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\find]

Link to comment
Share on other sites

... I only want to remove these:

Remove From Music Files Right Click:

Add to Playlist

Add to Sync List

Create Shortcut

Remove From Video Files:

Add to Now Playing List

Add to Playlist

Add to Sync List

Add to Burn List

Play on My

Anyway, as my search continues for these tweaks, my Master Reg File for removing right-click context menu items grows.  Maybe some of you can get something from it...

I think I figured out part of the problem...

I was looking the .reg file you posted and realized that a reg file i had posted elsewhere awhile back (to disable "Print" on image & text files) didn't work (doh! :whistle: ) ... at least not on the text-based files. I found out the problem was that it had worked on my other pc because i had deleted a few keys BEFORE removing the keys i used in my reg file so i thought they must work together.

Just to see, I tried it on "Add to playlist" (have an earlier version of WMP so thats the only 1 I had). I guess I should mention that I only tested this on .wmv and .mpg because thats what i had handy. On the bright side, it worked on both pcs i tested on & w/ both filetypes. :D here's the code:

Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\SystemFileAssociations\video\ContextMenuHandlers\WMPAddToPlaylist]
[-HKEY_CLASSES_ROOT\WMVFile\shellex\ContextMenuHandlers\WMPAddToPlaylist]
; note this key appears to control .mpeg AND .mpg
[-HKEY_CLASSES_ROOT\mpegfile\shellex\ContextMenuHandlers\WMPAddToPlaylist]
[-HKEY_CLASSES_ROOT\ASFFile\shellex\ContextMenuHandlers\WMPAddToPlaylist]
[-HKEY_CLASSES_ROOT\AVIFile\shellex\ContextMenuHandlers\WMPAddToPlaylist]

Hope that helps; if it works this time, maybe you can use that to at least remove the other WMP entries. :P

Edited by spiritpyre
Link to comment
Share on other sites

Thanks, spiritpyre. That helped me narrow it down a lot. This is what I came up with...

Windows Registry Editor Version 5.00

;This key also needs to be removed along with any of the keys below
[-HKEY_CLASSES_ROOT\SystemFileAssociations\video\shellex\ContextMenuHandlers\WMPAddToPlaylist]

;Remove Add to Now Playing List and Add to Playlist for WMV files
[-HKEY_CLASSES_ROOT\WMVFile\shellex\ContextMenuHandlers\WMPAddToPlaylist]

;Remove Add to Now Playing List and Add to Playlist for MPEG AND MPG Files
[-HKEY_CLASSES_ROOT\mpegfile\shellex\ContextMenuHandlers\WMPAddToPlaylist]

;Remove Add to Now Playing List and Add to Playlist for ASF Files
[-HKEY_CLASSES_ROOT\ASFFile\shellex\ContextMenuHandlers\WMPAddToPlaylist]

;Remove Add to Now Playing List and Add to Playlist for Avi Files
[-HKEY_CLASSES_ROOT\AVIFile\shellex\ContextMenuHandlers\WMPAddToPlaylist]

And that lead me to finding this one...

Windows Registry Editor Version 5.00

;Remove Play On My For AVI File
[-HKEY_CLASSES_ROOT\AVIFile\shellex\ContextMenuHandlers\PlayOnMyTV]

;Remove Play On My For MPEG and MPG Files
[-HKEY_CLASSES_ROOT\mpegfile\shellex\ContextMenuHandlers\PlayOnMyTV]

;Remove Play On My For WMV File
[-HKEY_CLASSES_ROOT\WMVFile\shellex\ContextMenuHandlers\PlayOnMyTV]

Remaining I'd Like To Remove:

Remove From Music Files Right Click:

Add to Playlist

Add to Sync List

Create Shortcut

Remove From Video Files:

Add to Sync List

Add to Burn List

Create Shortcut

Edited by Bold_Fortune
Link to comment
Share on other sites

just tested on a pc w/ wmp 10:

Windows Registry Editor Version 5.00

; Remove "Add to Sync List" & "Add to Burn List" from .mp3 conext menu
[-HKEY_CLASSES_ROOT\SystemFileAssociations\.mp3\shellex\ContextMenuHandlers\WMPBurnAudioCD]

; Remove "Add to Sync List" & "Add to Burn List" from .wav conext menu
[-HKEY_CLASSES_ROOT\SystemFileAssociations\.wav\shellex\ContextMenuHandlers\WMPBurnAudioCD]

; Remove "Add to Sync List" & "Add to Burn List" from .wma conext menu
[-HKEY_CLASSES_ROOT\SystemFileAssociations\.wma\shellex\ContextMenuHandlers\WMPBurnAudioCD]

; Remove "Add to Sync List" & "Add to Burn List" from .midi/.mid conext menu
[-HKEY_CLASSES_ROOT\SystemFileAssociations\.midi\shellex\ContextMenuHandlers\WMPBurnAudioCD]
[-HKEY_CLASSES_ROOT\SystemFileAssociations\.mid\shellex\ContextMenuHandlers\WMPBurnAudioCD]
[-HKEY_CLASSES_ROOT\MIDFile\shellex\ContextMenuHandlers\WMPBurnAudioCD]

note: usually the music files each only needed one key removed, but midi seems to be different (not that its the most popular format or anything ;) ) although i should probably mention that I didn't test whether or not ALL of those entries had to be removed for midi (their listed in the order that I got rid of them).

Edited by spiritpyre
Link to comment
Share on other sites

Yeah, that's the problem.

"Add to Sync List" & "Add to Burn List" can be only removed at the same time, I'm told. They can't be removed separately.

I want to keep: "Add to Burn List" and "Add to Now Playing List."

I want to loose: "Add to Sync List" and "Add to Playlist."

Oh, and I want to loose: "Create Shortcut."

Link to comment
Share on other sites

And for the video....

Windows Registry Editor Version 5.00

; Remove "Add to Sync List" & "Add to Burn List" from .mpeg/.mpg conext menu
[-HKEY_CLASSES_ROOT\SystemFileAssociations\.mpeg\shellex\ContextMenuHandlers\WMPBurnAudioCD]
[-HKEY_CLASSES_ROOT\SystemFileAssociations\.mpg\shellex\ContextMenuHandlers\WMPBurnAudioCD]
[-HKEY_CLASSES_ROOT\mpegfile\shellex\ContextMenuHandlers\WMPBurnAudioCD]

; Remove "Add to Sync List" & "Add to Burn List" from .avi conext menu
[-HKEY_CLASSES_ROOT\SystemFileAssociations\.avi\shellex\ContextMenuHandlers\WMPBurnAudioCD]
[-HKEY_CLASSES_ROOT\AVIFile\shellex\ContextMenuHandlers\WMPBurnAudioCD]

;---------------------
; Note: just guessing from here out as I don't have any of these handy.
; but I would bet that they'd still work.

; Remove "Add to Sync List" & "Add to Burn List" from .wmv conext menu
[-HKEY_CLASSES_ROOT\SystemFileAssociations\.wmv\shellex\ContextMenuHandlers\WMPBurnAudioCD]
[-HKEY_CLASSES_ROOT\WMVFile\shellex\ContextMenuHandlers\WMPBurnAudioCD]

; Remove "Add to Sync List" & "Add to Burn List" from .asf conext menu
[-HKEY_CLASSES_ROOT\SystemFileAssociations\.asf\shellex\ContextMenuHandlers\WMPBurnAudioCD]
[-HKEY_CLASSES_ROOT\ASFFile\shellex\ContextMenuHandlers\WMPBurnAudioCD]

Also I believe "Create Shortcut" is a standard option on all filetypes much like "Copy" and "Paste", so if it IS possible to get rid of it I doubt that it will be easy to find -- or well documented anywhere. but if you DO manage to find please let me know. :D

Link to comment
Share on other sites

I got it, spiritpyre

Windows Registry Editor Version 5.00

;Remove "Add to Sync List" & "Add to Burn List" from WMV Files
[-HKEY_CLASSES_ROOT\SystemFileAssociations\.wmv\shellex\ContextMenuHandlers\WMPBurnAudioCD]

[-HKEY_CLASSES_ROOT\WMVFile\shellex\ContextMenuHandlers\WMPBurnAudioCD]

Link to comment
Share on other sites

Yeah, that's the problem. 

"Add to Sync List" & "Add to Burn List" can be only removed at the same time, I'm told. They can't be removed separately.

I want to keep: "Add to Burn List" and "Add to Now Playing List."

I want to loose: "Add to Sync List" and "Add to Playlist."

Oh, and I want to loose: "Create Shortcut."

I think what's happening is that the system has a dll file registered that adds entries for the types mentioned above. The dll file, when registered, adds BOTH menu items and when unregistered removes BOTH items. What we've been doing by removing registry keys is cutting the link to that dll (which is just a shell extension). It would be nice to be able to remove them individually (my brother wants me to removing everything but the "Add to Now Playing List" item on his pc...) I think it might be a bit of a task.

Bottom line: I think to keep one item and not the other, someone would basically have to write a shell extension (aka windows DLL file) that works with WMP. I've been working on several other shell extensions lately (in fact I should have some I'll be posting as soon as I can figure out how to refresh the file system) and I don't **think** it would be very hard to write IF I knew the commandline/arguments/syntax/whatever to pass along to WMP when its called. (i.e. if I could do the same thing from the commandline it **should** be easy as pie) So... if anybody can post those, i'll give it a shot.

<Note> I also updated my regfile (see #1; must unzip) that removes "Print" from the context menu. (Thanks for helping me realize it needed extra code lol :P )

Edited by spiritpyre
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...