Kommandoer til at installere Malwarebytes Privacy 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
winget install --id Malwarebytes.Privacy -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Malwarebytes.Privacy -e --silentwinget uninstall --id Malwarebytes.Privacy -e --silentPr. installationsfil
64-bit · EXE (Inno Setup) · Alle brugere
MBPrivacySetup.exe /VERYSILENTMBPrivacySetup.exe /VERYSILENT /DIR="C:\Apps\malwarebytes-privacy"32-bit · EXE (Inno Setup) · Alle brugere
MBPrivacySetup.exe /VERYSILENTMBPrivacySetup.exe /VERYSILENT /DIR="C:\Apps\malwarebytes-privacy"PowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
$url = 'https://data-cdn.mbamupdates.com/web/mbprivacy/win/online/MBPrivacySetup.exe'
$sha256 = 'CD8372B940EBDA2048B867D6ACD8AF038724E3CA54CB1BCAA7E5AB51A73F5915'
$file = Join-Path $env:TEMP 'MBPrivacySetup.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' -Wait $url = 'https://data-cdn.mbamupdates.com/web/mbprivacy/win/online/MBPrivacySetup.exe'
$sha256 = 'CD8372B940EBDA2048B867D6ACD8AF038724E3CA54CB1BCAA7E5AB51A73F5915'
$file = Join-Path $env:TEMP 'MBPrivacySetup.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' -Wait