Timer Resolution Utility
Set 0.5 ms timer resolution. Tame dynamic tick & HPET. Measure, don’t guess.
An open-source PowerShell script for the whole Windows timer stack: view and set timer resolution, apply the disabledynamictick / useplatformtick bcdedit tweaks, un-force HPET — with a built-in Sleep(1) benchmark that shows the real effect on your hardware. A transparent alternative to the closed-source TimerResolution.exe from forum threads.
Zero install. Zero dependencies. Zero binaries. Built-in undo.

Part of the RigPolice Latency Toolbox — check your frame pacing before and after with the free Refresh Rate Test
If it works for you, a ⭐ helps others find it.
=== Windows timer status ===
Timer resolution : current 1 ms | finest 0.5 ms | OS default 15.625 ms
Sleep(1) actually : avg 15.142 ms (10 samples; run -Measure for a full benchmark)
Dynamic tick : default (enabled)
Platform tick : default (not forced)
Forced HPET clock : not forced (good)
HPET device : present (OK)
Global timer res : not set - resolution requests are per-process (Win10 2004+ default)
Holder task : not installed
Real output from a Windows 11 machine. Note the catch: the system reports 1 ms (some app requested it), but this process still sleeps 15 ms — that’s the per-process timer behavior Windows has had since Windows 10 2004, which this utility explains and fixes. See Windows 11 changed everything.
Quick Start
Easiest — one line, in any PowerShell (it self-elevates):
irm https://github.com/vadyaravadim/timer-resolution-utility/releases/latest/download/timer-resolution-utility.ps1 | iex
The script downloads itself to %USERPROFILE%\timer-resolution-utility.ps1 (not a temp folder) on purpose: the timer_undo_*.json and BCD backup files are written next to it, and the resolution-holder scheduled task points at it.
Check it before it runs: download timer-resolution-utility.ps1 from the latest release, verify it as SECURITY.md shows, then run that file with powershell -ExecutionPolicy Bypass -File .\timer-resolution-utility.ps1.
From the PowerShell Gallery, in PowerShell 7 (pwsh):
Install-Script timer-resolution-utility
timer-resolution-utility # then run it by name (open a NEW PowerShell window first, so the Scripts folder is on PATH)
timer-resolution-utility -Measure # switches work directly: -Status, -Measure, -Undo, -Reset
The script self-elevates. Update later with Update-Script timer-resolution-utility. Not in the Windows PowerShell 5.1 that comes with Windows: there Install-Script wants an admin console and the default execution policy blocks the installed script — use the one-liner instead.
Or clone:
git clone https://github.com/vadyaravadim/timer-resolution-utility.git
cd timer-resolution-utility
.\Run.bat
Or download the ZIP (no PowerShell needed): click Code ▸ Download ZIP at the top of this page, unzip, then double-click Run.bat.
Using the picker
However you launch it:
- Click Yes on the UAC prompt (the script requests admin rights on its own).
- Read the status block, then
Ctrl-click the tweaks you want in the grid and click OK.
- Reboot (for the bcdedit / registry tweaks; the resolution holder works immediately).

Every row is opt-in and shows the exact command it will run. There is no “apply all” button, and Cancel changes nothing.
Switches
| Switch |
Effect |
| (none) |
Show timer status, then pick tweaks in a grid — each one opt-in |
-Status |
Status only, change nothing |
-Measure [-Samples N] |
Benchmark real Sleep(1) precision at current vs finest resolution (no admin needed) |
-Undo |
Revert the changes recorded in the newest timer_undo_*.json |
-Reset |
Clear every value the script can set back to the Windows default, no undo file needed |
How to pass a switch depends on how you got the script:
| Installed via |
Command |
| PowerShell Gallery (PowerShell 7) |
timer-resolution-utility -Status |
| ZIP or clone |
.\Run.bat -Status from the script’s folder |
| One-liner |
powershell -ExecutionPolicy Bypass -File "$env:USERPROFILE\timer-resolution-utility.ps1" -Status |
Calling .\timer-resolution-utility.ps1 directly only works if your execution policy allows scripts — Windows blocks them by default, which is what Run.bat and -ExecutionPolicy Bypass get around.
What It Does
- Shows the whole timer stack: current/finest timer resolution,
disabledynamictick, useplatformtick, forced useplatformclock (HPET), the HPET device, the Windows 11 GlobalTimerResolutionRequests key, and whether a resolution holder is installed
- Measures actual
Sleep(1) precision — so you verify every tweak on your own hardware instead of trusting a forum post
- Backs up before changing anything: a full
bcdedit /export BCD store backup plus a timer_undo_*.json with the previous value of every setting it touches
- Applies only what you select in the grid — there is no “apply all” button on purpose
Measured effect (same Windows 11 machine as above, 20 samples):
Sleep(1) at the CURRENT resolution (20 samples):
avg 15.199 ms | stdev 0.398 | min 14.600 | max 15.912
Sleep(1) after requesting the FINEST resolution for this process:
avg 1.404 ms | stdev 0.182 | min 1.010 | max 1.630
The Problem: Why the Windows Timer Matters
By default Windows wakes the scheduler every 15.625 ms (64 Hz). Anything that sleeps or waits with a time-out — Sleep()-based game loops and the frame limiters built on them — can only be as precise as that tick. Raising timer resolution to 0.5–1 ms makes those waits precise; the timer tweaks (disabledynamictick, useplatformtick) change how the tick is generated.
Guides also blame the default tick for frame limiters that miss their cap, micro-stutter and uneven Sleep()-based game logic. We have measured the wait itself (Sleep(1) above: 15.2 ms at the default resolution, 1.4 ms at the finest), not a frame-time gain in a game, so check your own frame-time graph before and after.
Since Windows 10 2004, a raised timer resolution no longer applies to the whole system: a program that requests a resolution gets the finest one any program has requested, while a program that requests none stays at the default 15.625 ms (Microsoft’s timeBeginPeriod page). Windows 11 may also ignore the request of a program whose window is minimized, fully covered or otherwise hidden. That’s why running TimerResolution.exe in the background no longer does what it did in 2018: it still helps programs that request a resolution themselves, but not the rest.
Two things restore the old behavior, and this utility handles both:
- The undocumented
GlobalTimerResolutionRequests = 1 registry value (Windows 11) makes resolution requests system-wide again. Microsoft does not document it: the community found it, valleyofdoom’s kernel research confirms it, and Bruce Dawson, who first wrote up the 2004 change, advises against setting it outside of testing.
- A holder must keep the request alive — a resolution request dies with the process that made it. The utility installs a hidden scheduled task (pure PowerShell, no binary) that requests the finest resolution at logon and holds it.
How It Works
- Timer resolution is read and requested via
NtQueryTimerResolution / NtSetTimerResolution (ntdll) — the same calls TimerResolution.exe and ISLC make, compiled in-memory from inline C#; no .exe is shipped or dropped
- Dynamic tick / platform tick / HPET clock are standard BCD settings, applied with documented
bcdedit /set commands:
bcdedit /set disabledynamictick yes (stop the kernel from turning the tick off on idle)
bcdedit /set useplatformtick yes (fixed platform tick - contested, measure it)
bcdedit /deletevalue useplatformclock (un-force HPET if an old guide forced it)
- Windows 11 system-wide requests:
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\kernel
Value: GlobalTimerResolutionRequests (DWORD) 1 = system-wide
- The holder task (
timer-resolution-utility-holder) runs this same script with -Hold at logon and just keeps the finest resolution requested. On Windows 10 1809+ it runs inside conhost --headless, so there is no console window even when Windows Terminal is the default terminal (-WindowStyle Hidden alone cannot hide a delegated terminal window); on older builds, which have neither ConPTY nor terminal delegation, it falls back to -WindowStyle Hidden
Verify
Run the built-in benchmark before and after any tweak:
.\Run.bat -Measure
(Other install methods pass the switch differently.) If a tweak doesn’t improve your Sleep(1) numbers (or your frame-time graph), undo it. That’s the whole philosophy: measure, don’t cargo-cult.
Reverting
.\Run.bat -Undo
(Other install methods pass the switch differently.) Reverts everything recorded in the newest timer_undo_*.json: bcdedit values are restored or removed, the registry value is restored or deleted, the holder task is stopped and unregistered (or restored to its previous definition if it existed before the tweak). Ran the utility several times? Undo files are per-run snapshots — revert newest-to-oldest; after each -Undo the script tells you how many older undo files remain.
Applying a tweak that is already in place is skipped, so a repeat run cannot write a snapshot whose “previous” state is the tweaked one — that snapshot would consume an -Undo step without reverting anything.
Back to the defaults, no snapshots involved
.\Run.bat -Reset
The undo chain only reaches as far back as its oldest snapshot: delete one, or take the first one on a machine that was already tweaked, and no amount of -Undo gets you to a clean state. -Reset ignores the snapshots and clears every value the script can set — disabledynamictick, useplatformtick, useplatformclock, GlobalTimerResolutionRequests, the holder task. It lists what it will clear, asks for confirmation, and writes an undo file first, so -Undo brings the tweaked state back.
That target is the Windows default, not whatever you had before you first ran the utility — only an undo file holds that.
Last resort: every bcdedit change is preceded by a full BCD store export (bcd_backup_* next to the script). Restore it with:
bcdedit /import "C:\path\to\bcd_backup_20260717_120000"
Requirements
|
|
| Windows |
10, 11 |
| PowerShell |
Windows PowerShell 5.1 (ships with Windows 10/11). PowerShell 7 works too. The tweak grid uses Out-GridView, which needs a desktop edition of Windows: on Windows Server Core the script says so and stops before the grid, changing nothing; -Status and -Measure work anywhere |
| Rights |
Administrator (self-elevates via UAC). -Measure runs without admin |
FAQ
What is timer resolution in Windows?
The granularity of the system interrupt timer — how often Windows can wake a waiting thread. Default is 15.625 ms (64 Hz); applications can request down to 0.5 ms. Sleep(), the time-outs of other wait functions and periodic timer callbacks are quantized to it, and so is any frame limiter built on them.
We have not measured either. What we measured is the wait itself: Sleep(1) took 15.2 ms on average at the default resolution and 1.4 ms at the finest one (see What It Does). A game that sleeps on the timer can only wait as precisely as the resolution allows; a game that busy-waits instead gains nothing. Your frame-time graph before and after is the test that counts.
Why doesn’t TimerResolution.exe work on Windows 11?
Two changes. Since Windows 10 2004, a resolution request no longer sets the timer for the whole system: Microsoft documents that a program which requests a resolution gets the finest one any program has requested, and a program that requests none stays at the default 15.625 ms. Since Windows 11, Windows may also ignore the request of a program whose window is minimized, fully covered or otherwise hidden. So a background tool still speeds up programs that request a resolution themselves, but no longer reaches the ones that don’t. The GlobalTimerResolutionRequests = 1 registry value (Windows 11 only) plus a persistent holder brings back the old system-wide behavior; both are tweaks in this utility’s grid.
Should I disable dynamic tick (disabledynamictick yes)?
Guides recommend it against DPC latency spikes: it stops the kernel from suspending the periodic tick on idle. We have not measured its effect. It costs battery life on laptops. Apply it alone, measure, keep it only if your numbers improve.
Contested. It forces a fixed platform tick instead of the TSC-driven one; some systems report better frame pacing, others get mouse stutter. This is why the utility has no “apply all” button — try it alone and -Undo if it feels worse.
Should HPET be on or off for gaming?
The old advice to force HPET (bcdedit /set useplatformclock true) is outdated: on modern systems Windows picks the best clock source (TSC) on its own. If an old guide made you force it, the grid offers to remove it. Disabling the HPET device in Device Manager is a separate debate; this utility shows its state and touches nothing uninvited.
How is this different from TimerResolution.exe / ISLC?
TimerResolution.exe (Lucas Hale) is a closed-source .exe from 2010-era forums that doesn’t survive the Windows 10 2004 per-process change on its own. ISLC holds resolution but is also closed-source and does memory-list cleaning you may not want. This is a readable script that does the same NtSetTimerResolution call, adds the Windows 11 registry piece, covers the bcdedit tweaks, measures the result, and writes an undo file first.
How is this different from SetTimerResolution.exe / MeasureSleep.exe?
Those two binaries (bundled in valleyofdoom’s TimerResolution and various tweak packs) split the job: SetTimerResolution.exe holds the resolution, MeasureSleep.exe verifies it. This script does both — the holder task makes the same NtSetTimerResolution call, and -Measure is the MeasureSleep equivalent — without shipping any .exe. On top of that it covers the GlobalTimerResolutionRequests registry value and the bcdedit tick tweaks, with an undo file for all of it.
Is it safe?
Every change is opt-in, previous values go to timer_undo_*.json, and bcdedit changes are additionally preceded by a full BCD store export. Worst case: -Undo (or -Reset if the undo chain is gone), reboot. The one genuinely contested tweak (useplatformtick) is labeled as such in the grid.
Will the bcdedit tweaks trigger BitLocker recovery?
Not with default settings. Microsoft lists disabledynamictick, useplatformtick and useplatformclock among the BCD settings BitLocker ignores, so changing them doesn’t bring up the recovery key prompt, with BitLocker or Device Encryption alike. If your IT department added them to a BitLocker BCD validation policy, run Suspend-BitLocker -MountPoint C: -RebootCount 1 before applying.
How do I remove the script itself?
Run -Undo until no undo file is left, or -Reset, first: the holder task (timer-resolution-utility-holder) runs the saved script at every logon, and once the script is gone that task fails at every logon. Then delete what the script left: with the one-liner, timer-resolution-utility.ps1, a timer-resolution-utility.ps1.bak if there is one, the timer_undo_*.json files (.applied.json once undone) and the bcd_backup_* files in %USERPROFILE%; with the ZIP or a clone, the folder. From the PowerShell Gallery, those files sit in the folder (Get-InstalledScript timer-resolution-utility).InstalledLocation prints; delete them, then run Uninstall-Script timer-resolution-utility.
Disclaimer
bcdedit edits modify the boot configuration. The utility backs up the BCD store before touching it and every change is reversible with -Undo, but as with any system tweak: use at your own risk.
- MSI Mode Utility — enable MSI mode (Message Signaled Interrupts) for GPU, USB, network & audio devices
- Interrupt Affinity Utility — pin GPU, network, USB & audio interrupts to specific CPU cores (P/E-core aware)
- CPU Parking Disabler — disable CPU core parking on Windows 10/11, with the parked-core count shown before and after
- GameDVR & FSO Disabler — disable Game DVR / Xbox Game Bar capture and Fullscreen Optimizations on Windows 10/11
- Remove Hidden Devices — remove ghost / hidden devices left behind by unplugged USB sticks, headsets & dongles cluttering Device Manager
Same idea across the series: one transparent PowerShell script, no binaries, you see exactly what changes.
License
MIT — use at your own risk.
评论