免互動安裝Amazon DCV Server、解除安裝,以及在部署工具中偵測安裝狀態所用的指令。只列出確定可用的指令:來自資訊清單,或是安裝程式技術的官方預設參數。
相關教學: 靜默安裝參數總整理:MSI、NSIS、Inno Setup · 用登錄檔或PowerShell解除安裝程式
使用winget
PowerShell
winget install --id NICESoftware.AmazonDCVServer -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id NICESoftware.AmazonDCVServer -e --silentwinget uninstall --id NICESoftware.AmazonDCVServer -e --silent依安裝檔
64位元 · MSI · 所有使用者
靜默安裝
msiexec /i nice-dcv-server-x64-Release-2026.0-24952.msi /qn /norestart寫入記錄檔
msiexec /i nice-dcv-server-x64-Release-2026.0-24952.msi /qn /norestart /l*v "%TEMP%\amazon-dcv-server-install.log"解除安裝
msiexec /x {99F64A1A-4A40-4F7B-9CF3-2AFC84D7EFBB} /qn /norestart- MSI產品代碼
- {99F64A1A-4A40-4F7B-9CF3-2AFC84D7EFBB}
- 解除安裝登錄機碼
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{99F64A1A-4A40-4F7B-9CF3-2AFC84D7EFBB}
- UpgradeCode
- {ADED040E-8811-43F7-9A5F-E9339BC79454}
PowerShell:下載、驗證、安裝
下載官方檔案,驗證SHA256後靜默安裝。
install-amazon-dcv-server.ps1
$url = 'https://d1uj6qtbmh3dt5.cloudfront.net/2026.0/Servers/nice-dcv-server-x64-Release-2026.0-24952.msi'
$sha256 = '28E83279372F6DD313812BE5A0AE0C8A82BEEE4AE1976DA5F1EFFB0FD7E5B47F'
$file = Join-Path $env:TEMP 'nice-dcv-server-x64-Release-2026.0-24952.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