Commands for installing DiskGenius 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 Eassos.DiskGenius -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Eassos.DiskGenius -e --silentwinget uninstall --id Eassos.DiskGenius -e --silentBy installer
64-bit · EXE (Inno Setup) · All users
Silent install
DGEngSetup6001631.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
DGEngSetup6001631.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\diskgenius"- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2661F2FA-56A7-415D-8196-C4CB3D3ACFFE}_is1
32-bit · EXE (Inno Setup) · All users
Silent install
DGEngSetup6001631.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
DGEngSetup6001631.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\diskgenius"- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{2661F2FA-56A7-415D-8196-C4CB3D3ACFFE}_is1
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-diskgenius.ps1
$url = 'https://download2.eassos.com/DGEngSetup6001631.exe'
$sha256 = '30CD3298E44C3E70797909646326D903F741CFAA40C3B6CA341D4D645BF47930'
$file = Join-Path $env:TEMP 'DGEngSetup6001631.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-diskgenius.ps1
$url = 'https://download2.eassos.com/DGEngSetup6001631.exe'
$sha256 = '30CD3298E44C3E70797909646326D903F741CFAA40C3B6CA341D4D645BF47930'
$file = Join-Path $env:TEMP 'DGEngSetup6001631.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait