How to set VLC player as default app??

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
Alekk
New Cone
New Cone
Posts: 2
Joined: 04 Oct 2024 15:51

How to set VLC player as default app??

Postby Alekk » 04 Oct 2024 16:02

I am trying to make a script I can use to install VLC on new computers we are deploying. After running the script, I start ms-settings:defaultapps, and set all the default apps to what I prefer. However, only "Apps" show up in the list; I do not see a way to choose an installed program that's not an app.

I looked up how to add Windows Photo Viewer to the list, it turns out that was a simple registry entry

Code: Select all

[HKEY_CURRENT_USER\Software\Classes\.jpg] @="PhotoViewer.FileAssoc.Tiff"
Is there a simple way to add the VLC player to that list as well? I am really surprised setting VLC as a default player was not in the FAQ's...

Alekk
New Cone
New Cone
Posts: 2
Joined: 04 Oct 2024 15:51

Re: How to set VLC player as default app??

Postby Alekk » 09 Oct 2024 20:42

After a few days of research, I figured it out:

Code: Select all

Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Classes\ChromiumURL] @="Chromium Document" "FriendlyTypeName"="Media file" [HKEY_LOCAL_MACHINE\Software\Classes\ChromiumURL\shell] [HKEY_LOCAL_MACHINE\Software\Classes\ChromiumURL\shell\open] [HKEY_LOCAL_MACHINE\Software\Classes\ChromiumURL\shell\open\command] @="C:\\Progra~2\\VIDEOLAN\\VLC\\vlc.exe \"%1\"" [HKEY_LOCAL_MACHINE\SOFTWARE\Chromium\Capabilities] "ApplicationDescription"="VLC Media Player" "ApplicationIcon"="C:\\Progra~2\\VideoLAN\\VLC\\vlc.exe,0" "ApplicationName"="VLC" [HKEY_LOCAL_MACHINE\SOFTWARE\Chromium\Capabilities\FileAssociations] ".avi"="ChromiumURL" ".mov"="ChromiumURL" ".mp4"="ChromiumURL" ".mpg"="ChromiumURL" ".mpeg"="ChromiumURL" ".ogg"="ChromiumURL" ".3gp"="ChromiumURL" [HKEY_LOCAL_MACHINE\SOFTWARE\RegisteredApplications] "VideoLAN"="Software\\Chromium\\Capabilities"
After putting this into a .reg file and running it, I start ms-settings:defaultapps, and VLC media Player will appear in the list.
Not sure if it's the shortest way to do it, but it does work.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 55 guests