Microsoft .NET Runtime 3.1을(를) 확인 창 없이 설치하고 제거하며, 배포 도구에서 감지하기 위한 명령어입니다. 매니페스트에 기재되어 있거나 설치 기술의 문서화된 기본값처럼 확실한 명령어만 표시합니다.
관련 가이드: 무인 설치(자동 설치) 옵션 총정리 · 레지스트리·PowerShell로 프로그램 제거
winget 사용
PowerShell
winget install --id Microsoft.DotNet.Runtime.3_1 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.DotNet.Runtime.3_1 -e --silentwinget uninstall --id Microsoft.DotNet.Runtime.3_1 -e --silent설치 파일별
64비트 · EXE (WiX Burn)
무인 설치
dotnet-runtime-3.1.32-win-x64.exe /quiet제거
msiexec /x {784973C8-D618-4AC8-97ED-1FD52C5BDF2F} /qn /norestart- MSI 제품 코드
- {784973c8-d618-4ac8-97ed-1fd52c5bdf2f}
- 제거 레지스트리 키
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{784973c8-d618-4ac8-97ed-1fd52c5bdf2f}
- DisplayVersion
- 3.1.32.31915
ARM64 · EXE (WiX Burn)
무인 설치
dotnet-runtime-3.1.32-win-arm64.exe /quiet제거
msiexec /x {6CC44C43-4785-4357-A07B-8C9A354692EC} /qn /norestart- MSI 제품 코드
- {6cc44c43-4785-4357-a07b-8c9a354692ec}
- 제거 레지스트리 키
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6cc44c43-4785-4357-a07b-8c9a354692ec}
- DisplayVersion
- 3.1.32.31915
32비트 · EXE (WiX Burn)
무인 설치
dotnet-runtime-3.1.32-win-x86.exe /quiet제거
msiexec /x {9D5027E4-B04B-4AA9-92FB-1246F97F9CD7} /qn /norestart- MSI 제품 코드
- {9d5027e4-b04b-4aa9-92fb-1246f97f9cd7}
- 제거 레지스트리 키
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{9d5027e4-b04b-4aa9-92fb-1246f97f9cd7}
- DisplayVersion
- 3.1.32.31915
ARM · ZIP
설치 필요 없음 (포터블)
PowerShell: 다운로드, 검증, 설치
공식 파일을 다운로드하고 SHA256을 확인한 뒤 무인 설치합니다.
install-microsoft-net-runtime-3-1.ps1
$url = 'https://builds.dotnet.microsoft.com/dotnet/Runtime/3.1.32/dotnet-runtime-3.1.32-win-x64.exe'
$sha256 = '4393D2CDACECC096E964EA9761DFD5C336FB002B1B3AE0808E7D2D445E2DEA89'
$file = Join-Path $env:TEMP 'dotnet-runtime-3.1.32-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-3-1.ps1
$url = 'https://builds.dotnet.microsoft.com/dotnet/Runtime/3.1.32/dotnet-runtime-3.1.32-win-arm64.exe'
$sha256 = '44B1DAA5D705411E64F2733000DE2906B4BC655AFF965A5B7E0A0573C7C6ECE2'
$file = Join-Path $env:TEMP 'dotnet-runtime-3.1.32-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-3-1.ps1
$url = 'https://builds.dotnet.microsoft.com/dotnet/Runtime/3.1.32/dotnet-runtime-3.1.32-win-x86.exe'
$sha256 = 'BC735B1A969CD03CBF1D0A70D5F16402E1030F309E5E58CA072307A30F0DF164'
$file = Join-Path $env:TEMP 'dotnet-runtime-3.1.32-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