how to disable Play with Windows Media Player contextual menu? - S... 1 of 2 http://superuser.com/questions/178566/how-to-disable-play-with-win... how to disable Play with Windows Media Player contextual menu? in Windows (Vista), when viewing a folder, when right clicking on a item, there's the menu “Play with Windows Media Player”. How to set it so such submenu does not show? (not sure I want to uninstall Windows Media Player though) I have no problem if modding Registry is required, just need to know where... windows windows-media-player context-menu edited Dec 15 '11 at 4:42 studiohack ♦ 9,359 11 46 92 asked Aug 21 '10 at 1:40 Xah Lee 217 2 10 I'm looking for the same thing. Strangely enough (is it really?), it does not seem to be hooked into the system in the usual manner (neither Sysinternals' Autoruns, nor Nirsoft's ShellExView, and not even Regedit can find it). I suspect that it might be part snuck into some other "general-purpose" module instead of its own DLL, thus making it hard to find. If (uh, no, when), I find it, I'll let you know. – Synetech Jan 19 '11 at 19:43 Nevermind, it was much easier than I thought. Unfortunately I wasted time by using Process Monitor to observe registry accesses instead of just searching the registry for the string. Duh. :) – Synetech Jan 19 '11 at 20:23 3 Answers The relevant entry occurs several times in the registry, but only one place needs to be removed to disable the context-menu entry. Further, the context-menu entry exists separately for different types of media files and folders, depending on whether it is audio, image, or video. Finally, there are separate entries to play the items in WMP and to to add them to the WMP playlist. This creates twelve permutations that need to be removed (actally, only ten because there doesn't seem to be entries for image files, only image folders). Here's how to remove both commands from all three media types for both files and folders: Create a .reg file with the following content and run it. REGEDIT4 ;Remove "Play with Windows Media Player" context menu entries [-HKEY_CLASSES_ROOT\SystemFileAssociations\Directory.Audio\shell\Enqueue] [-HKEY_CLASSES_ROOT\SystemFileAssociations\Directory.Audio\shell\Play] [-HKEY_CLASSES_ROOT\SystemFileAssociations\Directory.Image\shell\Enqueue] [-HKEY_CLASSES_ROOT\SystemFileAssociations\Directory.Image\shell\Play] [-HKEY_CLASSES_ROOT\SystemFileAssociations\Directory.Video\shell\Enqueue] [-HKEY_CLASSES_ROOT\SystemFileAssociations\Directory.Video\shell\Play] [-HKEY_CLASSES_ROOT\SystemFileAssociations\audio\shell\Enqueue] [-HKEY_CLASSES_ROOT\SystemFileAssociations\audio\shell\Play] [-HKEY_CLASSES_ROOT\SystemFileAssociations\video\shell\Enqueue] [-HKEY_CLASSES_ROOT\SystemFileAssociations\video\shell\Play] Adding them back is much longer (below), so you may want to back them up. If you want to keep the context-menu entries but simply remove the accelerator ( ) so that you can paste files easily without having to first go through the WMP entry, you need to modify a different registry entry: In this key: [HKEY_CLASSES_ROOT\Local Settings\MuiCache\149\52C64B7E] Change this value: "@C:\Windows\system32\unregmp2.exe,-9801"="&Play with Windows Media Player" To this (or something else; the & marks the accelerator): "@C:\Windows\system32\unregmp2.exe,-9801"="Play with Windows Media Player" Similarly, the Add to WMP entry is: "@C:\Windows\system32\unregmp2.exe,-9800"="&Add to Windows Media Player list" REGEDIT4 ;Restore "Play with Windows Media Player" context menu entries [HKEY_CLASSES_ROOT\SystemFileAssociations\audio\shell\Enqueue] 10/09/2013 14.40 how to disable Play with Windows Media Player contextual menu? - S... 2 of 2 http://superuser.com/questions/178566/how-to-disable-play-with-win... @="&Add to Windows Media Player list" "MUIVerb"=hex(2):40,25,53,79,73,74,65,6d,52,6f,6f,74,25,5c,73,79,73,74,65,6d,33,32,5c ,75,6e,72,65,67,6d, "NeverDefault"="" [HKEY_CLASSES_ROOT\SystemFileAssociations\audio\shell\Enqueue\command] "DelegateExecute"="{45597c98-80f6-4549-84ff-752cf55e2d29}" [HKEY_CLASSES_ROOT\SystemFileAssociations\audio\shell\Play] @="&Play with Windows Media Player" "MUIVerb"=hex(2):40,25,53,79,73,74,65,6d,52,6f,6f,74,25,5c,73,79,73,74,65,6d,33,32,5c ,75,6e,72,65,67,6d, "NeverDefault"="" [HKEY_CLASSES_ROOT\SystemFileAssociations\audio\shell\Play\command] "DelegateExecute"="{ed1d0fdf-4414-470a-a56d-cfb68623fc58}" [HKEY_CLASSES_ROOT\SystemFileAssociations\video\shell\Enqueue] @="&Add to Windows Media Player list" "MUIVerb"=hex(2):40,25,53,79,73,74,65,6d,52,6f,6f,74,25,5c,73,79,73,74,65,6d,33,32,5c ,75,6e,72,65,67,6d, "NeverDefault"="" [HKEY_CLASSES_ROOT\SystemFileAssociations\video\shell\Enqueue\command] "DelegateExecute"="{45597c98-80f6-4549-84ff-752cf55e2d29}" [HKEY_CLASSES_ROOT\SystemFileAssociations\video\shell\Play] @="&Play with Windows Media Player" "MUIVerb"=hex(2):40,25,53,79,73,74,65,6d,52,6f,6f,74,25,5c,73,79,73,74,65,6d,33,32,5c ,75,6e,72,65,67,6d, "NeverDefault"="" [HKEY_CLASSES_ROOT\SystemFileAssociations\video\shell\Play\command] "DelegateExecute"="{ed1d0fdf-4414-470a-a56d-cfb68623fc58}" [HKEY_CLASSES_ROOT\SystemFileAssociations\Directory.Audio\shell\Enqueue] @="&Add to Windows Media Player list" "MUIVerb"=hex(2):40,25,53,79,73,74,65,6d,52,6f,6f,74,25,5c,73,79,73,74,65,6d,33,32,5c ,75,6e,72,65,67,6d, edited Sep 11 '12 at 21:37 answered Jan 19 '11 at 20:50 Synetech 29.6k 10 55 134 super. thanks. that did it. – Xah Lee Jan 20 '11 at 12:41 Just run: regsvr32 /u wmpshell.dll This will unregister the Windows Media Player shell extension and thus remove the Play with WMP entry. edited Feb 19 '11 at 15:50 Tom Wijsman 35.8k 12 95 166 answered Feb 19 '11 at 9:46 rootslan.ru 21 1 Care to explain how this works @rootslan.ru? – Ivo Flipse ♦ Feb 19 '11 at 12:34 I already tried that and it didn’t work. It only removes entries from HKCR\CLSID , not the relevant SystemFileAssociations entries. – Synetech Feb 19 '11 at 20:16 Don't forget to remove HKEY_CLASSES_ROOT\SystemFileAssociations\Directory.Audio\shellex\ContextMenuHandlers\ WMPShopMusic To get rid of "Shop for Music Online" in Audio Directory context menus. edited Nov 6 '11 at 2:00 Tom Wijsman 35.8k 12 95 166 answered Nov 5 '11 at 22:04 Chris 11 1 This is not a forum, answers are not always listed in the same order. – Tom Wijsman Nov 6 '11 at 2:00 10/09/2013 14.40
© Copyright 2024