forked from NEKR1D/PC-OPTIMIZATION
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTimerTweaks.bat
More file actions
33 lines (23 loc) · 1.08 KB
/
TimerTweaks.bat
File metadata and controls
33 lines (23 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
rem ::: Resolution Timer Tweaks
rem ::: Plundered by NEKR1D
rem ::: Originally created by Shoober420
rem ::: https://github.com/shoober420/windows11-scripts
rem ::: Timer Resolution Tweak
rem ::: Forces Windows 11 to obey timer resolution settings (otherwise timer settings will not take effect)
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\kernel" /v "GlobalTimerResolutionRequests" /t REG_DWORD /d "1" /f
rem ::: Disable HPET in Windows
rem ::: useplatformclock not found by default, setting not present unless enabled prior
bcdedit /set useplatformclock no
rem ::: Disable RTC (Real Time Clock)
rem ::: Lowers FPS when enabled
bcdedit /set useplatformtick no
rem ::: Disable Power Saving Feature
bcdedit /set disabledynamictick yes
rem ::: TSC Sync Policy
bcdedit /set tscsyncpolicy enhanced
rem ::: Disable High Precision Event Timer
pnputil /disable-device "ACPI\PNP0103\0"
rem ::: Disable HPET (High Precision Event Timer)
rem ::: Leave HPET enabled in BIOS
reg add "HKLM\SYSTEM\CurrentControlSet\Enum\HARDWARE\DEVICEMAP\ACPI\HPET" /v "Enable" /t REG_DWORD /d "0" /f
PAUSE