Commands for installing Smart Switch 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 Samsung.SmartSwitch -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Samsung.SmartSwitch -e --silentwinget uninstall --id Samsung.SmartSwitch -e --silentBy installer
32-bit · EXE
Silent install
Smart.Switch.PC_Setup.exe /S- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\InstallShield_{74FA5314-85C8-4E2A-907D-D9ECCCB770A7}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-smart-switch.ps1
$url = 'https://downloadcenter.samsung.com/content/SW/202406/20240626140001115/Smart.Switch.PC_Setup.exe'
$sha256 = '9D4146D3D9B8E8C557CF9386DE7434D8574681D5D54A2970D14915BE6F9E67E6'
$file = Join-Path $env:TEMP 'Smart.Switch.PC_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