Disable Auto Updates in the VLC Player

email me

There are 3 ways to disable auto updates in the VLC Player.

1 – Unchecking the option under preferences.
Tools->Preferences->[Activate updates notifier]

2 – Adjusting the user shortcut.
C:\Program Files (x86)\VideoLAN\VLC\vlc.exe “–no-qt-privacy-ask” “–no-qt-updates-notif”

3 – Creating a settings file that can be copied to another computer. This option is good for enterprise deployment.

Disable the option on a reference, then copy the config file to another machine.

The VLC config file is located here: c:\users\%username%\appdata\roaming\vlc
and named vlcrc

 

Screenshot

 

Script to copy the vlcrc pref file to each profile

on error resume next 

Set objShell = CreateObject("Wscript.Shell")
Set objFSO = CreateObject("Scripting.FileSystemObject")

Const HKEY_LOCAL_MACHINE = &H80000002
Const OverwriteExisting = TRUE
Const POPUP_TITLE = "User To SID Conversion"


'SETS CURRENT DIRECTORY TO VARIABLE
strCurrentDirectory = objShell.CurrentDirectory
strComputer = "."

Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set objRegistry=GetObject("winmgmts:\\" & strComputer & "\root\default:StdRegProv")
strKeyPath = "SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\ProfileList"
objRegistry.EnumKey HKEY_LOCAL_MACHINE, strKeyPath, arrSubkeys
For Each objSubkey In arrSubkeys
 on error resume next
 strValueName = "ProfileImagePath"
 strSubPath = strKeyPath & "\" & objSubkey
 objRegistry.GetExpandedStringValue HKEY_LOCAL_MACHINE,strSubPath,strValueName,strValue
 
 Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") 
 Set objAccount = objWMIService.Get("Win32_SID.SID='" & objSubkey & "'")
 strUser = objAccount.AccountName
 'strDomain = objAccount.ReferencedDomainName'returns referenced domain

'DISPLAY PROFILE NAME & SID
 objSubkey = trim(objSubkey)'trims whitespace
 strUser = trim(strUser)'trims whitespace
 'msgbox "objSubkey: " & objSubkey'returns SID
 'msgbox strUser'returns username

'LOGIC TO DETERMINE IF REGISTRY ACCOUNT IS TO BE LOADED
if strUser = "SYSTEM" then strUser=""
if strUser = "LOCAL SERVICE" then strUser=""
if strUser = "NETWORK SERVICE" then strUser=""
if strUser = "ADMINISTRATOR" then strUser=""
if strUser <> "" then
	on error resume next
	Wscript.Sleep 1000		
	
	dirPath = "C:\Users\" & strUser & "\appdata\roaming\vlc"
	target = dirPath & "\vlcrc"
	
	
	'Copy file
	If (objFSO.FileExists(strCurrentDirectory & "\vlcrc")) Then
		objShell.Run "%comspec% /c md " &  chr(34) & dirPath & chr(34),0,true
		objShell.Run "%comspec% /c copy /y " & chr(34) & strCurrentDirectory & "\vlcrc" & chr(34) & " " &  chr(34) & target & chr(34),0,true
	end if	

end if

Next