Is it possible to disable these options shown in the picture below using a batch file. I am making a program that can boost a computers performance can any one help. my OS is windows 7 32bit

Is it possible to disable these options shown in the picture below using a batch file. I am making a program that can boost a computers performance can any one help. my OS is windows 7 32bit

I created this today in case anyone wants to use a PowerShell script:
0 = Let windows choose what's best for my computer
1 = Adjust for best appearance
2 = Adjust for best performance
$mode = 2
$visualEffects = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects'
if ((Get-ItemProperty $visualEffects).PSObject.Properties.Name -contains $name)
{
New-ItemProperty -Path $visualEffects -Name 'VisualFXSetting' -Value $mode -PropertyType 'DWORD'
}
else
{
Set-ItemProperty -Path $visualEffects -Name 'VisualFXSetting' -Value $mode
}
Restart-Service -Name Themes #(optional) to apply settings now