VLC media player upgrade error: Unable to open file for writing

When attempting to upgrade my VLC Player to the latest version, I received the error message:

Cannot open file for writing: libvlc.dll

3 Answers

Ensure no program is currently using that file. In my case, I had OBS Studio running, which interfered with the upgrade process. You can also download process explorer (By Microsoft), and use that to find out what process has libvlc.dll locked:

I think your system files within windows is corrupted. Try to use these commands in Command Prompt. To run a system file check (SFC) Go to start>Type CMD

Right-click and Run as Administrator

(called an elevated command prompt)

If you want to verify and repair the OS type sfc /scannow (note the space between sfc and "/").

If you just want to check (verify only) the OS type sfc /verifyonly (no changes will be made using verify only). Dism.exe /online /cleanup-image /scanhealth DISM.exe /Online /Cleanup-image /Restorehealth If that does not work. I say remove the VLC media player and then reinstall it.

You need to shut down all running VLC instances and any other applications using LibVLC.

On Windows, you have to use task manager for that.

open task manager by pressing Ctrl+Shift+Esc.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like