如何禁用使用 Windows Media Player 上下文菜单播放?

Xah*_*Lee 23 windows windows-media-player context-menu

在 Windows (Vista) 中,查看文件夹时,右键单击某个项目时,会出现“使用 Windows Media Player 播放”菜单。

如何设置它以便不显示此类子菜单?

(虽然不确定我想卸载 Windows Media Player)

如果需要修改注册表,我没有问题,只需要知道在哪里...

Syn*_*ech 23

相关条目在注册表中多次出现,但只需删除一处即可禁用上下文菜单条目。此外,上下文菜单条目针对不同类型的媒体文件和文件夹单独存在,具体取决于它是音频、图像还是视频。最后,还有单独的条目可以播放 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]
Run Code Online (Sandbox Code Playgroud)

添加它们的时间要长得多(见下文),因此您可能需要备份它们。


如果您想保留上下文菜单条目,但只需删除加速键 ( 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"
Run Code Online (Sandbox Code Playgroud)



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}"
Run Code Online (Sandbox Code Playgroud)


Bob*_*er2 6

我发现这种方法 (win7) 刚刚在 Win 10 (10586) 上对我有用,并且没有所有注册表编辑业务那么可怕:http : //www.freewaregenius.com/how-to-remove-windows-media-来自 windows-7 的播放器右键单击上下文菜单/

在此处输入图片说明


小智 5

赶紧跑:

regsvr32 /u wmpshell.dll
Run Code Online (Sandbox Code Playgroud)

这将取消注册 Windows Media Player shell 扩展,从而删除Play with WMP条目。


小智 5

去掉上下文菜单中的“使用 Windows Media Player 播放”和“添加到使用 Windows Media Player 播放列表”条目。

控制面板 - 默认程序 - 设置程序访问和计算机默认值。

单击自定义,如果没有显示,请将其更改为其他内容,然后单击它。

在选择默认媒体播放器下,取消选择从 Windows Media Player 和 Windows Media Center 以及任何其他程序(如 iTunes)启用此程序的访问