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