How to remove the right click menu in VLC Media Player?

awreccan picture awreccan · Jan 12, 2015 · Viewed 31.9k times · Source

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?

Answer

TheAtomicOption picture TheAtomicOption · May 7, 2016

It's dumb that VLC doesn't have an Preferences option to toggle this but...

I did find an answer here: https://forum.videolan.org/viewtopic.php?t=82274

Relevant instructions:

  1. Open Regedit. Find HKEY_CLASSES_ROOT\Directory\shell.
  2. Under this key find each VLC key you would like to remove from folder context menus
  3. (optional) Rightclick each and choose export (just in case). Save the exported reg file with the name of the key plus "-dir". To get only the key name and not the full registry path, first choose rename then instead of renaming when the name is highlighted rightclick and choose copy (before you export). Copy Key Name gives the full path instead of only the selected key.
  4. Delete the key.