Commands for installing HardwareMon 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 LouisHinchliffe.HardwareMon -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id LouisHinchliffe.HardwareMon -e --silentwinget uninstall --id LouisHinchliffe.HardwareMon -e --silentBy installer
64-bit · EXE (Inno Setup) · All users · en-US
Silent install
HardwareMon-v18.7.2.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
HardwareMon-v18.7.2.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\hardwaremon"- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{453983D4-D80B-41C9-935A-F25D8787C0AC}_is1
- Install folder
- %ProgramFiles%\HardwareMon
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-hardwaremon.ps1
$url = 'https://github.com/louisboii747/HardwareMon/releases/download/v18.7.2/HardwareMon-v18.7.2.exe'
$sha256 = '3580D0B813EB27D1DB5DEF8E56A8A0F6F8D8BF77336D0FBF6F11015E9B7CE27E'
$file = Join-Path $env:TEMP 'HardwareMon-v18.7.2.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