Populärt: Data uppdaterade 1 december 2026

Kategorier

Internet1 434
Kommunikation331
Ljud och video944
Grafik och design572
Kontor och produktivitet1 195
Utvecklarverktyg3 312
AI-verktyg620
Säkerhet och integritet415
Systemverktyg3 232
Spel547
Utbildning och vetenskap243
Nätverk och IT297

Microsoft .NET Runtime 5.0: tyst installation och avinstallation

.NET is a free, cross-platform, open-source developer platform for building many different types of applications.

Kommandon för att installera Microsoft .NET Runtime 5.0 utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.

Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell

Med winget

PowerShell
winget install --id Microsoft.DotNet.Runtime.5 -e --silent --accept-package-agreements --accept-source-agreements
winget upgrade --id Microsoft.DotNet.Runtime.5 -e --silent
winget uninstall --id Microsoft.DotNet.Runtime.5 -e --silent

Per installationsfil

64-bitars · EXE (WiX Burn)

Tyst installationdotnet-runtime-5.0.17-win-x64.exe /quiet
Avinstallationmsiexec /x {A699B48E-5748-4980-AD92-0B61B1D9D718} /qn /norestart
MSI-produktkod
{a699b48e-5748-4980-ad92-0b61b1d9d718}
Avinstallationsnyckel i registret
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{a699b48e-5748-4980-ad92-0b61b1d9d718}
DisplayVersion
5.0.17.31213

ARM64 · EXE (WiX Burn)

Tyst installationdotnet-runtime-5.0.17-win-arm64.exe /quiet
Avinstallationmsiexec /x {A16627D9-B5B3-4D17-AF16-598341F32543} /qn /norestart
MSI-produktkod
{a16627d9-b5b3-4d17-af16-598341f32543}
Avinstallationsnyckel i registret
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{a16627d9-b5b3-4d17-af16-598341f32543}
DisplayVersion
5.0.17.31213

32-bitars · EXE (WiX Burn)

Tyst installationdotnet-runtime-5.0.17-win-x86.exe /quiet
Avinstallationmsiexec /x {2DD73F73-784C-4C71-9495-FD11CD6EDDF6} /qn /norestart
MSI-produktkod
{2dd73f73-784c-4c71-9495-fd11cd6eddf6}
Avinstallationsnyckel i registret
HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{2dd73f73-784c-4c71-9495-fd11cd6eddf6}
DisplayVersion
5.0.17.31213

PowerShell: ladda ner, kontrollera, installera

Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.

install-microsoft-net-runtime-5-0.ps1
$url = 'https://builds.dotnet.microsoft.com/dotnet/Runtime/5.0.17/dotnet-runtime-5.0.17-win-x64.exe'
$sha256 = '8387E162223AC2ADC4D0F24765A886052B8C514BB4EB3D7CC9333C747CD9A03B'
$file = Join-Path $env:TEMP 'dotnet-runtime-5.0.17-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

Populärast i Språk och SDK:er

Visa alla
  1. Go Programming LanguageSpråk och SDK:er
  2. LLVMSpråk och SDK:er · LLVM
  3. DenoSpråk och SDK:er · Deno Land Inc.
  4. CMakeSpråk och SDK:er · Kitware
  5. YarnSpråk och SDK:er · Yarn Contributors
  6. pnpmSpråk och SDK:er · pnpm
  7. CcacheSpråk och SDK:er · Joel Rosdahl
  8. sbtSpråk och SDK:er · Lightbend, Inc.
  9. BOINCSpråk och SDK:er · Space Sciences Laboratory, U.C. Berkeley
  10. Dart SDKSpråk och SDK:er · Google

Mer från Microsoft Corporation

Visa alla
  • PowerShellTerminaler och CLI-verktyg · Microsoft Corporation
  • PowerToysAnpassning · Microsoft Corporation
  • NuGetPakethanterare och uppdaterare · Microsoft Corporation
  • Microsoft Azure CLITerminaler och CLI-verktyg · Microsoft Corporation
  • OpenSSH PreviewFTP och filöverföring · Microsoft Corporation
  • Bicep CLISpråk och SDK:er · Microsoft Corporation

Taggar

Dela