Befehle, um Microsoft .NET Runtime 6.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.6 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.DotNet.Runtime.6 -e --silentwinget uninstall --id Microsoft.DotNet.Runtime.6 -e --silentNach Installer
64-Bit · EXE (WiX Burn)
Stille Installation
dotnet-runtime-6.0.36-win-x64.exe /quietDeinstallation
msiexec /x {9D3FC73F-1CF4-412C-A1C9-D2AD28CCBD62} /qn /norestart- MSI-Produktcode
- {9d3fc73f-1cf4-412c-a1c9-d2ad28ccbd62}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9d3fc73f-1cf4-412c-a1c9-d2ad28ccbd62}
- DisplayVersion
- 6.0.36.34214
ARM64 · EXE (WiX Burn)
Stille Installation
dotnet-runtime-6.0.36-win-arm64.exe /quietDeinstallation
msiexec /x {17EA21F0-B70D-4CB5-AEB9-4AF10C9D433C} /qn /norestart- MSI-Produktcode
- {17ea21f0-b70d-4cb5-aeb9-4af10c9d433c}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{17ea21f0-b70d-4cb5-aeb9-4af10c9d433c}
- DisplayVersion
- 6.0.36.34214
32-Bit · EXE (WiX Burn)
Stille Installation
dotnet-runtime-6.0.36-win-x86.exe /quietDeinstallation
msiexec /x {8C97CB9F-5366-4851-942A-4DA7D5980EE8} /qn /norestart- MSI-Produktcode
- {8c97cb9f-5366-4851-942a-4da7d5980ee8}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{8c97cb9f-5366-4851-942a-4da7d5980ee8}
- DisplayVersion
- 6.0.36.34214
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-microsoft-net-runtime-6-0.ps1
$url = 'https://builds.dotnet.microsoft.com/dotnet/Runtime/6.0.36/dotnet-runtime-6.0.36-win-x64.exe'
$sha256 = '6BDAD7BC4C41FE93D4AE7B0312B1D017CFE369D28E7E2E421F5B675F9FEEFE84'
$file = Join-Path $env:TEMP 'dotnet-runtime-6.0.36-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-6-0.ps1
$url = 'https://builds.dotnet.microsoft.com/dotnet/Runtime/6.0.36/dotnet-runtime-6.0.36-win-arm64.exe'
$sha256 = 'E34775FF8723BF4E6D397473E302E246A18692E6EA3B3906EFF3CB5A6F8C8F3B'
$file = Join-Path $env:TEMP 'dotnet-runtime-6.0.36-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-6-0.ps1
$url = 'https://builds.dotnet.microsoft.com/dotnet/Runtime/6.0.36/dotnet-runtime-6.0.36-win-x86.exe'
$sha256 = '3B3CB4636251A582158F4B6B340F20B3861E6793EB9A3E64BDA29CBF32DA3604'
$file = Join-Path $env:TEMP 'dotnet-runtime-6.0.36-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