Commands for installing Malwarebytes Windows Firewall Control without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.
Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell
With winget
PowerShell
winget install --id BiniSoft.WindowsFirewallControl -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id BiniSoft.WindowsFirewallControl -e --silentwinget uninstall --id BiniSoft.WindowsFirewallControl -e --silentBy installer
32-bit · EXE · All users
Silent install
wfc6setup.exe -run -close -install -updatePowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-malwarebytes-windows-firewall-control.ps1
$url = 'https://www.binisoft.org/download/wfc6setup.exe'
$sha256 = '26BD4B19FB8AB523E621E40EC5426B7289B467E88505D6764A87E7AD6DF4D5C1'
$file = Join-Path $env:TEMP 'wfc6setup.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '-run -close -install -update' -Wait