Commands for installing RSSH without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.
Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell
With winget
PowerShell
winget install --id shihuili1218.RSSH -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id shihuili1218.RSSH -e --silentwinget uninstall --id shihuili1218.RSSH -e --silentBy installer
64-bit · EXE (NSIS) · Current user
Silent install
rssh-1.0.13-windows-x86_64-setup.exe /SCustom folder
rssh-1.0.13-windows-x86_64-setup.exe /S /D=C:\Apps\rssh- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\RSSH
64-bit · MSI · All users
Silent install
msiexec /i rssh-1.0.13-windows-x86_64.msi /qn /norestartWrite a log
msiexec /i rssh-1.0.13-windows-x86_64.msi /qn /norestart /l*v "%TEMP%\rssh-install.log"Uninstall
msiexec /x {A5073A04-BF2F-44C2-B4A2-9FC1A5BBA5EA} /qn /norestart- MSI product code
- {A5073A04-BF2F-44C2-B4A2-9FC1A5BBA5EA}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{A5073A04-BF2F-44C2-B4A2-9FC1A5BBA5EA}
- UpgradeCode
- {B6C933A1-D0E0-54CF-BC3F-91434378DEF3}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-rssh.ps1
$url = 'https://github.com/rssh-org/rssh/releases/download/v1.0.13/rssh-1.0.13-windows-x86_64-setup.exe'
$sha256 = 'C78DE2C890395E7B18E54B3F247543B917E6CF5CE8649BCB3B1F032F2204EA07'
$file = Join-Path $env:TEMP 'rssh-1.0.13-windows-x86_64-setup.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 '/S' -Wait install-rssh.ps1
$url = 'https://github.com/rssh-org/rssh/releases/download/v1.0.13/rssh-1.0.13-windows-x86_64.msi'
$sha256 = '31BDEB5F39BB4254CFEC1C32B5193747D7831AD1FE64AD1EE3D7CCE227D1AECF'
$file = Join-Path $env:TEMP 'rssh-1.0.13-windows-x86_64.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