Commando’s om Malwarebytes zonder vragen te installeren, weer te verwijderen en te detecteren in uitroltools. Een commando staat er alleen als het vaststaat: uit het manifest of als gedocumenteerde standaard van de installertechniek.
Gerelateerde handleiding: Stille installatie-parameters: MSI, NSIS, Inno Setup · Programma verwijderen via register of PowerShell
Met winget
PowerShell
winget install --id Malwarebytes.Malwarebytes -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Malwarebytes.Malwarebytes -e --silentwinget uninstall --id Malwarebytes.Malwarebytes -e --silentPer installer
64-bits · EXE · Alle gebruikers
Stille installatie
mb5-setup-consumer-5.8.2.430-170.0.5833-1.0.117706.exe /VERYSILENT /NORESTART- Registersleutel voor verwijderen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{35065F43-4BB2-439A-BFF7-0F1014F2E0CD}_is1
32-bits · EXE · Alle gebruikers
Stille installatie
mb5-setup-consumer-5.8.2.430-170.0.5833-1.0.117706.exe /VERYSILENT /NORESTART- Registersleutel voor verwijderen
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{35065F43-4BB2-439A-BFF7-0F1014F2E0CD}_is1
PowerShell: downloaden, controleren, installeren
Downloadt het officiële bestand, controleert de SHA256-hash en installeert stil.
install-malwarebytes.ps1
$url = 'https://data-cdn.mbamupdates.com/web/mb5-setup-consumer/offline/mb5-setup-consumer-5.8.2.430-170.0.5833-1.0.117706.exe'
$sha256 = '6D52AE48482A7F8B1517BDA22512B7F4A2BA3A5E341E9D4FFA649DF41FDF0CE8'
$file = Join-Path $env:TEMP 'mb5-setup-consumer-5.8.2.430-170.0.5833-1.0.117706.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 '/VERYSILENT /NORESTART' -Wait install-malwarebytes.ps1
$url = 'https://data-cdn.mbamupdates.com/web/mb5-setup-consumer/offline/mb5-setup-consumer-5.8.2.430-170.0.5833-1.0.117706.exe'
$sha256 = '6D52AE48482A7F8B1517BDA22512B7F4A2BA3A5E341E9D4FFA649DF41FDF0CE8'
$file = Join-Path $env:TEMP 'mb5-setup-consumer-5.8.2.430-170.0.5833-1.0.117706.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 '/VERYSILENT /NORESTART' -Wait