Befehle, um Microsoft .NET Runtime 9.0 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 Microsoft.DotNet.Runtime.9 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.DotNet.Runtime.9 -e --silentwinget uninstall --id Microsoft.DotNet.Runtime.9 -e --silentNach Installer
64-Bit · EXE (WiX Burn) · Alle Benutzer
Stille Installation
dotnet-runtime-9.0.22-win-x64.exe /quietDeinstallation
msiexec /x {82588CAC-50D6-47DF-A52A-FB36A4446C49} /qn /norestart- MSI-Produktcode
- {82588cac-50d6-47df-a52a-fb36a4446c49}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{82588cac-50d6-47df-a52a-fb36a4446c49}
- DisplayVersion
- 9.0.22.36622
ARM64 · EXE (WiX Burn) · Alle Benutzer
Stille Installation
dotnet-runtime-9.0.22-win-arm64.exe /quietDeinstallation
msiexec /x {65973860-C4C9-45E7-89C2-44E06F8F5BAE} /qn /norestart- MSI-Produktcode
- {65973860-c4c9-45e7-89c2-44e06f8f5bae}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{65973860-c4c9-45e7-89c2-44e06f8f5bae}
- DisplayVersion
- 9.0.22.36622
32-Bit · EXE (WiX Burn) · Alle Benutzer
Stille Installation
dotnet-runtime-9.0.22-win-x86.exe /quietDeinstallation
msiexec /x {1C34F72B-77D5-4ED5-AF7D-6B22CB81147E} /qn /norestart- MSI-Produktcode
- {1c34f72b-77d5-4ed5-af7d-6b22cb81147e}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{1c34f72b-77d5-4ed5-af7d-6b22cb81147e}
- DisplayVersion
- 9.0.22.36622
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-microsoft-net-runtime-9-0.ps1
$url = 'https://download.microsoft.com/download/cbe1e657-901f-43fe-a473-1274af93b694/f76afc7a-1ebd-4b9b-beb9-92d0b872b5d8/dotnet-runtime-9.0.22-win-x64.exe'
$sha256 = 'C0327DAF307C18F23515735BAE8A1C2EE3881B317F6DD1AAAE867B852B8235A6'
$file = Join-Path $env:TEMP 'dotnet-runtime-9.0.22-win-x64.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' -Wait install-microsoft-net-runtime-9-0.ps1
$url = 'https://download.microsoft.com/download/cbe1e657-901f-43fe-a473-1274af93b694/b2e3f54a-3244-4547-b545-c0b20ad07c2a/dotnet-runtime-9.0.22-win-arm64.exe'
$sha256 = '466564277BEE05977F5162161762D15F4F81158DF8C9A858AE0C84A2FBDCF05A'
$file = Join-Path $env:TEMP 'dotnet-runtime-9.0.22-win-arm64.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' -Wait install-microsoft-net-runtime-9-0.ps1
$url = 'https://download.microsoft.com/download/cbe1e657-901f-43fe-a473-1274af93b694/17ce3ff9-537d-4f65-b60a-5a43af39ca9f/dotnet-runtime-9.0.22-win-x86.exe'
$sha256 = 'E38CA2CFC29915D2845DBCE54FBC04F40133F0A451C3C1115D9A333415D0983C'
$file = Join-Path $env:TEMP 'dotnet-runtime-9.0.22-win-x86.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' -Wait