I am adapting VLC to make a custom video player. I chose VLC because of its ability to play lots of formats, and because it allows me develop a custom skin for it very easily.
But I also want to restrict user access to the file system, for which I need to disable the right click menu. Is there a way to do this?
To do so right-click on the AddtoPlaylist folder and select New > String Value. Name it LegacyDisable and save it. You will no longer see the VLC's Add to Playlist option in the context menu. To redo these changes, just delete the LegacyDisable file and the option will make its way back to the right-click menu.
Click Run. Type in regedit and click ENTER. Browse to the following: HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers. You simply delete or export then delete the keys you do not want.
Right-click on the video, click Open with from the option and select VLC Media Player. Use the keyboard shortcut. Just press Ctrl + H to hide the control panel.
regedit.exe
). Find HKEY_CLASSES_ROOT\Directory\shell
PlayWithVLC-dir
and AddToPlaylistVLC-dir
. These .reg
files can later be used to restore the context menu entries.Unfortunately VLC doesn't have an Preferences option to toggle this.
Solution found in the Remove context menu forum thread.
Instead of playing around in the registry:
For some people it was possible to skip step 1. But that may not work always.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With