]> vilimpoc.org git repositories - dotfiles/commit - setup-windows-with-uac.ps1
dotfiles: report Intel VTune rather than installing it
authorMax Vilimpoc <max@vilimpoc.org>
Sat, 29 Aug 2026 17:46:46 +0000 (19:46 +0200)
committerMax Vilimpoc <max@vilimpoc.org>
Tue, 1 Sep 2026 10:53:41 +0000 (12:53 +0200)
commit1e91b38f9f50d0f6e706c8f710ad6a77c974799e
treed57c9e23388e54742bfeb741ec5442a9d7c0d010
parentd52d627830e8e04a7ccada4b0725474b91281656
dotfiles: report Intel VTune rather than installing it

The elevated half now prints whether VTune is on the box, its version and the
path to vtune.exe, and prints the download page when it is not -- adding that
the CPU is not Intel, when it is not.

Not automated on purpose.  The offline installer is a ~750 MB download from
registrationcenter-download.intel.com/akdlm/IRC_NAS/<guid>/, and that GUID is
per-release with no "latest" redirect behind it, so every new build would mean
editing a hard-coded link in a script whose whole point is running unattended on
a fresh box.  It also only earns its place on Intel silicon, since hardware
event-based sampling reads Intel PMU counters.  The unattended incantation is
recorded in the comment and the README for anyone who does want to script it:
-a --silent --cli --eula accept

Detection reads the two Uninstall hives rather than probing a path, so it
follows the install wherever it went, and the CLI path goes through the oneAPI
`latest` junction so it stays right across upgrades.  Exercised against the
2026.2.0 install on this box: reports the version and a vtune.exe that exists.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YMh8i2QzkHNdE3MkKfcaT6
README.md
setup-windows-with-uac.ps1