Kommandoer til at installere Malwarebytes uden spørgsmål, fjerne programmet igen og finde det fra udrulningsværktøjer. En kommando vises kun, når den er sikker: fra manifestet eller som installationsteknologiens dokumenterede standard.
Relateret vejledning: Parametre til lydløs installation: MSI, NSIS, Inno · Afinstaller et program via registreringsdatabasen
Med 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 --silentPr. installationsfil
64-bit · EXE · Alle brugere
Lydløs installation
mb5-setup-consumer-5.7.2.358-166.0.5763-1.0.115215.exe /VERYSILENT /NORESTART- Afinstallationsnøgle i registreringsdatabasen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{35065F43-4BB2-439A-BFF7-0F1014F2E0CD}_is1
32-bit · EXE · Alle brugere
Lydløs installation
mb5-setup-consumer-5.7.2.358-166.0.5763-1.0.115215.exe /VERYSILENT /NORESTART- Afinstallationsnøgle i registreringsdatabasen
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{35065F43-4BB2-439A-BFF7-0F1014F2E0CD}_is1
PowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
install-malwarebytes.ps1
$url = 'https://data-cdn.mbamupdates.com/web/mb5-setup-consumer/offline/mb5-setup-consumer-5.7.2.358-166.0.5763-1.0.115215.exe'
$sha256 = 'AEE718183B29D045CF26E3BF3B9CFF9F3C31AD4D379ECACBA9CFAFF4D26756E7'
$file = Join-Path $env:TEMP 'mb5-setup-consumer-5.7.2.358-166.0.5763-1.0.115215.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.7.2.358-166.0.5763-1.0.115215.exe'
$sha256 = 'AEE718183B29D045CF26E3BF3B9CFF9F3C31AD4D379ECACBA9CFAFF4D26756E7'
$file = Join-Path $env:TEMP 'mb5-setup-consumer-5.7.2.358-166.0.5763-1.0.115215.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