在Windows(Vista)中,查看文件夹时,右键单击某个项目时,出现菜单“使用Windows Media Player播放”。
如何设置它使其不显示子菜单?
(虽然不确定我是否要卸载Windows Media Player)
我没有问题,如果需要注册表修改,只需要知道在哪里...
在Windows(Vista)中,查看文件夹时,右键单击某个项目时,出现菜单“使用Windows Media Player播放”。
如何设置它使其不显示子菜单?
(虽然不确定我是否要卸载Windows Media Player)
我没有问题,如果需要注册表修改,只需要知道在哪里...
Answers:
相关条目在注册表中出现了几次,但是只需要删除一个位置即可禁用上下文菜单条目。此外,上下文菜单条目针对不同类型的媒体文件和文件夹而单独存在,具体取决于它是音频,图像还是视频。最后,有单独的条目可以播放WMP中的项目并将其添加到WMP播放列表中。这将创建十二个需要删除的排列(实际上,只有十个,因为似乎没有图像文件条目,只有图像文件夹条目)。
这是从文件和文件夹的所有三种媒体类型中删除这两个命令的方法:创建具有以下内容的.reg文件并运行它。
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]
将它们添加回去的时间更长(如下),因此您可能需要备份它们。
如果要保留上下文菜单项,而只是删除加速器(P),以便可以轻松粘贴文件而不必先通过WMP项,则需要修改其他注册表项:
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]
@="&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,70,32,2e,65,78,65,2c,2d,39,38,30,30,00
"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,70,32,2e,65,78,65,2c,2d,39,38,30,31,00
"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,70,32,2e,65,78,65,2c,2d,39,38,30,30,00
"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,70,32,2e,65,78,65,2c,2d,39,38,30,31,00
"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,70,32,2e,65,78,65,2c,2d,39,38,30,30,00
"NeverDefault"=""
[HKEY_CLASSES_ROOT\SystemFileAssociations\Directory.Audio\shell\Enqueue\command]
"DelegateExecute"="{45597c98-80f6-4549-84ff-752cf55e2d29}"
[HKEY_CLASSES_ROOT\SystemFileAssociations\Directory.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,70,32,2e,65,78,65,2c,2d,39,38,30,31,00
"NeverDefault"=""
[HKEY_CLASSES_ROOT\SystemFileAssociations\Directory.Audio\shell\Play\command]
"DelegateExecute"="{ed1d0fdf-4414-470a-a56d-cfb68623fc58}"
[HKEY_CLASSES_ROOT\SystemFileAssociations\Directory.Image\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,70,32,2e,65,78,65,2c,2d,39,38,30,30,00
"NeverDefault"=""
[HKEY_CLASSES_ROOT\SystemFileAssociations\Directory.Image\shell\Enqueue\command]
"DelegateExecute"="{45597c98-80f6-4549-84ff-752cf55e2d29}"
[HKEY_CLASSES_ROOT\SystemFileAssociations\Directory.Image\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,70,32,2e,65,78,65,2c,2d,39,38,30,31,00
"NeverDefault"=""
[HKEY_CLASSES_ROOT\SystemFileAssociations\Directory.Image\shell\Play\command]
"DelegateExecute"="{ed1d0fdf-4414-470a-a56d-cfb68623fc58}"
[HKEY_CLASSES_ROOT\SystemFileAssociations\Directory.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,70,32,2e,65,78,65,2c,2d,39,38,30,30,00
"NeverDefault"=""
[HKEY_CLASSES_ROOT\SystemFileAssociations\Directory.Video\shell\Enqueue\command]
"DelegateExecute"="{45597c98-80f6-4549-84ff-752cf55e2d29}"
[HKEY_CLASSES_ROOT\SystemFileAssociations\Directory.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,70,32,2e,65,78,65,2c,2d,39,38,30,31,00
"NeverDefault"=""
[HKEY_CLASSES_ROOT\SystemFileAssociations\Directory.Video\shell\Play\command]
"DelegateExecute"="{ed1d0fdf-4414-470a-a56d-cfb68623fc58}"
我发现这种方法(win7)刚刚在Win 10(10586)上为我工作,并且比所有注册表编辑业务都少吓人:http : //www.freewaregenius.com/how-to-remove-windows-media- Windows 7播放器右键单击上下文菜单/
别忘了删除
HKEY_CLASSES_ROOT\SystemFileAssociations\Directory.Audio\shellex\ContextMenuHandlers\WMPShopMusic
在音频目录上下文菜单中摆脱“在线购买音乐”。
在Windows Vista(可能还有Windows 7?)中,可以删除以下键:
HKEY_CLASSES_ROOT\SystemFileAssociations\Directory.Audio\shellex\ContextMenuHandlers\WMPAddToPlaylist
HKEY_CLASSES_ROOT\SystemFileAssociations\Directory.Image\shellex\ContextMenuHandlers\WMPAddToPlaylist
HKEY_CLASSES_ROOT\SystemFileAssociations\Directory.Video\shellex\ContextMenuHandlers\WMPAddToPlaylist
所有这些的默认值均为{F1B9284F-E9DC-4e68-9D7E-42362A59F0FD}
,这是用于将媒体添加到Windows Media Player的上下文处理程序的CLSID。
我这样做是为了摆脱Windows资源管理器“文件”菜单中令人讨厌的“添加到&Windows Media Player列表”条目,这意味着即使当前选择了文件夹,ALT-F,ALT-W键序列也将始终选择“ New&Folder”在资源管理器中。我仍然希望能够加入单个文件。
请注意,这些目录关联中也有WMPPlayAsPlaylist
和WMPShopMusic
键,您也可能希望删除。
删除密钥后,我重新启动;我不知道这是否必要。
删除外壳扩展“使用Windows Media Player播放”
I had the same problem, but unfortunately, I didn't find the keys I was
looking for in the registry and it's too boring going through Folder
Options. After a quick Google search, I dug this up:
1. Go to Start > Run
2. Type in "regsvr32 /u wmpshell.dll" (without the quotes)
3. Hit OK
4. Voila! No more WMP shell extensions