From ada1869091ca6e05bb8813ea71950970b003439b Mon Sep 17 00:00:00 2001 From: Bailey Date: Sun, 22 May 2022 10:54:25 -0400 Subject: [PATCH] Add disabledynamictick --- src/main.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.py b/src/main.py index 5f29dff..035659f 100644 --- a/src/main.py +++ b/src/main.py @@ -168,7 +168,9 @@ def optimize_windows() -> None: "powercfg /setdcvalueindex 010fd358-aaf5-4687-a504-26218b58eab8 238c9fa8-0aad-41ed-83f4-97be242c8f20 29f6c1db-86da-48c5-9fdb-f2b67b1f44da 384", "powercfg /s 010fd358-aaf5-4687-a504-26218b58eab8", "powercfg /hibernate off", - "Disable-MMAgent -MemoryCompression"]) + "Disable-MMAgent -MemoryCompression", + "bcdedit /set disabledynamictick yes", + "bcdedit /set useplatformclock no"]) print(" - Windows is now optimized.")