Befehle, um Microsoft Data Migration Assistant 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
winget install --id Microsoft.DataMigrationAssistant -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.DataMigrationAssistant -e --silentwinget uninstall --id Microsoft.DataMigrationAssistant -e --silentNach Installer
64-Bit · MSI · en-US
msiexec /i DataMigrationAssistant.msi /qn /norestartmsiexec /i DataMigrationAssistant.msi /qn /norestart /l*v "%TEMP%\microsoft-data-migration-assistant-install.log"msiexec /x {6AB2C3EE-9B0E-4F8B-A0E2-712E915A86BD} /qn /norestart- MSI-Produktcode
- {6AB2C3EE-9B0E-4F8B-A0E2-712E915A86BD}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6AB2C3EE-9B0E-4F8B-A0E2-712E915A86BD}
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
$url = 'https://download.microsoft.com/download/c/6/3/c63d8695-cef2-43c3-af0a-4989507e429b/DataMigrationAssistant.msi'
$sha256 = '2BD9D47770608EF6D47BFE6B698AD550506A6BCC36F71DCA8D1936BD82B42FC1'
$file = Join-Path $env:TEMP 'DataMigrationAssistant.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