Commands for installing Xiaomi Cloud 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 Xiaomi.XiaomiCloud -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Xiaomi.XiaomiCloud -e --silentwinget uninstall --id Xiaomi.XiaomiCloud -e --silentBy installer
64-bit · EXE (NSIS) · All users
Silent install
XiaomiCloud-3.0.2.exe /SCustom folder
XiaomiCloud-3.0.2.exe /S /D=C:\Apps\xiaomi-cloud- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\dbd7cffb-9b67-55a5-b1a3-aabba639e500
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-xiaomi-cloud.ps1
$url = 'https://fds-cnbj1-mcfe-cdn.micloud.xiaomi.net/archive/download/full-release/win32/x64/XiaomiCloud-3.0.2.exe'
$sha256 = 'EDF5B42EAE434297D4392F0A0AEBE4787B8F3D51A10785D8FE9BDB74FC4123A9'
$file = Join-Path $env:TEMP 'XiaomiCloud-3.0.2.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