If you have sourced or written a Windows PowerShell script you need to run whenever your machine boots, it might be easier to simply automate the process by using the Task Scheduler.
A user on the Windows11 subreddit has provided a fix from Microsoft addressing performance degradation in games with the latest Windows 11 23H2 update.
Amit automated the process of adjusting the timer resolution by using a PowerShell script which makes the entire process a lot smoother for people newer to PC optimization.