Kommandon för att installera Malwarebytes Privacy utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.
Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell
Med winget
PowerShell
winget install --id Malwarebytes.Privacy -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Malwarebytes.Privacy -e --silentwinget uninstall --id Malwarebytes.Privacy -e --silentPer installationsfil
64-bitars · EXE (Inno Setup) · Alla användare
Tyst installation
MBPrivacySetup.exe /VERYSILENTEgen mapp
MBPrivacySetup.exe /VERYSILENT /DIR="C:\Apps\malwarebytes-privacy"32-bitars · EXE (Inno Setup) · Alla användare
Tyst installation
MBPrivacySetup.exe /VERYSILENTEgen mapp
MBPrivacySetup.exe /VERYSILENT /DIR="C:\Apps\malwarebytes-privacy"PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-malwarebytes-privacy.ps1
$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 install-malwarebytes-privacy.ps1
$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