Befehle, um AD Pro Toolkit 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 ActiveDirectoryPro.ADProToolkit -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ActiveDirectoryPro.ADProToolkit -e --silentwinget uninstall --id ActiveDirectoryPro.ADProToolkit -e --silentNach Installer
64-Bit · MSI · Alle Benutzer
Stille Installation
msiexec /i ADProToolkit.msi /qn /norestartProtokoll schreiben
msiexec /i ADProToolkit.msi /qn /norestart /l*v "%TEMP%\ad-pro-toolkit-install.log"Deinstallation
msiexec /x {2DC19BD0-7CD8-41CD-B470-229E0F976432} /qn /norestart- MSI-Produktcode
- {2DC19BD0-7CD8-41CD-B470-229E0F976432}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2DC19BD0-7CD8-41CD-B470-229E0F976432}
- UpgradeCode
- {0974AC06-5134-4B50-BAD1-578FDABD2EF8}
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-ad-pro-toolkit.ps1
$url = 'https://store.activedirectorypro.com/downloads/ADProToolkit.msi'
$sha256 = 'E79C80AAD0D1DDB6A9DDF5404F7E4059B90F4C710CBE350155535DBFD3DAEE6C'
$file = Join-Path $env:TEMP 'ADProToolkit.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