Ordres per instal·lar Malwarebytes Privacy sense preguntes, desinstal·lar-lo i detectar-lo des d’eines de desplegament. Només es mostra una ordre quan és segura: la que indica el manifest o el valor per defecte documentat de la tecnologia de l’instal·lador.
Guia relacionada: Instal·lació silenciosa: MSI, NSIS, Inno Setup · Desinstal·lar un programa amb el registre o PowerShell
Amb 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 --silentPer instal·lador
64 bits · EXE (Inno Setup) · Tots els usuaris
MBPrivacySetup.exe /VERYSILENTMBPrivacySetup.exe /VERYSILENT /DIR="C:\Apps\malwarebytes-privacy"32 bits · EXE (Inno Setup) · Tots els usuaris
MBPrivacySetup.exe /VERYSILENTMBPrivacySetup.exe /VERYSILENT /DIR="C:\Apps\malwarebytes-privacy"PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
$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