Commands for installing Disk Drill 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 CleverFiles.DiskDrill -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id CleverFiles.DiskDrill -e --silentwinget uninstall --id CleverFiles.DiskDrill -e --silentBy installer
64-bit · EXE (WiX Burn) · All users
Silent install
disk-drill-win-full.exe /quiet /norestartUninstall
msiexec /x {A42FD332-6421-48B7-B8D5-0E31388E4555} /qn /norestart- MSI product code
- {a42fd332-6421-48b7-b8d5-0e31388e4555}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{a42fd332-6421-48b7-b8d5-0e31388e4555}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-disk-drill.ps1
$url = 'https://win.cleverfiles.com/disk-drill-win-full.exe'
$sha256 = '47AAAE67CB6DA245EF8D13A1C6E5705A668195944A72345909A97C0CFB15DF79'
$file = Join-Path $env:TEMP 'disk-drill-win-full.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 '/quiet /norestart' -Wait