Befehle, um Session Manager Plugin 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 Amazon.SessionManagerPlugin -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Amazon.SessionManagerPlugin -e --silentwinget uninstall --id Amazon.SessionManagerPlugin -e --silentNach Installer
64-Bit · EXE (WiX Burn) · Alle Benutzer
Stille Installation
SessionManagerPluginSetup.exe /quiet /norestartDeinstallation
msiexec /x {CEF0D74C-33BC-432B-941F-6E17BEA1F9D3} /qn /norestart- MSI-Produktcode
- {cef0d74c-33bc-432b-941f-6e17bea1f9d3}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{cef0d74c-33bc-432b-941f-6e17bea1f9d3}
- UpgradeCode
- {9670508D-C72E-4FBC-B783-202D0682C2FE}
32-Bit · EXE (WiX Burn) · Alle Benutzer
Stille Installation
SessionManagerPluginSetup.exe /quiet /norestartDeinstallation
msiexec /x {CEF0D74C-33BC-432B-941F-6E17BEA1F9D3} /qn /norestart- MSI-Produktcode
- {cef0d74c-33bc-432b-941f-6e17bea1f9d3}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{cef0d74c-33bc-432b-941f-6e17bea1f9d3}
- UpgradeCode
- {9670508D-C72E-4FBC-B783-202D0682C2FE}
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-session-manager-plugin.ps1
$url = 'https://s3.amazonaws.com/session-manager-downloads/plugin/1.2.896.0/windows/SessionManagerPluginSetup.exe'
$sha256 = '116A121CA6A781B7985D0C9FA3C5C9143440ACDE7822DE2E32733665EED30347'
$file = Join-Path $env:TEMP 'SessionManagerPluginSetup.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 '/quiet /norestart' -Wait install-session-manager-plugin.ps1
$url = 'https://s3.amazonaws.com/session-manager-downloads/plugin/1.2.896.0/windows/SessionManagerPluginSetup.exe'
$sha256 = '116A121CA6A781B7985D0C9FA3C5C9143440ACDE7822DE2E32733665EED30347'
$file = Join-Path $env:TEMP 'SessionManagerPluginSetup.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 '/quiet /norestart' -Wait