| Previous | Next |
| ERROR_AUDIT_FAILED | ERROR_INSUFFICIENT_LOGON_INFO |
ERROR_TIMER_RESOLUTION_NOT_SET
What ERROR_TIMER_RESOLUTION_NOT_SET means
Windows tracks timer-resolution requests so that a component can balance each request with a corresponding release. This code indicates unbalanced lifetime management or use of a timer configuration that is not active for the caller.
Where it commonly appears
- Multimedia and low-latency applications
- Timing libraries that wrap system timer APIs
- Cleanup after partial startup
- Processes with several modules requesting different resolutions
Likely causes
- The release path ran even though the set operation failed
- A resolution was released twice
- Different modules do not share ownership consistently
- Shutdown occurred on a different object instance than startup
Troubleshooting checklist
- Log every successful timer-resolution acquisition and release with the requested value
- Check process startup and failure paths for unbalanced cleanup
- Verify whether libraries independently change timer resolution
- Reproduce with one owner and one explicit lifetime scope
Guidance for developers
Use RAII or another ownership mechanism so only a successful acquisition creates a releasable token. Do not globally change timer resolution for the lifetime of a process unless necessary; higher resolution can increase power consumption and wakeups.
Guidance for administrators
This usually requires an application fix rather than a system configuration change. Restarting the process clears its requests, but recurring events should be reported with application logs.
Example
An audio engine calls its cleanup routine after device initialization fails before the timer request is made. The unconditional cleanup tries to release the resolution and receives this code. Tracking acquisition success eliminates the false cleanup error.
Related conditions
The status is about request bookkeeping, not clock drift or a defective hardware timer. Timing accuracy problems require different diagnostics.
References
Looking for a different code? Search another status or error code.
