← All Tweaks
Latency & Timers
Disable HPET
Disable High Precision Event Timer which can introduce latency
Benefit
On most modern systems, HPET adds latency rather than helping
Impact
highCommands (4)
function Invoke-Bcd([string[]]$BcdArgs, [string]$Desc) { $bcd = (Join-Path $env:SystemRoot 'System32\bcdedit.exe'); $out = & $bcd @BcdArgs 2>&1; $outStr = ($out | Out-String); if ($LASTEXITCODE -eq 0) { Write-Host "[OK] $Desc"; return } if ($outStr -match 'No se pudo abrir el almac|cannot open.*boot configuration|boot configuration data store') { Write-Host "[ERR] $Desc - BCD store not accessible from this process. Apply manually from elevated PowerShell."; return } if ($outStr -match 'requested data element|elemento de datos solicitado') { Write-Host "[OK] $Desc (already in target state)"; return } Write-Host "[ERR] $Desc - exit $LASTEXITCODE - $($out -join ' | ')" }Invoke-Bcd @('/deletevalue','{current}','useplatformclock') 'BCD useplatformclock removed (HPET re-enabled at boot level)'$hpet = @(Get-PnpDevice -ErrorAction SilentlyContinue | Where-Object { $_.FriendlyName -like '*High Precision Event Timer*' -or $_.FriendlyName -like '*Temporizador de eventos de alta precision*' })if ($hpet.Count -eq 0) { Write-Host '[SKIP] HPET device not present in Device Manager' } else { foreach ($d in $hpet) { if ($d.Status -ne 'OK') { Write-Host "[OK] HPET '$($d.FriendlyName)' - status $($d.Status)"; continue } try { Disable-PnpDevice -InstanceId $d.InstanceId -Confirm:$false -ErrorAction Stop; Write-Host "[OK] Disabled HPET device '$($d.FriendlyName)'" } catch { Write-Host "[ERR] HPET disable failed: $($_.Exception.Message)" } } }Warnings
- On very old systems or notebooks, HPET may be necessary. Test stability after disabling before making permanent.