This is a modern Rust fork of the original C++ SetTimerResolution utility.
This version are fully rewritten in Rust & provide QoL fixes over the original. More info here.
To run the program in the background and have it start automatically with Windows, you can use one of the methods below.
This method automatically runs the program when you log in.
- Place
SetTimerResolution.exein a permanent location (e.g.,C:\Tools\). - Right-click
SetTimerResolution.exeand select Create shortcut. - Right-click the new shortcut and choose Properties.
- In the Target field, add your command-line arguments after the executable path.
- Example:
C:\Tools\SetTimerResolution.exe --resolution 5000 --no-console - Press Win + R to open the Run box.
- Type
shell:startupand press$\text{Enter}$ . This will open your user's Startup folder. - Move the modified shortcut into this "Startup" folder.
The program will now run with your chosen settings every time you log in.
If you prefer more control (e.g., running with elevated privileges), you can use the Task Scheduler:
- Place the
SetTimerResolution.exebinary in a permanent location (e.g.,C:\Tools\). - Create a Scheduled Task (set to trigger "At log on").
- Set the action to "Start a program" using the following command:
C:\Tools\SetTimerResolution.exe --resolution 5000 --no-console