If you use python, I wrote a library named wres, which calls NtSetTimerResolution internally.
pip install wres
import wres
# Set resolution to 0.5 ms (in 100-ns units)
# Automatically restore previous resolution when exit with statement
with wres.set_resolution(5000):
pass