Befehle, um Microsoft .NET Runtime 11.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.11 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.DotNet.Runtime.11 -e --silentwinget uninstall --id Microsoft.DotNet.Runtime.11 -e --silentNach Installer
64-Bit · EXE (WiX Burn) · Alle Benutzer
Stille Installation
dotnet-runtime-11.0.0-win-x64.exe /quietDeinstallation
msiexec /x {405628AA-61AE-4306-B41A-6E3437729610} /qn /norestart- MSI-Produktcode
- {405628AA-61AE-4306-B41A-6E3437729610}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{405628AA-61AE-4306-B41A-6E3437729610}
- DisplayVersion
- 11.0.0.36629
ARM64 · EXE (WiX Burn) · Alle Benutzer
Stille Installation
dotnet-runtime-11.0.0-win-arm64.exe /quietDeinstallation
msiexec /x {58574F21-0D49-4206-B794-D51DAB7FA42F} /qn /norestart- MSI-Produktcode
- {58574F21-0D49-4206-B794-D51DAB7FA42F}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{58574F21-0D49-4206-B794-D51DAB7FA42F}
- DisplayVersion
- 11.0.0.36629
32-Bit · EXE (WiX Burn) · Alle Benutzer
Stille Installation
dotnet-runtime-11.0.0-win-x86.exe /quietDeinstallation
msiexec /x {CE904AAA-F3B6-4E80-ABAD-01E56A1AF01B} /qn /norestart- MSI-Produktcode
- {CE904AAA-F3B6-4E80-ABAD-01E56A1AF01B}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{CE904AAA-F3B6-4E80-ABAD-01E56A1AF01B}
- DisplayVersion
- 11.0.0.36629
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-microsoft-net-runtime-11-0.ps1
$url = 'https://download.microsoft.com/download/4cb27df5-864a-482d-b5b2-63e1bce4d619/dcb07ce7-a283-4a5d-8b42-194313d57f69/dotnet-runtime-11.0.0-win-x64.exe'
$sha256 = '7338C0BF3895EBFC03C03A37F99B13B6CF558C85709534439F76D61A2CA1289F'
$file = Join-Path $env:TEMP 'dotnet-runtime-11.0.0-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-11-0.ps1
$url = 'https://download.microsoft.com/download/4cb27df5-864a-482d-b5b2-63e1bce4d619/68f89ae9-92ce-498f-99db-b362401eb807/dotnet-runtime-11.0.0-win-arm64.exe'
$sha256 = 'BA7F8D7878C0860A5FD69636C93B58C382B0FC37CDAFE67E933DD1C0FA43DE9F'
$file = Join-Path $env:TEMP 'dotnet-runtime-11.0.0-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-11-0.ps1
$url = 'https://download.microsoft.com/download/4cb27df5-864a-482d-b5b2-63e1bce4d619/6bdc6501-644a-43ac-9d14-bbf8ff69fae4/dotnet-runtime-11.0.0-win-x86.exe'
$sha256 = 'CC3210FC62EBA61E1B601883EE87F01508C48DC289BB9659912C4325B455102D'
$file = Join-Path $env:TEMP 'dotnet-runtime-11.0.0-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