أوامر لتثبيت برنامج Remote Desktop Agent Boot Loader دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id Microsoft.WindowsVirtualDesktopBootloader -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.WindowsVirtualDesktopBootloader -e --silentwinget uninstall --id Microsoft.WindowsVirtualDesktopBootloader -e --silentحسب المثبّت
64 بت · MSI · جميع المستخدمين · en-US
التثبيت الصامت
msiexec /i setup.exe /qn /norestart /qn /norestartكتابة ملف سجل
msiexec /i setup.exe /qn /norestart /qn /norestart /l*v "%TEMP%\remote-desktop-agent-boot-loader-install.log"إلغاء التثبيت
msiexec /x {B7EAA4DF-2870-4386-910D-6465715A00BE} /qn /norestart- رمز منتج MSI
- {B7EAA4DF-2870-4386-910D-6465715A00BE}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B7EAA4DF-2870-4386-910D-6465715A00BE}
- UpgradeCode
- {B93A2D46-1728-4679-AD6E-EDD9EEF14E39}
- مجلد التثبيت
- %ProgramFiles%\Microsoft RDInfra\RDAgentBootLoader_1.0.11388.1600
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-remote-desktop-agent-boot-loader.ps1
$url = 'https://go.microsoft.com/fwlink/?linkid=2311028'
$sha256 = '2A29A36016553AA9F4C46A29014AACED76C57AA5055964C3D877BA01A88B30AA'
$file = Join-Path $env:TEMP 'setup.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart', '/qn /norestart' -Wait