Thursday, December 18, 2014

Deploy Java Runtime Environment with PS AppDeploy Toolkit

*Update 4/21/2015 - Please use this method to deploy Java, I find it works much better and requires less work.

*Update 3/10/2015 - I no longer use this method to deploy, I am finding the requirement evaluations are taking too long, instead I now use 2 applications with 1 deployment type for each. One application set for no user logged in, and one set for only when a user is logged in. I am creating a new post about how this works with an updated install script which uninstalls old versions of Java and installs Java 8 using the new enterprise msi installers.

When we deploy Java, we use to have the deployment set to only deploy when no user was logged in. This would help ensure that IE was not open, as IE had to be closed for Java to install correctly. This left a good number of machines without the latest Java as most users rarely have their machines turned on without being logged in for any appreciable amount of time. I thought I could use the PS AppDeploy Toolkit to help solve the issue of having IE open when trying to update Java, therefore I went about thinking of a way to create one Java application that would deploy in the following scenarios:
  1. If no user logged in, silently deploy Java.
  2. If a user was logged in and IE was not open, silently deploy Java.
  3. If a user was logged in and IE was open, notify user to close IE or give option to postpone the installation.

First download the newest version of the PS AppDeploy Toolkit and extract. (While I was writing this up I found out their was a newer version than what I originally used, so I recreated my application with the newer version.) Inside the extracted folder Toolkit you will find the necessary files and folders, copy the contents to your source so it looks like this:


Next you will need the Java msi and cab file for the version you want to install. I obtain this by downloading the Windows Offline installer. Run the installer, when the Welcome to Java (License Agreement) pops up, you will find the JRE1.x.xxxx.msi file in C:\users\<username>\AppData\LocalLow\Sun\Java\jre1.x.xxxx\
You can cancel out of the install and grab the .msi and the .cab file and move them to the PS AppDeploy "Files" folder you put in your Java application source location.

Then you will need to edit the Deploy-Application.ps1 file in your source. Here is where we will put the install commands as well as logic to skip the dialog prompts if IE is not open. Scroll down to the Pre-Installation section. I only want to notify the user that Java is being installed if IE is open, so I wrap the "Show-InstallationWelcome" command in an If statement. Make your Pre-Installation section like below:

##*===============================================
##* PRE-INSTALLATION
##*===============================================
[string]$installPhase = 'Pre-Installation'
  
## Show Message if IE is open, give prompt to close, allow up to 3 deferrals, verify there is enough disk space to complete the install, and persist the prompt
if ( get-process iexplore -ErrorAction SilentlyContinue | Where-Object {$_.MainWindowTitle -ne ""} )
{
 Show-InstallationWelcome -CloseApps "iexplore" -AllowDefer -DeferTimes 3 -CheckDiskSpace -PersistPrompt
 Show-InstallationProgress "Installing the latest version of Java to improve your web browsing experience"
 Set-Variable -Name IEOPEN -Value "Yes"
}

Make the Installation section like so:
##*===============================================
##* INSTALLATION 
##*===============================================
[string]$installPhase = 'Installation'
  
## 
Execute-MSI -Action Install -Path "jre1.7.0_71.msi" -Parameter "/q /norestart AUTOUPDATECHECK=0 JAVAUPDATE=0 JU=0 STATIC=0" 

Make the Post-Installation section like so, but be careful, some versions of the PS AppDeploy Toolkit have an ElseIF statement in the Post-Installation section at the bottom, be careful to leave that there with its corresponding brackets. This was in version 3.5, but in version 3.1.4 the ElseIf was down in the Uninstallation section. I only want to notify them that Java is done installing, if I they got the dialog box about the Java install in the first place:
##*===============================================
##* POST-INSTALLATION
##*===============================================
[string]$installPhase = 'Post-Installation'

# Perform post-installation tasks here
# Remove useless Java shortcuts from Program menu
Remove-Item "$ENV:PROGRAMDATA\Microsoft\Windows\Start Menu\Programs\Java" -Recurse -Force
# If IE was Open, Inform User that Installation is Done.
if ( $IEOPEN -match "Yes")
    {
 Show-InstallationPrompt -Message "Java update complete." -ButtonRightText "Ok" -Icon Information -NoWait
 remove-item $IEOPEN
    }

Now we will create our deployment types. We are going to need 2 deployment types, the reason you need 2 is that you cannot select the "Allow users to view and interact with the program installation" when you have the Logon requirement of "Whether or not a user is logged on" when creating an Application deployment type. You could if this was a package, but I rather keep the advantages of the application model so I create two deployment types.

The first deployment type I call "Oracle JRE Install - user logged in". It looks like so:

Now I am going to set the logon requirement here for "Only when a user is logged on" and "Allow users to view and interact with the program installation". The logic we added to the "Deploy-Application.ps1" will keep the user from having to interact with the installation if IE is not open.

On the Requirements tab we have to create a custom requirement to run this deployment type only if a user is logged in. I will explain why this is necessary later. Click Add, change Category to Custom, click Create, give the custom condition a name and select Settings Type: Script, Data type: Boolean, Click Add Script, Script Language is Powershell and put in:
[bool] (Get-Process explorer –ea 0)

It should look like this:
The Operator is Equals, the value is True.

Create a second deployment type, I call mine Oracle JRE Install - No user logged in. This one will be much like the first except it will not have any Requirements set, and the User Experience tab should be set like:

The deployment types will look like so, notice the Priority levels for each Deployment Type:

You need to have the user logged on requirement set for the highest priority deployment type, or the second deployment type will never run. With no requirements set, what will happen is the first deployment type will wait to run until a user is logged in, the second deployment type will never run. I do not want that, I want it to run whether or not a user is logged in when the computer finds out about the application deployment. We have computers that have maintenance windows coordinated with their Deep Freeze thaw times, which is when they install software, during these maintenance windows there are no users logged in, and I want the application to run. So having it run only when a user is logged on is not an option.

I can think of one scenario where this may not work properly, that is if when the computer finds out about the application deployment, it is unfrozen, there is a user logged in, and it is not in its maintenance window. The computer may download deployment type "oracle JRE Install - user logged in" and wait to run it until the maintenance window comes around. When the maintenance window does comes, there will be no user logged in, so it will not run. This scenario will be rare as the machines are generally frozen when students are using them.

I tested the above scenario, once another Machine Policy Retrieval and Evaluation is run, which happens once the computer turns on inside its maintenance window, the computer will use the no user logged in deployment type instead of the user logged in deployment type it knew about previously. So it is capable of changing the deployment type that it is going to run if it needs to in those rare situations. In this situation the computer did download 2 copies of the deployment though, one for each deployment type it was going to run.

We do some other modifications to the wording of the prompts a user would see if they had IE open when the installation tries to take place. We change the icon's and use our own branding by replacing the .png files in the AppDeployToolkit folder. You can modify the wording of the prompts and labels of the buttons on the windows by modifying the AppDeployToolkitConfig.xml file. The documentation for PS AppDeploy Toolkit some of this or you can dig though the .xml files to find what you are looking for.

For this installation I also set ShowBalloonNotifications to False in the AppDeployToolkitConfig.xml. Otherwise the user will get an installation finished balloon from the toolkit after installation.

The downside to this method is the application will not be available to install in an OSD task sequence. You will have to create a duplicate application with a deployment type set to "Whether or not a user is logged on" and install that during OSD deployments.

Update: Please also see this post, about an issue with the PS AppDeploy Toolkit version 3.5 and Windows 8

Monday, September 22, 2014

Enable .Net Framework 3.5 SP1 in Windows 8.1

I thought I would right up how I enable .Net Framework 3.5 SP1 in Windows 8.1 using SCCM and PowerShell. Both as an application that can be pushed to machines, and during OS deployments in the task sequence.
First create a powershell script with the command:
# Enable .Net 3.5 Framework SP1 on Windows 8.1 Machines.
# Must have SXS folder from Windows 8.1 ISO in directory with script
#Enable .Net 3.5
enable-windowsoptionalfeature -featurename NetFx3 -Online -NoRestart -LimitAccess -All -Source .\SXS -LogLevel WarningsInfo -ErrorAction Continue
I call my script “EnableNet35.ps1”.
Next you will need the folder “sxs” from your Windows 8.1 ISO disk. This folder is located in the sources folder. My ISO is on a network share so the path may be different from yours.

Copy this folder and your script to your SCCM Source folder.

Create your Application and Deployment Type like so:



We will use a Custom PowerShell script as the detection method.

If ((Get-windowsoptionalfeature -FeatureName NetFx3 -Online | Select-Object -ExpandProperty State) -ne "Enabled")
        {
        # .NET Framework 3.5SP1 is not enabled on this system
        Exit
        }
    Else
        {
            # Its installed so populate 'stdout', write-host will do this
            Write-host ".NET Framework 3.5 SP1 is already installed"
            Exit
        }


If you wish to use this in an OSD Task Sequence, or any PowerShell commands, you may have to enable PowerShell during the Task Sequence.

How to Enable PowerShell during an OSD Task Sequence.

You will have to input settings into the registry of the computer to allow it to run PowerShell unrestricted. I use the following script (thanks Nash Pherson and JDA for the script):
@ECHO OFF
CLS
REM http://social.technet.microsoft.com/Forums/en-US/501bc91f-4dae-4917-a2b2-0a3c3a7fce86/set-powershell-execution-policy-as-part-of-a-task-sequence?forum=mdt
REM JDA 2/25/14

:breakout
IF EXIST %SystemRoot%\Sysnative\cmd.exe ("%SystemRoot%\Sysnative\cmd.exe" /C "%~dpnx0") & (GOTO end)

:policy
reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\PowerShell /t REG_DWORD /v EnableScripts /d 1 /f
reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\PowerShell /v ExecutionPolicy /d Unrestricted /f
reg add HKLM\SOFTWARE\Wow6432Node\Policies\Microsoft\Windows\PowerShell /t REG_DWORD /v EnableScripts /d 1 /f
reg add HKLM\SOFTWARE\Wow6432Node\Policies\Microsoft\Windows\PowerShell /v ExecutionPolicy /d Unrestricted /f

:end
Name this script “enable_ps.cmd” and create a SCCM package called Enable PowerShell with “enable_ps.cmd” as the Command Line.

Run this package early in your OSD Task Sequence before your first PowerShell script executes.

Thursday, September 18, 2014

Silently Deploy FMAPlus 3 via SCCM

* Script updated 8/19 to fix an issue.

FMAPlus 3 or Fuels Management Analyst is a software we use in our Forestry computing labs here at the university. While tackling the install and user setup, I decided to try working with PowerShell since I was learning it. If you don't use PowerShell, you can modify the commands for your scripting language of choice.

We are going to script the following:
1) Install FMAPlus for all users silently.
2) Copy a folder full of photos to the FMAPlus 3 directory in Program Files.
3) Use active setup to register the software and point to the photo folder.
4) Copy a settings file to Program Files.
5) Change the permissions on the FMAPlus 3 directory in Program Files to allow Users to Modify.
6) Remove the shortcut from the desktop.
7) Rename the shortcut in the Start Menu from "Gateway.lnk" to "FMAPlus 3.lnk"

I will take you through each step, explain what I did and then combine everything at the end into the PowerShell script and SCCM application deployment. These techniques may be useful when you are trying to create your own installer scripts.

1) Install FMAPlus for all users silently.

$currentDirectory = split-path -parent $MyInvocation.MyCommand.Definition
Start-Process $currentDirectory\fma300.exe -ArgumentList '/S /v"/qn ALLUSERS=2"' -Wait

The /v parameter passes parameters to the MSI that gets extracted during the install to C:\Windows\Installer. I wanted to pass the /qn (silent) and the ALLUSERS=2 property, otherwise the shortcuts in the Start Menu would only exist for the user that ran the install, in my case, the SYSTEM account. Which means there would be no shortcuts in the Start Menu for the lab users. The fact that the .EXE extracts the MSI to the C:\Windows\Installer folder and leaves it there after completing setup is nice, I was able to find it after running a hardware inventory on a test computer after installing the software by hand. This helped me get the GUID from the MSI for the detection method later.

2) Copy a folder full of photos to the FMAPlus 3 directory in Program Files.

Copy-Item -Path PhotoImages -Destination 'C:\Program Files (x86)\FMAPlus 3\PhotoImages' -Recurse -Force


Self Explanatory. Copy-Item does exactly what it says! I am not sure but I think this folder contains special photo's our faculty use in classes. Regardless, the lab team tells me it needs to be there so I put it there.

3) Use active setup to register the software and point to the photo folder.

We need to use active setup for this install as the program registers its license per user in the HKCU  
registry. So what I did was install the application on a VM, put in the license code during the first run, run Photo Manager and set the Photo Image Location. Export the keys located at: 
HKEY_CURRENT_USER\Software\VB and VBA Program Settings\Fuels Management Analyst 3\General] .  Here I have the reg file I exported, substitute the "X"s with your own license code. The reg file should look like: 

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\VB and VBA Program Settings\Fuels Management Analyst 3\General]
"RegNumber1"="xxxx"
"RegNumber2"="xxxxx"
"RegNumber3"="xxxx"
"RegNumber4"="xxxxx"
"Registered"="True"
"CMIExample"="True"
"PhotoDir"="c:\\Program Files (x86)\\FMAPlus 3\\


I cant remember what "CMIExample" is for, but it may not need to be set to remove first run prompts. Save this reg file to your source directory with the install file. I call mine "hkcu_fmaplus.reg" 
The following PowerShell command copies the reg file to the Program Files: 


Copy-Item -Path hkcu_fmaplus3.reg -Destination 'C:\Program Files (x86)\FMAPlus 3\hkcu_fmaplus3.reg'
And these three commands setup the active setup:

New-Item -Path Registry::'HKLM\Software\Microsoft\Active Setup\Installed Components\HSU-FMAPlus3' -Force
New-ItemProperty -Path Registry::'HKLM\Software\Microsoft\Active Setup\Installed Components\HSU-FMAPlus3' -Name StubPath -PropertyType String -Value 'CMD /C REG IMPORT "%ProgramFiles(x86)%\FMAPlus 3\hkcu_fmaplus3.reg"' -Force
New-ItemProperty -Path Registry::'HKLM\Software\Microsoft\Active Setup\Installed Components\HSU-FMAPlus3' -Name Version -PropertyType String -Value '2,0,0,0' -Force

4) Copy a settings file to Program Files.

When you run Fuel Model Manager the first time, it prompts you if you have existing custom fuel models from version 2 and do you want to load them, it then creates a file called "MyFuelModels.FFM" in the program directory. We don't have any custom models from our labs, so I click no and save the "MyFuelModels.FFM" file to my source directory. During installation, I copy this file back into the Program Directory with this command: 


Copy-Item -Path MyFuelModels.FFM -Destination 'C:\Program Files (x86)\FMAPlus 3\MyFuelModels.FFM'

5) Change the permissions on the FMAPlus 3 directory in Program Files to allow Users to Modify.

When the program is run by the user, it creates shortcuts in the Program Files\FMAPlus 3 folder for some ungodly reason, and if it can't, the program errors out. Users typically don't have permissions to write to Program Files, so we must modify the folder to allow them to write.

$Acl = Get-Acl 'C:\Program Files (x86)\FMAPlus 3'
$Arguments = "BUILTIN\Users","FullControl","ContainerInherit, ObjectInherit", "None", "Allow"
$accessRule = New-Object System.Security.AccessControl.FileSystemAccessRule $arguments
$Acl.SetAccessRule($accessRule)
$acl | Set-Acl 'C:\Program Files (x86)\FMAPlus 3'

6) Remove the shortcut from the desktop.

if (Test-Path 'C:\Users\Public\Desktop\FMAPlus 3.lnk')
{
  Remove-Item -Path 'C:\Users\Public\Desktop\FMAPlus 3.lnk' -Force
}

7) Rename the shortcut in the Start Menu from "Gateway.lnk" to "FMAPlus 3.lnk"

Rename-Item 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs\FMAPlus 3\Gateway.lnk' 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs\FMAPlus 3\FMAPlus 3.lnk'

Putting It All Together

Combine all your PowerShell commands into a script, I called mine "install_fma.ps1"

$currentDirectory = split-path -parent $MyInvocation.MyCommand.Definition
# Install FMAPlus 3
Start-Process $currentDirectory\fma300.exe -ArgumentList '/S /v"/qn ALLUSERS=2"' -Wait

# Copy PhotoImages Repository
Copy-Item -Path PhotoImages -Destination 'C:\Program Files (x86)\FMAPlus 3\PhotoImages' -Recurse -Force

# Copy Active Setup Reg File
Copy-Item -Path hkcu_fmaplus3.reg -Destination 'C:\Program Files (x86)\FMAPlus 3\hkcu_fmaplus3.reg'

# Active Setup Registry Settings for License and First Run
New-Item -Path Registry::'HKLM\Software\Microsoft\Active Setup\Installed Components\HSU-FMAPlus3' -Force
New-ItemProperty -Path Registry::'HKLM\Software\Microsoft\Active Setup\Installed Components\HSU-FMAPlus3' -Name StubPath -PropertyType String -Value 'CMD /C REG IMPORT "%ProgramFiles(x86)%\FMAPlus 3\hkcu_fmaplus3.reg"' -Force
New-ItemProperty -Path Registry::'HKLM\Software\Microsoft\Active Setup\Installed Components\HSU-FMAPlus3' -Name Version -PropertyType String -Value '2,0,0,0' -Force

# Copy Fuel Model File
Copy-Item -Path MyFuelModels.FFM -Destination 'C:\Program Files (x86)\FMAPlus 3\MyFuelModels.FFM'

# Modify "C:\Program Files (x86)\FMAPlus 3" permissions
$Acl = Get-Acl 'C:\Program Files (x86)\FMAPlus 3'
$Arguments = "BUILTIN\Users","FullControl","ContainerInherit, ObjectInherit", "None", "Allow"
$accessRule = New-Object System.Security.AccessControl.FileSystemAccessRule $arguments
$Acl.SetAccessRule($accessRule)
$acl | Set-Acl 'C:\Program Files (x86)\FMAPlus 3'

# Remove Desktop Shortcut
if (Test-Path 'C:\Users\Public\Desktop\FMAPlus 3.lnk')
{
  Remove-Item -Path 'C:\Users\Public\Desktop\FMAPlus 3.lnk' -Force
}

# Rename Shortcut
Rename-Item 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs\FMAPlus 3\Gateway.lnk' 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs\FMAPlus 3\FMAPlus 3.lnk'

Gather up the fma300.exe installer, the hkcu_fmaplus3.reg registry file, your install script install_fma.ps1, the MyFuelModels.FFM file, and the PhotoImages folder and put them in your SCCM source location.




Create your Application and Deployment Type, the installation command is: 
powershell.exe -ExecutionPolicy Unrestricted -File install_fma.ps1



The GUID of the msi that extracted to C:\Windows\Installer when the EXE was ran is: 
{44D618AE-62C3-4564-B2EF-E00E226DE515}, so i use that for my detection method and uninstall program. YMMV if you have a different version so be sure to install it on a test computer first and see if it puts an msi in C:\Windows\Installer to get the GUID from.


Distribute and Deploy to your computers! 

Monday, September 8, 2014

Silently Deploy CyberLink PowerDVD with SCCM


Edit: Soon after finishing this post we updated to version 14 and I also changed the Active Setup to open PowerDVD when a blu ray disc is put in the blu ray player so i adjusted the script a bit to reflect the changes.

We purchased CyberLink PowerDVD software in order to play Blu-ray’s on our classroom computers that are connected to projectors. This is how I silently deploy it while handling the first run prompts. We will remove the Welcome Screen and turn off the prompt to join the Product Improvement program. Luckily, when you purchase the software from Cyberlink, the MSI has an in-built key so you don’t not have to handle registration.
First create a file called “db.ini” that contains
[Setup]
init=1
Next create a reg file that contains
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\CyberLink\PowerDVD13]
"UIEnableCEIP"=dword:00000000

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlersDefaultSelection]
@=""

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlersDefaultSelection\PlayBluRayOnArrival]
@="PowerDVD14.0PlayBluRayOnArrival"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlersDefaultSelection\PlayDVDMovieOnArrival]
@="PowerDVD14.0PlayDVDMovieOnArrival"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlersDefaultSelection\PlayEnhancedDVDOnArrival]
@="PowerDVD14.0PlayDVDMovieOnArrival"
I called my reg file “HKCU_POWERDVD.reg”

Then create your “install.cmd” file which contains
REM Installs PowerDVD and removes first run prompts.
:@ECHO OFF
:Location
Set loc=%~dp0
:Install
msiexec /i "%loc%PowerDVD14_3917_CorpBD_DVD140303-05.msi" /qn
:Configure
XCOPY "%loc%db.ini" "%SystemDrive%\Users\Default\AppData\Local\CyberLink\PowerDVD14\DB1038\" /Y
XCOPY "%loc%HKCU_POWERDVD.reg" "%ProgramFiles(x86)%\CyberLink\PowerDVD14\" /Y
REG ADD "HKLM\Software\Microsoft\Active Setup\Installed Components\HSU-PowerDVD" /v "StubPath" /t REG_SZ /d "CMD /C REG IMPORT \"%%ProgramFiles(x86)%%\CyberLink\PowerDVD14\HKCU_POWERDVD.reg\"" /f
REG ADD "HKLM\Software\Microsoft\Active Setup\Installed Components\HSU-PowerDVD" /v "Version" /t REG_SZ /d "2,0,0,0" /f
:CLEANUP
if exist "%PUBLIC%\Desktop\CyberLink PowerDVD 14.lnk" del "%PUBLIC%\Desktop\CyberLink PowerDVD 14.lnk"
GOTO END
:END
Put the 3 files you created along with the MSI in your SCCM Source location
(I know these photos are from our version 13 install, but you get the idea)


Create your Application and Deployment Type like so






The installer is an MSI so the detection method is easy, I love it.



Distribute the content to your Distribution Points and deploy!

Friday, August 1, 2014

 

Silently deploy Google Picasa with SCCM, disable check for updates and disable scan for images on first run.

Annoyed at how Picasa scans the computer for photo's during its first run in our Deep Frozen computer lab environments every time a student opened the program, I played around with a method to disable it. I hit upon this method using both active setup and copying files to the default user directory.
This method consists of three parts. First, setting up active setup to handle the registry entries, next copying configuration files to the default user profile, and third, silently deploying the application. This will of course only affect new users who login, which is fine as I am concerned here with eliminating the pop ups from Deep Frozen computers in our lab environment. With Deep Freeze, virtually every user who logs in is a "new" user every time.

Active Setup

First, create a file to hold the registry settings. After installing Picasa on a VM, I exported the [HKEY_CURRENT_USER\Software\Google\Picasa\Picasa2\Preferences] keys and removed the ones that I did not want to handle with Active Setup, that way excessive keys are not created when a user logs in and are only created when the user opens Picasa for the first time. I called my registry file HKCUPICASA.reg and it looks like:

Windows Registry Editor Version 5.00
 
[HKEY_CURRENT_USER\Software\Google\Picasa\Picasa2\Preferences]
"ShowTooltips"=dword:00000000
"AutoUpgradeCheck"=dword:00000000
"AutoUpgradeAsk"=dword:00000000
"showfeatureslink"=dword:00000027
"ReportStats"=dword:00000000
"ConfiguredSlingshot"=dword:00000006
"LastABPromo"="29 Jul 2025 11:20:57 -0700"

For reference the registry keys do this:
Unchecks "Show Tooltips" in User interface = "ShowTooltips"=dword:00000000
Turns off Auto Upgrade Check = "AutoUpgradeCheck"=dword:00000000
Turns off upgrade prompt = "AutoUpgradeAsk"=dword:00000000
Disable webpage opening on first run = "showfeatureslink"=dword:00000027
Unchecks "Send anonymous usage stats to Google" = "ReportStats"=dword:00000000
Helps remove Photo Viewer Configuration popup = "ConfiguredSlingshot"=dword:00000006
Effectively removes the AutoBackup prompt = "LastABPromo"="29 Jul 2025 11:20:57 -0700"

With the last registry key I set the LastABPromo date, the date Google last bugged you about signing up for their backup service, to a distant year in the future. This will keep it from popping up until a week or so after July 29th 2025. I hope we are not using the same version of Picasa then. You can adjust it to whatever works for you.
Remove or add other keys if you want to customize more, you can experiment with which ones handle different settings.

Configuration Files in Default

Once Picasa is run for the first time it creates a folder called Picasa2 in the users profile in AppData\Local\Google.
























This folder contains:





















We are interested in the db3 folder. As it contains the files that remove the "Picasa is ready to search
for pictures on your computer" first run prompt, and also along with the "ConfiguredSlingshot"=dword:00000006 registry setting, removes the "Photo Viewer Configuration" first run prompt. Both the registry setting and the proper files in the user profile have to be in place. To get the db3 folder, I installed Picasa on a VM, ran Picasa, and selected "Only search My Documents, My Pictures, and the Desktop"




























and then selected  "Don't use Picasa Photo Viewer" at the next prompt. If you want to use it instead of whatever your regular photo viewer is go ahead and select the file types you want it to open, you may also have to keep extra registry settings if you want to configure the Photo Viewer. Play around with it.






























I then made a copy of the db3 folder and its contents to use during my installation.

Scripting it all together

 Create an installation script to install Picasa, setup Active Setup, and copy the file to the Default user folder, I use the following:



REM Installs Picasa and removes all first run prompts.
@echo off 
cls
:Path 
set loc=%~dp0
:Install
"%loc%picasa39-setup.exe" /S /L /L2
:ActiveSetup
REM Copy reg file to run on user logon.
XCOPY "%loc%HKCUPICASA.reg" "%ProgramFiles(x86)%\Google\Picasa3\" /Y
REM Insert ActiveSetup into Registry
REG ADD "HKLM\Software\Microsoft\Active Setup\Installed Components\HSU-Picasa3" /v "StubPath" /t REG_SZ /d "CMD /C REG IMPORT \"%%ProgramFiles(x86)%%\Google\Picasa3\HKCUPICASA.reg\"" /f
REG ADD "HKLM\Software\Microsoft\Active Setup\Installed Components\HSU-Picasa3" /v "Version" /t REG_SZ /d "2,0,0,0" /f
:DefaultUser
REM Copy Files Needed to Default Profile on C:\
XCOPY "%loc%db3" "%SystemDrive%\Users\Default\AppData\Local\Google\Picasa2\db3" /Y /I

Put all this in your source folder, create your Application in SCCM and call your script to install.











All new users who login to the computer will have all the Picasa first run prompts taken care of.

Thursday, June 26, 2014

Deploy Maxima 5.31.2, (a Computer Algebra System) Silently with Active Setup

While working on a application package for deploying Maxima with SCCM 2012 recently, I found a perfect example of how to build a simple application deployment with Active Setup.

During this application build we are going to:
  1. Install Maxima silently.
  2. Disable ShowTips for each user using Active Setup.
  3. Remove the Firewall block prompt during first run. (I am allowing it through)
  4. Remove Desktop Icon if it exists.
Create a file called hkcumaxima.reg in your source directory. This file should contain:

Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\wxMaxima]
"ShowTips"=dword:00000000


This file will be copied into the Maxima program folder during installation. It will be imported into the active setup registry location during logons.

Next create an install.cmd file with the following commands:

@echo off
cls


:Path
set loc=%~dp0


:Install
"%loc%maxima-5.31.2.exe"  /VERYSILENT /MERGETASKS=!desktopicon


REM ActiveSetup settings
REG ADD "HKLM\Software\Microsoft\Active Setup\Installed Components\HSU-Maxima" /v "StubPath" /t REG_SZ /d "CMD /C REG IMPORT \"%%ProgramFiles(x86)%%\Maxima-5.31.2\hkcumaxima.reg\"" /f
REG ADD "HKLM\Software\Microsoft\Active Setup\Installed Components\HSU-Maxima" /v "Version" /t REG_SZ /d "2,0,0,0" /f


REM Copy Files to Location
XCOPY "%loc%hkcumaxima.reg" "%ProgramFiles(x86)%\Maxima-5.31.2\" /Y


REM Allow program through Firewall
netsh advfirewall firewall add rule name="Enable Maxima" dir=in program="c:\program files (x86)\maxima-5.31.2\bin\xmaxima.exe" remoteip=localsubnet action=allow


:Cleanup
if exist "%PUBLIC%\Desktop\xMaxima.lnk" del "%PUBLIC%\Desktop\xMaxima.lnk"


:End

Put these 2 files along with the maxima executable into your source folder and call install.cmd to install.

Thursday, June 19, 2014

Deploy Minitab 17 via SCCM

Minitab has released a new version. Here is my method for packaging Minitab 17 for deployment via SCCM.
  1. I download the executable mtben1710.mu.exe from Minitab. When run this executable will extract all its files into a directory in C:\Windows. So I run this on a test computer and at the "Welcome to the Minitab 17 Setup" window, I stop and go to "C:\Windows\Downloaded Installations\Minitab 17 English MU" and copy the files to another directory or my Source on my SCCM Distribution point.
  2. When the Setup.exe from the unpacked Minitab setup folder is run, it will extract an MSI to C:\Windows\Installer with what appears to be a random name. I want this MSI. I can get the GUID from it for my detection method when I make it an application deployment in SCCM. So on my test machine, I run Setup and go through the whole process of installing Minitab. I then do a hardware inventory on the test machine and use Resource Explorer to find out what MSI installed Minitab 17. Looking at the Installed Software table under the entry for Minitab17 (not the entry for Minitab 17, don't ask me why its listed twice), I see that the local package that installed Minitab was C:\Windows\Installer\266403.msi. I copy this MSI to my Minitab 17 source folder. When I build the Application Deployment Type in SCCM, for my detection method I choose this MSI to get the GUID and version number. Alternatively you can dig around in this folder examining each MSI to find the right one.
  3. Now that you have the source files. Next you need to create a config.xml file. Open a command prompt in the directory with your source files and type "setup /admin" This will open the Minitab 17 Customization Tool. Here you will specify your license server, install options like whether to install the desktop icon, accept the EULA, make it a silent install and disable or enable the Software Update Manager. Create and save a config.xml to your source folder with the rest of the installation files.
  4.  Once you have created and saved your config.xml file, you need the command line for installation. The command line I use for installing Minitab 17 is simply: "setup.exe /config config.xml". My config.xml file takes care of the license server name, no desktop shortcut, accepts the EULA, disabled the Minitab update manager and installs silently.

Deploying without a license server

Ok so what about laptops or computers that may need to use Minitab without a license server, possibly because they wont be online when the user wants to use Minitab or maybe you don't have a license server.
Steps 1 and 2 are the same. At Step 3, enter localhost for the server name and save the new configuration file, possibly naming it config-standalone.xml if you already have config.xml for your license server settings in your source.
4. Next create a txt file called "MultiUserLicense.ini" with the following in it:
[Minitab 17.0]
License File=C:\Program Files (x86)\Minitab\Minitab 17\minitab.lic
Heartbeat=
Retries=
Put this file in your source, you are going to copy it to C:\ProgramData\Minitab\ during deployment. It tells Minitab where the license file is instead of prompting the user.
5. Now create a script to do all of this:
  1. Run the setup command with the appropriate switches
  2. Copy the minitab.lic file to the appropriate folder.
  3. Copy the MultiUserLicense.ini to the appropriate folder.
 I put the following code into a txt file called "install-standalone.cmd"
@ECHO OFF
:Location
Set loc=%~dp0
:Install
"%loc%Setup.exe" /config config-standalone.xml
:Copy License File
copy "%loc%minitab.lic" "C:\Program Files (x86)\Minitab\Minitab 17\minitab.lic"
copy "%loc%MultiUserLicense.ini" "C:\ProgramData\Minitab\MultiUserLicense.ini"
GOTO END
:END
Generally I package both of these into SCCM 2012 as 2 deployment types, the server license type is targeted to desktops, the stand alone is targeted to laptops.


Friday, June 13, 2014

Silently Deploy SPSS 22

While upgrading our deployments from SPSS 21 to SPSS 22 I noticed some changes in the SPSS 22 install. One, that the SPSS 22 .msi will now install the Microsoft Studio C++ 2008 redistributable itself, meaning that you no longer have to have this has a dependency for SPSS if you are using SCCM 2012 Application Deployment method and two, that Python is bundled with it.

This install script will:
  1. Silently Uninstall SPSS 19, 20 or 21 suppressing the reboot after uninstall.
  2. Silently Install SPSS 22 suppressing the reboot.
  3. Removes the 2 prompts for Firewall exception on first run. I block them, you can allow them by changing the script.
  4. Removes the encoding prompt on first run, defaulting to Unicode encoding.
  5. Licenses either with a license server or standalone depending on command used.
  6. Installs Python, integration plugin and extension commands for SPSS Statistics.

If you have the SPSS exe you will need to get the .msi file. You can get the .msi by double clicking the executable on a test machine and after it extracts and the InstallShield Wizard pops up you can browse to the temp folder created at %UserProfile%\AppData\Local\Temp\{somerandomstring} and move the msi somewhere else and cancel out of the wizard. Look for the folder most recently created.

I use the following cmd script to install SPSS 22.

@Echo off
CLS

:Path
Set loc=%~dp0

REM Uninstall SPSS 19
msiexec.exe /x {06C43FAA-7226-41EF-A05E-9AE0AA849FFE} /qn /norestart ALLUSERS=1 REMOVE="ALL"
REM Uninstall SPSS 20
msiexec.exe /x {2AF8017B-E503-408F-AACE-8A335452CAD2} /qn /norestart ALLUSERS=1 REMOVE="ALL"
REM Uninstall SPSS 21
msiexec.exe /x {1E26B9C2-ED08-4EEA-83C8-A786502B41E5} /qn /norestart ALLUSERS=1 REMOVE="ALL"


REM Installs SPSS22 with Network License
msiexec.exe /qn ALLUSERS=2 /m MSIDWWPE /norestart /i "%loc%IBM SPSS Statistics 22.msi" LICENSETYPE="Network" LSHOST="input your license server" DISABLE_COMMUTE="1" INSTALLPYTHON="1"

REM Config
netsh advfirewall firewall add rule name="Block SPSS Incoming" dir=in program="c:\program files\ibm\spss\statistics\22\stats.exe" remoteip=localsubnet action=block
netsh advfirewall firewall add rule name="Block Java Incoming" dir=in program="c:\program files\ibm\spss\statistics\22\JRE\bin\javaw.exe" remoteip=localsubnet action=block


REM Enable UUENCODING
reg add HKLM\Software\JavaSoft\Prefs\com\ibm\/S/P/S/S\/Statistics\22.0\ui\dialog_settings\welcome_page /v show_unicode_warning /d 1
reg add HKLM\Software\JavaSoft\Prefs\com\ibm\/S/P/S/S\/Statistics\22.0\ui\dialog_settings\welcome_page /v shown_unicode_warning /d 1



If you are using stand alone licenses, substitute the install line with:

msiexec.exe /q ALLUSERS=2 /m MSIUQUPQ /norestart /i "%loc%IBM SPSS Statistics 22.msi" AUTHCODE="input your license code" INSTALLPYTHON="1"

Place the Install Script with the MSI in the same folder and deploy with ConfigMgr.

Friday, May 9, 2014

Silently Deploy VLC with SCCM

I was looking for a way to silently deploy VLC without having it prompt the user with the Privacy and Network Access Policy. This is especially important in our University's computer lab environment because we run Deep Freeze and it will prompt the user each time a media file is played, as well as we don't want our users turning on VLC updates.
I use to configure VLC by downloading the source files, modifying them and building my own MSI but I wanted to get away from doing that every time a new version came out. I also tried it with creating a vlc-qt-interface.ini and vlcrc file and copying it to C:\ProgramData\vlc but had no success doing it that way with newer versions.
I found the method below to work well on 64 bit machines, which is what we standardized on. If you need to deploy to 32 bit machines as well you can probably replace the hard coded path with a variable to Program Files. This way is easy to update when a new version comes out as all I have to do is drop the new executable in source, change the script to point to the new executable, and in SCCM update application content and detection method.

This script will silently install VLC with:
  • No Shortcut on Desktop
  • Disable EULA, Privacy and Network Policies, and checking for Updates when files are opened via double clicking, opened via right clicking and selecting Play with VLC media player, opened via right clicking and selecting Add to VLC media player's Playlist, and when the program is run from shortcut. (whew!)
  • Added 2/26/2015 - Default to VLC to play DVD movies when the DVD drive is double clicked.
 
  1. Download the Installer (.exe) version from http://www.videolan.org/vlc/download-windows.html and put in your source.
  2. Create a shortcut with target "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --no-qt-privacy-ask –no-qt-updates-notif name it "VLC media player" and put it in your source with the executable.
  3. Create an install.cmd text file with the following:
REM Removes desktop icon, modified to not prompt for privacy or updates
:Path 
set loc=%~dp0

:Install
"%loc%vlc-2.1.5-win32.exe" /L=1033 /S /NCRC

:Configure
REM Remove all the useless shortcuts from Program Menu
RMDIR "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\VideoLAN" /S /Q
REM Create New Folder for our Shortcut and copy it into place
MKDIR "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\VideoLAN"
xcopy "%loc%VLC media player.lnk" "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\VideoLAN\" /E /V /H /Y

REM Modify Registry for opening DVD Movies when double clicked
reg add HKLM\SOFTWARE\Classes\DVD\shell\play\command /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file dvd:///"%%1"" /f

REM Modify Registry for opening files on double click
reg add HKCR\VLC.3g2\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.3ga\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.3gp\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.3gp2\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.3gpp\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.669\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.a52\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.aac\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.ac3\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.adt\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.adts\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.aif\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.aifc\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.aiff\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.amr\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.amv\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.aob\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.ape\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.asf\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.asx\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.au\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.avi\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.b4s\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.bin\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.caf\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.cda\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.cue\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.divx\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.drc\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.dts\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.dv\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.f4v\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.flac\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.flv\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.gvi\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.gxf\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.ifo\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.it\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.m1v\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.m2t\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.m2ts\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.m2v\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.m3u\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.m3u8\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.m4a\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.m4p\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.m4v\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.mid\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.mka\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.mkv\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.mlp\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.mod\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.mov\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.mp1\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.mp2\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.mp2v\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.mp3\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.mp4\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.mp4v\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.mpa\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.mpc\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.mpe\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.mpeg\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.mpeg1\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.mpeg2\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.mpeg4\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.mpg\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.mpga\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.mpv2\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.mts\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.mtv\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.mxf\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.nsv\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.nuv\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.oga\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.ogg\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.ogm\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.ogv\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.ogx\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.oma\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.opus\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.pls\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.qcp\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.ra\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.ram\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.rec\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.rm\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.rmi\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.rmvb\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.s3m\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.sdp\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.snd\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.spx\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.tod\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.ts\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.tta\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.tts\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.vlc\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.vob\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.voc\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.vqf\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.vro\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.w64\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.wav\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.webm\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.wma\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.wmv\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.wv\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.wvx\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.xa\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.xesc\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.xm\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
reg add HKCR\VLC.xspf\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f

REM Modify Registry for right click, open with VLC option
reg add HKCR\VLC.3g2\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.3ga\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.3gp\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.3gp2\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.3gpp\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.669\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.a52\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.aac\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.ac3\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.adt\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.adts\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.aif\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.aifc\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.aiff\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.amr\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.amv\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.aob\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.ape\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.asf\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.asx\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.au\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.avi\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.b4s\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.bin\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.caf\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.cda\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.cue\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.divx\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.drc\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.dts\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.dv\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.f4v\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.flac\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.flv\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.gvi\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.gxf\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.ifo\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.it\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.m1v\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.m2t\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.m2ts\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.m2v\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.m3u\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.m3u8\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.m4a\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.m4p\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.m4v\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mid\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mka\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mkv\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mlp\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mod\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mov\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mp1\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mp2\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mp2v\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mp3\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mp4\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mp4v\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mpa\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mpc\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mpe\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mpeg\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mpeg1\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mpeg2\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mpeg4\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mpg\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mpga\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mpv2\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mts\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mtv\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mxf\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.nsv\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.nuv\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.oga\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.ogg\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.ogm\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.ogv\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.ogx\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.oma\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.opus\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.pls\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.qcp\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.ra\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.ram\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.rec\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.rm\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.rmi\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.rmvb\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.s3m\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.sdp\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.snd\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.spx\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.tod\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.ts\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.tta\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.tts\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.vlc\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.vob\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.voc\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.vqf\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.vro\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.w64\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.wav\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.webm\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.wma\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.wmv\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.wv\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.wvx\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.xa\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.xesc\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.xm\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.xspf\shell\PlayWithVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --no-playlist-enqueue \"%%1\"" /f

REM Modify Registry to remove prompts from right click Add to VLC media player's Playlist
reg add HKCR\VLC.3g2\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.3ga\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.3gp\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.3gp2\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.3gpp\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.669\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.a52\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.aac\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.ac3\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.adt\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.adts\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.aif\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.aifc\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.aiff\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.amr\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.amv\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.aob\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.ape\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.asf\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.asx\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.au\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.avi\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.b4s\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.bin\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.caf\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.cda\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.cue\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.divx\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.drc\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.dts\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.dv\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.f4v\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.flac\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.flv\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.gvi\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.gxf\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.ifo\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.it\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.m1v\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.m2t\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.m2ts\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.m2v\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.m3u\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.m3u8\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.m4a\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.m4p\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.m4v\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mid\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mka\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mkv\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mlp\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mod\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mov\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mp1\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mp2\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mp2v\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mp3\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mp4\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mp4v\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mpa\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mpc\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mpe\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mpeg\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mpeg1\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mpeg2\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mpeg4\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mpg\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mpga\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mpv2\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mts\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mtv\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.mxf\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.nsv\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.nuv\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.oga\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.ogg\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.ogm\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.ogv\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.ogx\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.oma\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.opus\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.pls\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.qcp\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.ra\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.ram\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.rec\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.rm\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.rmi\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.rmvb\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.s3m\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.sdp\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.snd\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.spx\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.tod\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.ts\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.tta\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.tts\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.vlc\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.vob\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.voc\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.vqf\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.vro\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.w64\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.wav\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.webm\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.wma\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.wmv\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.wv\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.wvx\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.xa\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.xesc\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.xm\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f
reg add HKCR\VLC.xspf\shell\AddToPlaylistVLC\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file --playlist-enqueue \"%%1\"" /f

:Cleanup
DEL "%PUBLIC%\Desktop\VLC media player.lnk" /S


If VLC supports a new media file type, you can add it to the reg add sections. There are 3 sections above, one for double clicking, one for right click play in vlc, and one for right click and add to vlc playlist.