Befehle, um Windows App 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.WindowsApp -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.WindowsApp -e --silentwinget uninstall --id Microsoft.WindowsApp -e --silentNach Installer
64-Bit · MSIX
Add-AppxPackage -Path WindowsApp_x64_Release_2.0.1482.0.msixGet-AppxPackage -Name MicrosoftCorporationII.Windows365 | Remove-AppxPackageARM64 · MSIX
Add-AppxPackage -Path WindowsApp_arm64_Release_2.0.1482.0.msixGet-AppxPackage -Name MicrosoftCorporationII.Windows365 | Remove-AppxPackage32-Bit · MSIX
Add-AppxPackage -Path WindowsApp_x86_Release_2.0.1482.0.msixGet-AppxPackage -Name MicrosoftCorporationII.Windows365 | Remove-AppxPackagePowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
$url = 'https://res.cdn.office.net/remote-desktop-windows-client/390902f9-2a4c-42d4-a574-c56461957534/WindowsApp_x64_Release_2.0.1482.0.msix'
$sha256 = '2FEF58ED626C5E611B70B1F0161F2B4F0FB877092F22B102BBDE2F15BE127AF4'
$file = Join-Path $env:TEMP 'WindowsApp_x64_Release_2.0.1482.0.msix'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file $url = 'https://res.cdn.office.net/remote-desktop-windows-client/c156d3e8-85f6-4111-bf6a-fc655e745642/WindowsApp_arm64_Release_2.0.1482.0.msix'
$sha256 = 'A51AB3ECA6A0BFA77A4C6D6DA538154BDA0EDBB53A1051BD56940784C521EED5'
$file = Join-Path $env:TEMP 'WindowsApp_arm64_Release_2.0.1482.0.msix'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file $url = 'https://res.cdn.office.net/remote-desktop-windows-client/477617b7-ba1e-48b9-a2c8-14cd1c2722d5/WindowsApp_x86_Release_2.0.1482.0.msix'
$sha256 = '4479B84F6B609810771CE1C57C7F7E466FE0C792E7D20BAFA667D41FACBBBBE0'
$file = Join-Path $env:TEMP 'WindowsApp_x86_Release_2.0.1482.0.msix'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file