The two commands
terminal / powershell
reg export HKCU pre-hkcu.reg /y # before
reg export HKCU post-hkcu.reg /y # afterPowerShell-side comparison without text noise (reg export format is UTF-16; read it through):
terminal / powershell
$pre = Get-Content pre-hkcu.reg -Encoding Unicode
$post = Get-Content post-hkcu.reg -Encoding Unicode
Compare-Object $pre $post | Format-Table -AutoPractice advice
- Keep both files timestamped. The auditable value is sequencing: “changed between 14:03 baseline and 14:19 trial.”
- Filter by key prefix when scoping: diff full hives when hunting for mystery changes; prefix-filter when evaluating one tool's footprint.
- Delete-on-appear lines matter: a paste of
[-name-]line-removal markers is evidence of deletion; false “nothing changed” reviews come from people diffing only additive changes.
Run once before any new app trial and you'll never “feel like it changed something” without a literal diff to confirm or dismiss it.