Commands for installing Windhawk 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 RamenSoftware.Windhawk -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id RamenSoftware.Windhawk -e --silentwinget uninstall --id RamenSoftware.Windhawk -e --silentBy installer
32-bit · EXE (NSIS) · en-US
Silent install
windhawk_setup.exe /S /STANDARDCustom folder
windhawk_setup.exe /S /STANDARD /D=C:\Apps\windhawkPowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-windhawk.ps1
$url = 'https://github.com/ramensoftware/windhawk/releases/download/v1.7.3/windhawk_setup.exe'
$sha256 = '5116CC1703384AAC88B8D7A3B57F172AEA5DA32B6DF7355FB2F8247D23813C8F'
$file = Join-Path $env:TEMP 'windhawk_setup.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 /STANDARD' -Wait