When attempting to upgrade my VLC Player to the latest version, I received the error message:
Cannot open file for writing: libvlc.dll
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
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
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.