أوامر لتثبيت برنامج Microsoft .NET Runtime 10.0 دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id Microsoft.DotNet.Runtime.10 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.DotNet.Runtime.10 -e --silentwinget uninstall --id Microsoft.DotNet.Runtime.10 -e --silentحسب المثبّت
64 بت · EXE (WiX Burn) · جميع المستخدمين
التثبيت الصامت
dotnet-runtime-10.0.15-win-x64.exe /quietإلغاء التثبيت
msiexec /x {E3860B64-C6F7-43B8-8809-CEE4AE78D57D} /qn /norestart- رمز منتج MSI
- {E3860B64-C6F7-43B8-8809-CEE4AE78D57D}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{E3860B64-C6F7-43B8-8809-CEE4AE78D57D}
- DisplayVersion
- 10.0.15.36629
ARM64 · EXE (WiX Burn) · جميع المستخدمين
التثبيت الصامت
dotnet-runtime-10.0.15-win-arm64.exe /quietإلغاء التثبيت
msiexec /x {C13E2ABB-87BC-477B-BD93-8154EC16CBCD} /qn /norestart- رمز منتج MSI
- {C13E2ABB-87BC-477B-BD93-8154EC16CBCD}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{C13E2ABB-87BC-477B-BD93-8154EC16CBCD}
- DisplayVersion
- 10.0.15.36629
32 بت · EXE (WiX Burn) · جميع المستخدمين
التثبيت الصامت
dotnet-runtime-10.0.15-win-x86.exe /quietإلغاء التثبيت
msiexec /x {585A5444-3F97-4E70-A4B7-F073BEB6A176} /qn /norestart- رمز منتج MSI
- {585A5444-3F97-4E70-A4B7-F073BEB6A176}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{585A5444-3F97-4E70-A4B7-F073BEB6A176}
- DisplayVersion
- 10.0.15.36629
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-microsoft-net-runtime-10-0.ps1
$url = 'https://download.microsoft.com/download/ffd45c1d-8bfb-4336-b17b-9b4d099046f1/820034e4-4b5b-422a-80a6-8b3ffafbf58d/dotnet-runtime-10.0.15-win-x64.exe'
$sha256 = '59B0DA003D18B76E8DCC0DC05BF7E54A0E6E83E7C569D57E1EE5C270664BB128'
$file = Join-Path $env:TEMP 'dotnet-runtime-10.0.15-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-10-0.ps1
$url = 'https://download.microsoft.com/download/ffd45c1d-8bfb-4336-b17b-9b4d099046f1/d5ce6fd1-95d5-4acd-adbb-406812706e50/dotnet-runtime-10.0.15-win-arm64.exe'
$sha256 = '07398DE5CC8EA84791B71C4EE80114E1F8A79B9A19AE1E63D60B2950FF8C4009'
$file = Join-Path $env:TEMP 'dotnet-runtime-10.0.15-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-10-0.ps1
$url = 'https://download.microsoft.com/download/ffd45c1d-8bfb-4336-b17b-9b4d099046f1/bb62b9e4-3216-47a6-94d3-b62d680f53b2/dotnet-runtime-10.0.15-win-x86.exe'
$sha256 = '781E1D683D205F9016720BED788BE8DF2EA6C6DBEABCFE744713AE3421F98B17'
$file = Join-Path $env:TEMP 'dotnet-runtime-10.0.15-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