Commands for installing WindowsPerf 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 Arm.WindowsPerf -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Arm.WindowsPerf -e --silentwinget uninstall --id Arm.WindowsPerf -e --silentBy installer
ARM64 · MSI · en-US
Silent install
msiexec /i windowsperf-5.5.0.msi /qn /norestartWrite a log
msiexec /i windowsperf-5.5.0.msi /qn /norestart /l*v "%TEMP%\windowsperf-install.log"Uninstall
msiexec /x {1ACE4754-BF60-454A-9E6D-861DE875AE83} /qn /norestart- MSI product code
- {1ACE4754-BF60-454A-9E6D-861DE875AE83}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1ACE4754-BF60-454A-9E6D-861DE875AE83}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-windowsperf.ps1
$url = 'https://developer.arm.com/-/cdn-downloads/permalink/WindowsPerf/Installer/windowsperf-5.5.0.msi'
$sha256 = 'C3B0FCB9CA859C5C8531989F2FF05BE64FD8B6699D75309169191189D1D33DFF'
$file = Join-Path $env:TEMP 'windowsperf-5.5.0.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait