Befehle, um ActiveProtect Agent ohne Rückfragen zu installieren, wieder zu entfernen und in Verteilungswerkzeugen zu erkennen. Ein Befehl erscheint nur, wenn er feststeht: aus dem Manifest oder als dokumentierter Standard der jeweiligen Installer-Technik.
Passende Anleitung: Silent-Install-Parameter: MSI, NSIS, Inno Setup · Programm über Registry oder PowerShell deinstallieren
Mit winget
PowerShell
winget install --id Synology.ActiveProtectAgent -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Synology.ActiveProtectAgent -e --silentwinget uninstall --id Synology.ActiveProtectAgent -e --silentNach Installer
64-Bit · MSI · Alle Benutzer
Stille Installation
msiexec /i "Synology ActiveProtect Agent-x64-2.0.0-0773.msi" /qn /norestartProtokoll schreiben
msiexec /i "Synology ActiveProtect Agent-x64-2.0.0-0773.msi" /qn /norestart /l*v "%TEMP%\activeprotect-agent-install.log"Deinstallation
msiexec /x {A7F88332-3962-493D-BF69-78350E07696A} /qn /norestart- MSI-Produktcode
- {A7F88332-3962-493D-BF69-78350E07696A}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{A7F88332-3962-493D-BF69-78350E07696A}
- UpgradeCode
- {397AA9E1-F542-4BED-8BBF-ACD0F154BBB2}
32-Bit · MSI · Alle Benutzer
Stille Installation
msiexec /i "Synology ActiveProtect Agent-x86-2.0.0-0773.msi" /qn /norestartProtokoll schreiben
msiexec /i "Synology ActiveProtect Agent-x86-2.0.0-0773.msi" /qn /norestart /l*v "%TEMP%\activeprotect-agent-install.log"Deinstallation
msiexec /x {D1968315-F7E8-4F59-82CD-912549D4902A} /qn /norestart- MSI-Produktcode
- {D1968315-F7E8-4F59-82CD-912549D4902A}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{D1968315-F7E8-4F59-82CD-912549D4902A}
- UpgradeCode
- {397AA9E1-F542-4BED-8BBF-ACD0F154BBB2}
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-activeprotect-agent.ps1
$url = 'https://global.synologydownload.com/download/Utility/ActiveProtectAgent/2.0.0-0773/Windows/x86_64/Synology%20ActiveProtect%20Agent-x64-2.0.0-0773.msi'
$sha256 = 'C486C92EB0B02E90956CC00BD3048A3BDDF458CACF13B896BE53E0F96037FE3B'
$file = Join-Path $env:TEMP 'Synology ActiveProtect Agent-x64-2.0.0-0773.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait install-activeprotect-agent.ps1
$url = 'https://global.synologydownload.com/download/Utility/ActiveProtectAgent/2.0.0-0773/Windows/i686/Synology%20ActiveProtect%20Agent-x86-2.0.0-0773.msi'
$sha256 = 'FE876FD71DD89EBEA70D77D0EEBE4BC26FCE11DEE45385003B2BFCAD68C7B6BF'
$file = Join-Path $env:TEMP 'Synology ActiveProtect Agent-x86-2.0.0-0773.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait