פקודות להתקנה של Remote Desktop בלי חלונות ושאלות, להסרה ולזיהוי בכלי הפצה. פקודה מוצגת רק כשהיא ודאית: מתוך המניפסט או מברירת המחדל המתועדת של טכנולוגיית ההתקנה.
מדריך קשור: פרמטרים להתקנה שקטה: MSI, NSIS, Inno Setup · הסרת תוכנה דרך הרישום או PowerShell
באמצעות winget
PowerShell
winget install --id Microsoft.RemoteDesktopClient -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.RemoteDesktopClient -e --silentwinget uninstall --id Microsoft.RemoteDesktopClient -e --silentלפי קובץ התקנה
64 ביט · MSI · כל המשתמשים
התקנה שקטה
msiexec /i RemoteDesktop_1.2.7430.0_x64.msi /qn /norestartכתיבת קובץ יומן
msiexec /i RemoteDesktop_1.2.7430.0_x64.msi /qn /norestart /l*v "%TEMP%\remote-desktop-install.log"הסרת התקנה
msiexec /x {C3E59FA5-6CD4-4CF1-AE1A-AF771EF12C14} /qn /norestart- קוד מוצר MSI
- {C3E59FA5-6CD4-4CF1-AE1A-AF771EF12C14}
- מפתח הסרה ברישום
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{C3E59FA5-6CD4-4CF1-AE1A-AF771EF12C14}
- UpgradeCode
- {F35D4E51-0F33-426C-B8A8-3ECF4ADBFC5F}
ARM64 · MSI · כל המשתמשים
התקנה שקטה
msiexec /i RemoteDesktop_1.2.7430.0_ARM64.msi /qn /norestartכתיבת קובץ יומן
msiexec /i RemoteDesktop_1.2.7430.0_ARM64.msi /qn /norestart /l*v "%TEMP%\remote-desktop-install.log"הסרת התקנה
msiexec /x {86BFCCF9-69C5-492B-B8D1-E03969141A97} /qn /norestart- קוד מוצר MSI
- {86BFCCF9-69C5-492B-B8D1-E03969141A97}
- מפתח הסרה ברישום
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{86BFCCF9-69C5-492B-B8D1-E03969141A97}
- UpgradeCode
- {F35D4E51-0F33-426C-B8A8-3ECF4ADBFC5F}
32 ביט · MSI · כל המשתמשים
התקנה שקטה
msiexec /i RemoteDesktop_1.2.7430.0_x86.msi /qn /norestartכתיבת קובץ יומן
msiexec /i RemoteDesktop_1.2.7430.0_x86.msi /qn /norestart /l*v "%TEMP%\remote-desktop-install.log"הסרת התקנה
msiexec /x {10DAF42F-9E15-443A-91EE-4D0E3C91D28F} /qn /norestart- קוד מוצר MSI
- {10DAF42F-9E15-443A-91EE-4D0E3C91D28F}
- מפתח הסרה ברישום
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{10DAF42F-9E15-443A-91EE-4D0E3C91D28F}
- UpgradeCode
- {F35D4E51-0F33-426C-B8A8-3ECF4ADBFC5F}
PowerShell: הורדה, אימות והתקנה
הסקריפט מוריד את הקובץ הרשמי, בודק את ערך ה־SHA256 ומתקין אותו בהתקנה שקטה.
install-remote-desktop.ps1
$url = 'https://res.cdn.office.net/remote-desktop-windows-client/229f15ef-f921-4ff3-95b8-7a6cd809a2df/RemoteDesktop_1.2.7430.0_x64.msi'
$sha256 = '6F48AF9B88611777F9E3E3CF4D411492F572699ADFFA78B06918FF5710F9519B'
$file = Join-Path $env:TEMP 'RemoteDesktop_1.2.7430.0_x64.msi'
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' -Wait install-remote-desktop.ps1
$url = 'https://res.cdn.office.net/remote-desktop-windows-client/1feafc4e-29f7-497e-bb27-3b77343d612c/RemoteDesktop_1.2.7430.0_ARM64.msi'
$sha256 = 'E292B3BC85C5FF2573FEA05CC24A0B74A594F23504E9A68FFF78ECAF59C3588C'
$file = Join-Path $env:TEMP 'RemoteDesktop_1.2.7430.0_ARM64.msi'
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' -Wait install-remote-desktop.ps1
$url = 'https://res.cdn.office.net/remote-desktop-windows-client/22ef1300-124c-4080-b99f-3fefdf2e2737/RemoteDesktop_1.2.7430.0_x86.msi'
$sha256 = '9DE825B3F0FFFE0671B00A06DC13526573AD588607921C72B1C84FA314807F9D'
$file = Join-Path $env:TEMP 'RemoteDesktop_1.2.7430.0_x86.msi'
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' -Wait