Commands for installing DiskBoss 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 Flexense.DiskBoss -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Flexense.DiskBoss -e --silentwinget uninstall --id Flexense.DiskBoss -e --silentBy installer
64-bit · EXE (NSIS) · All users · en-US
Silent install
diskboss_setup_v16.8.24_x64.exe /SCustom folder
diskboss_setup_v16.8.24_x64.exe /S /D=C:\Apps\diskboss- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DiskBoss
- Install folder
- %ProgramFiles%\DiskBoss
32-bit · EXE (NSIS) · All users · en-US
Silent install
diskboss_setup_v16.8.24.exe /SCustom folder
diskboss_setup_v16.8.24.exe /S /D=C:\Apps\diskboss- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\DiskBoss
- Install folder
- %ProgramFiles(x86)%\DiskBoss
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-diskboss.ps1
$url = 'https://www.diskboss.com/setups_x64/diskboss_setup_v16.8.24_x64.exe'
$sha256 = '909E1B5091C2D59D9CE5DB4A33F9B9E0402332B505F535638471783D05446258'
$file = Join-Path $env:TEMP 'diskboss_setup_v16.8.24_x64.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-diskboss.ps1
$url = 'https://www.diskboss.com/setups/diskboss_setup_v16.8.24.exe'
$sha256 = '5D15A1ABB8B09018FAD4D779CB951B37DBA690B8A9639C1B22F76C68F424E589'
$file = Join-Path $env:TEMP 'diskboss_setup_v16.8.24.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