Commands for installing USBTrace 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 SysNucleus.USBTrace -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SysNucleus.USBTrace -e --silentwinget uninstall --id SysNucleus.USBTrace -e --silentBy installer
64-bit · ZIP · All users · en-US
Silent install
usbtrace-x64.zip /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\USBTrace_is1
- Install folder
- %ProgramFiles%\USBTrace
32-bit · ZIP · All users · en-US
Silent install
usbtrace-x86.zip /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\USBTrace_is1
- Install folder
- %ProgramFiles%\USBTrace
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-usbtrace.ps1
$url = 'https://www.sysnucleus.com/usbtrace-x64.zip'
$sha256 = '8E17AE30D7A40DCD2D7365F98E2C0130F893C8413F8834734123886CEA991320'
$file = Join-Path $env:TEMP 'usbtrace-x64.zip'
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-usbtrace.ps1
$url = 'https://www.sysnucleus.com/usbtrace-x86.zip'
$sha256 = '710E5C971A609425E130E4AA06AC6316D83AB08861F67256A8AA11B4076218CA'
$file = Join-Path $env:TEMP 'usbtrace-x86.zip'
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