Portable Tool for an Ideal Windows Setup
C# activatorbloatware-removalcsharpdebloatdebloaterdisable-servicesmonitoring-systemportableprivacy-toolsregistry-tweakssystem-tuningsystem-utilitytelemetrytweakerwindows-10windows-11windows-debloatwindows-defenderwindows-optimizationwindows-tweaks
add tweak (dynamic tick) & correction locale
Greedeksab80b81e21ce
diff --git a/.Source/GTweak/Languages/en/Localize.xaml b/.Source/GTweak/Languages/en/Localize.xamlindex 8c558938..fad25f09 100644--- a/.Source/GTweak/Languages/en/Localize.xaml+++ b/.Source/GTweak/Languages/en/Localize.xaml@@ -169,15 +169,15 @@<v:String x:Key="tgl3_interface">Standard size of the system buttons</v:String><v:String x:Key="tgl4_interface">Standard cursor flicker frequency</v:String><v:String x:Key="tgl5_interface">Standard scrollbar size</v:String>- <v:String x:Key="tgl6_interface">The transparency effect of the taskbar</v:String>+ <v:String x:Key="tgl6_interface">Taskbar transparency effect</v:String><v:String x:Key="tgl7_interface">Dark Taskbar theme</v:String><v:String x:Key="tgl8_interface">Dark theme of applications and explorer</v:String><v:String x:Key="tgl9_interface">Delay when calling the context menu</v:String><v:String x:Key="tgl10_interface">Delay in the appearance of previews on the taskbar</v:String><v:String x:Key="tgl11_interface">Arrows for shortcuts to files, folders, or programs</v:String><v:String x:Key="tgl12_interface">Prefix «Label for...»/ postfix «– Label»</v:String>- <v:String x:Key="tgl13_interface">The «This PC» icon on the Desktop</v:String>- <v:String x:Key="tgl14_interface">The «Trash» icon on the Desktop</v:String>+ <v:String x:Key="tgl13_interface">«This PC» icon on Desktop</v:String>+ <v:String x:Key="tgl14_interface">«Trash» icon on Desktop</v:String><v:String x:Key="tgl15_interface">Taskbar Alignment (Windows 11)</v:String><v:String x:Key="tgl16_interface">Standard layout of the «Start» menu (Windows 11)</v:String><v:String x:Key="tgl17_interface">Stripped-down context menu (Windows 11)</v:String>@@ -193,7 +193,7 @@<v:String x:Key="tgl27_interface">«3D Objects» in the explorer</v:String><v:String x:Key="tgl28_interface">Compression of wallpaper format .JPEG of the desktop</v:String><v:String x:Key="tgl29_interface">Tooltips for desktop elements</v:String>- <v:String x:Key="tgl30_interface">The search query with «Bing» integration in the Start menu</v:String>+ <v:String x:Key="tgl30_interface">Search query with «Bing» integration in Start menu</v:String><v:String x:Key="tgl31_interface">Open «Quick Access» instead of «This PC»</v:String><v:String x:Key="tgl32_interface">Displaying file extensions in explorer</v:String>@@ -372,7 +372,7 @@<v:String x:Key="tgl11_system">Warnings when running any exe</v:String><v:String x:Key="tgl12_system">Automatic Memory Diagnostics</v:String><v:String x:Key="tgl13_system">Teredo, ISATAP and IPv6 protocols</v:String>- <v:String x:Key="tgl14_system">The standard size of the file system cache</v:String>+ <v:String x:Key="tgl14_system">File system cache standard sizeа</v:String><v:String x:Key="tgl15_system">Slowing down Windows startup and program startup</v:String><v:String x:Key="tgl16_system">Usage history for the Quick Access Toolbar</v:String><v:String x:Key="tgl17_system">Autorun removable media</v:String>@@ -383,6 +383,7 @@<v:String x:Key="tgl22_system">Use the function «Game bar»</v:String><v:String x:Key="tgl23_system">Applications run in the background</v:String><v:String x:Key="tgl24_system">Reserved storage in Windows</v:String>+ <v:String x:Key="tgl25_system">Dynamic and High Precision Event Timer</v:String><v:String x:Key="TextSlider1_description_system">Changes the speed of the mouse pointer, saving you time to search for mouse parameters.</v:String><v:String x:Key="TextSlider2_description_system">Will change the delay before starting to repeat the entered character, the recommended value is 0.</v:String>@@ -411,7 +412,8 @@<v:String x:Key="TglButton22_description_system">A function for recording your games. By and large, it uses up the resources of your system. There are many better alternatives, and in addition, which do not open spontaneously.</v:String><v:String x:Key="TglButton23_description_system">Some applications allow you to manage background activity, which determines what they can do when they are in the background and not actively used. In general, disabling background applications will help reduce network load, as well as CPU load and power consumption, which is useful for laptops because it prolongs battery life.</v:String><v:String x:Key="TglButton24_description_system">Reserved storage is designed to provide a predictable allocation of free space that will be used by updates, applications, temporary files, and the system cache. Disabling it can free up a significant amount of space. However, if you have enough free space, it is not recommended to do this, you will not receive any additional benefits.</v:String>- <!--#endregion-->+ <v:String x:Key="TglButton25_description_system">Disabling the dynamic timer and HPET can improve system responsiveness by reducing micro‑stutter and yield a slight performance boost. However, the effect depends on the configuration: in some cases, instead of speeding up, the system may slow down and experience lag. If you're using a laptop, note that this may also slightly increase power consumption, as the CPU will remain more active even when idle.</v:String>+ <!--#endregion--><!--#region Information System Page --><v:String x:Key="title_win_systemInformation">Operating system:</v:String>diff --git a/.Source/GTweak/Languages/fr/Localize.xaml b/.Source/GTweak/Languages/fr/Localize.xamlindex ae9cbbbb..9a2e032a 100644--- a/.Source/GTweak/Languages/fr/Localize.xaml+++ b/.Source/GTweak/Languages/fr/Localize.xaml@@ -386,7 +386,8 @@<v:String x:Key="tgl22_system">Utiliser la fonction « Barre de jeu »</v:String><v:String x:Key="tgl23_system">Applications s'exécutant en arrière-plan</v:String><v:String x:Key="tgl24_system">Stockage réservé dans Windows</v:String>-+ <v:String x:Key="tgl25_system">Dynamic and High Precision Event Timer</v:String>+<v:String x:Key="TextSlider1_description_system">Modifie la vitesse du pointeur de la souris, vous faisant gagner du temps lors de la recherche des paramètres de la souris.</v:String><v:String x:Key="TextSlider2_description_system">Modifie le délai avant la répétition des caractères saisis. La valeur recommandée est 0.</v:String><v:String x:Key="TextSlider3_description_system">Modifie la vitesse de répétition des caractères saisis. La valeur recommandée est 31.</v:String>@@ -414,6 +415,7 @@<v:String x:Key="TglButton22_description_system">La barre de jeu enregistre vos parties mais utilise beaucoup de ressources système. Il existe de meilleures alternatives, plus discrètes.</v:String><v:String x:Key="TglButton23_description_system">Certaines applications contrôlent leur activité en arrière-plan. Désactiver cette option réduit la charge réseau, CPU et la consommation, ce qui améliore l’autonomie sur batterie.</v:String><v:String x:Key="TglButton24_description_system">Le stockage réservé garantit un espace libre pour mises à jour, applications et cache système. Le désactiver libère de l’espace, mais ce n’est pas conseillé si vous avez suffisamment de place.</v:String>+ <v:String x:Key="TglButton25_description_system">Disabling the dynamic timer and HPET can improve system responsiveness by reducing micro‑stutter and yield a slight performance boost. However, the effect depends on the configuration: in some cases, instead of speeding up, the system may slow down and experience lag. If you're using a laptop, note that this may also slightly increase power consumption, as the CPU will remain more active even when idle.</v:String><!--#endregion--><!--#region Information System Page -->diff --git a/.Source/GTweak/Languages/it/Localize.xaml b/.Source/GTweak/Languages/it/Localize.xamlindex 039900e1..59cbf3e9 100644--- a/.Source/GTweak/Languages/it/Localize.xaml+++ b/.Source/GTweak/Languages/it/Localize.xaml@@ -384,6 +384,7 @@<v:String x:Key="tgl22_system">Utilizza la funzione «Barra dei giochi»</v:String><v:String x:Key="tgl23_system">Esecuzione delle applicazioni in background</v:String><v:String x:Key="tgl24_system">Spazio riservato in Windows</v:String>+ <v:String x:Key="tgl25_system">Dynamic and High Precision Event Timer</v:String><v:String x:Key="TextSlider1_description_system">Modifica la velocità del puntatore del mouse, risparmiando tempo nella ricerca delle impostazioni.</v:String><v:String x:Key="TextSlider2_description_system">Modifica il ritardo prima che inizi la ripetizione di un carattere; il valore consigliato è 0.</v:String>@@ -412,6 +413,7 @@<v:String x:Key="TglButton22_description_system">La barra dei giochi consuma risorse. Esistono alternative migliori che non si avviano automaticamente.</v:String><v:String x:Key="TglButton23_description_system">Disattiva le app in background per ridurre il carico sulla rete, sulla CPU e sulla batteria.</v:String><v:String x:Key="TglButton24_description_system">Lo spazio riservato è utile per aggiornamenti e cache. Disattivandolo si libera spazio, ma non è consigliato se hai spazio sufficiente.</v:String>+ <v:String x:Key="TglButton25_description_system">Disabling the dynamic timer and HPET can improve system responsiveness by reducing micro‑stutter and yield a slight performance boost. However, the effect depends on the configuration: in some cases, instead of speeding up, the system may slow down and experience lag. If you're using a laptop, note that this may also slightly increase power consumption, as the CPU will remain more active even when idle.</v:String><!--#endregion--><!--#region Information System Page -->diff --git a/.Source/GTweak/Languages/ko/Localize.xaml b/.Source/GTweak/Languages/ko/Localize.xamlindex aedb8560..1d752443 100644--- a/.Source/GTweak/Languages/ko/Localize.xaml+++ b/.Source/GTweak/Languages/ko/Localize.xaml@@ -383,7 +383,8 @@<v:String x:Key="tgl22_system">«게임 바» 기능 사용</v:String><v:String x:Key="tgl23_system">백그라운드에서 실행되는 응용 프로그램</v:String><v:String x:Key="tgl24_system">Windows에서 예약된 저장소</v:String>-+ <v:String x:Key="tgl25_system">Dynamic and High Precision Event Timer</v:String>+<v:String x:Key="TextSlider1_description_system">마우스 포인터의 속도를 변경하여 마우스 매개변수를 검색하는 시간을 절약할 수 있습니다.</v:String><v:String x:Key="TextSlider2_description_system">입력한 문자를 반복하기 시작하기 전에 지연 시간을 변경하며, 권장 값은 0입니다..</v:String><v:String x:Key="TextSlider3_description_system">입력한 문자의 반복 속도를 변경하며, 권장 값은 31입니다.</v:String>@@ -411,6 +412,7 @@<v:String x:Key="TglButton22_description_system">게임을 녹화하는 기능입니다. 전반적으로 시스템의 리소스를 소모합니다. 더 나은 대안이 많이 있으며, 또한 자발적으로 열리지 않습니다.</v:String><v:String x:Key="TglButton23_description_system">일부 응용 프로그램을 사용하면 백그라운드 활동을 관리할 수 있으며, 백그라운드에서 활발하게 사용하지 않을 때 백그라운드 활동이 무엇을 할 수 있는지 결정합니다. 일반적으로 백그라운드 응용 프로그램을 비활성화하면 네트워크 부하는 물론 CPU 부하와 전력 소비를 줄이는 데 도움이 되며, 이는 배터리 수명을 연장하기 때문에 노트북에 유용합니다.</v:String><v:String x:Key="TglButton24_description_system">예약 저장소는 업데이트, 응용 프로그램, 임시 파일 및 시스템 캐시에서 사용할 수 있는 예상 가능한 여유 공간 할당을 제공하도록 설계되었습니다. 이를 비활성화하면 상당한 양의 공간을 확보할 수 있습니다. 그러나 충분한 여유 공간이 있는 경우 이 작업을 권장하지 않으므로 추가 혜택을 받을 수 없습니다.</v:String>+ <v:String x:Key="TglButton25_description_system">Disabling the dynamic timer and HPET can improve system responsiveness by reducing micro‑stutter and yield a slight performance boost. However, the effect depends on the configuration: in some cases, instead of speeding up, the system may slow down and experience lag. If you're using a laptop, note that this may also slightly increase power consumption, as the CPU will remain more active even when idle.</v:String><!--#endregion--><!--#region Information System Page -->diff --git a/.Source/GTweak/Languages/ru/Localize.xaml b/.Source/GTweak/Languages/ru/Localize.xamlindex 755745fb..183704cb 100644--- a/.Source/GTweak/Languages/ru/Localize.xaml+++ b/.Source/GTweak/Languages/ru/Localize.xaml@@ -383,7 +383,8 @@<v:String x:Key="tgl22_system">Использовать функцию «Игровая панель»</v:String><v:String x:Key="tgl23_system">Приложения работают в фоновом режиме</v:String><v:String x:Key="tgl24_system">Зарезервированное хранилище в Windows</v:String>-+ <v:String x:Key="tgl25_system">Динамический и высокоточный таймер событий</v:String>+<v:String x:Key="TextSlider1_description_system">Изменяет скорость движения указателя мыши, экономя ваше время для поисков параметров мыши.</v:String><v:String x:Key="TextSlider2_description_system">Изменят задержку перед началом повтора вводимого символа, рекомендованное значение - 0.</v:String><v:String x:Key="TextSlider3_description_system">Изменяет скорость повтора вводимого символа, рекомендованное значение - 31.</v:String>@@ -411,6 +412,7 @@<v:String x:Key="TglButton22_description_system">Функция для записи ваших игр. По большому счету использует в пустую ресурсы вашей системы. Есть много лучших альтернатив, да и в добавок которые не открываются спонтанно.</v:String><v:String x:Key="TglButton23_description_system">Некоторые приложения позволяют управлять фоновой активностью, что определяет, что они могут делать, когда находятся в фоновом режиме и не используются активно. В целом, отключение фоновых приложений поможет снизить нагрузку на сеть, а также нагрузку на процессор и энергопотребление, что полезно для ноутбуков, поскольку продлевает время автономной работы.</v:String><v:String x:Key="TglButton24_description_system">Зарезервированное хранилище предназначено для обеспечения предсказуемого распределения свободного пространства, которое будет использоваться обновлениями, приложениями, временными файлами и системным кэшем. Его отключение может освободить значительный объем пространства. Однако, если у вас достаточно свободного места, делать это не рекомендуется, никаких дополнительных преимуществ вы не получите.</v:String>+ <v:String x:Key="TglButton25_description_system">Отключение динамического таймера и HPET может улучшить отзывчивость системы, уменьшая микрофризы и слегка повышая производительность. Однако эффект зависит от конфигурации: в некоторых случаях вместо ускорения может наблюдаться замедление и тормажения системы.. Если вы используете ноутбук, учтите, что это может немного увеличить энергопотребление, так как процессор остаётся более активным даже в простоя.</v:String><!--#endregion--><!--#region Information System Page -->diff --git a/.Source/GTweak/Languages/uk/Localize.xaml b/.Source/GTweak/Languages/uk/Localize.xamlindex b7f7fd38..25caa857 100644--- a/.Source/GTweak/Languages/uk/Localize.xaml+++ b/.Source/GTweak/Languages/uk/Localize.xaml@@ -383,7 +383,8 @@<v:String x:Key="tgl22_system">Використовувати функцію «Ігрова панель»</v:String><v:String x:Key="tgl23_system">Програми працюють у фоновому режимі</v:String><v:String x:Key="tgl24_system">Зарезервоване сховище у Windows</v:String>-+ <v:String x:Key="tgl25_system">Dynamic and High Precision Event Timer</v:String>+<v:String x:Key="TextSlider1_description_system">Дозволяє змінити швидкість переміщення вказівника миші, заощаджуючи ваш час на пошук відповідних параметрів.</v:String><v:String x:Key="TextSlider2_description_system">Зміна затримки перед початком повторного введення символу, рекомендоване значення - 0.</v:String><v:String x:Key="TextSlider3_description_system">Зміна швидкості повторного введення символу, рекомендоване значення - 31.</v:String>@@ -411,6 +412,7 @@<v:String x:Key="TglButton22_description_system">Функція для запису ваших ігор. Можна вважати її малопродуктивною. Існує багато кращих альтернатив, які, на відміну від цього додатку, не відкриваються спонтанно.</v:String><v:String x:Key="TglButton23_description_system">Деякі програми дозволяють керувати фоновою активністю, що визначає їх роботу, коли вони перебувають у фоновому режимі та не використовуються активно. Загалом, вимкнення фонових програм допоможе зменшити споживання енергії та навантаження на мережу і процесор, що корисно для ноутбуків, оскільки подовжує час автономної роботи.</v:String><v:String x:Key="TglButton24_description_system">Зарезервоване сховище призначено для забезпечення передбачуваного розподілу вільного простору, який використовуватиметься оновленнями, додатками, тимчасовими файлами і системним кешем. Вимкнення сховища може звільнити значний обсяг простору. Однак, якщо у вас достатньо вільного місця, робити це не рекомендовано, ніяких додаткових переваг ви не отримаєте.</v:String>+ <v:String x:Key="TglButton25_description_system">Disabling the dynamic timer and HPET can improve system responsiveness by reducing micro‑stutter and yield a slight performance boost. However, the effect depends on the configuration: in some cases, instead of speeding up, the system may slow down and experience lag. If you're using a laptop, note that this may also slightly increase power consumption, as the CPU will remain more active even when idle.</v:String><!--#endregion--><!--#region Information System Page -->diff --git a/.Source/GTweak/Utilities/Configuration/SystemDiagnostics.cs b/.Source/GTweak/Utilities/Configuration/SystemDiagnostics.csindex b434676f..1dfab622 100644--- a/.Source/GTweak/Utilities/Configuration/SystemDiagnostics.cs+++ b/.Source/GTweak/Utilities/Configuration/SystemDiagnostics.cs@@ -152,7 +152,7 @@ namespace GTweak.Utilities.Configuration/// </summary>private void GetBiosInfo(){- string output = CommandExecutor.GetCommandOutput(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.System), "bcdedit.exe")).GetAwaiter().GetResult();+ string output = CommandExecutor.GetCommandOutput(PathLocator.Files.BcdEditExe).GetAwaiter().GetResult();HardwareData.BiosMode = output.IndexOf("efi", StringComparison.OrdinalIgnoreCase) >= 0 ? "UEFI" : "Legacy Boot";foreach (var managementObj in new ManagementObjectSearcher(@"root\cimv2", "select Name, Caption, Description, SMBIOSBIOSVersion, SerialNumber from Win32_BIOS", new EnumerationOptions { ReturnImmediately = true }).Get())diff --git a/.Source/GTweak/Utilities/Controls/PathLocator.cs b/.Source/GTweak/Utilities/Controls/PathLocator.csindex 35a1f3a1..5d5955a0 100644--- a/.Source/GTweak/Utilities/Controls/PathLocator.cs+++ b/.Source/GTweak/Utilities/Controls/PathLocator.cs@@ -36,6 +36,8 @@ namespace GTweak.Utilities.Controlsinternal static readonly string CommandShellExe = FindExecutablePath("cmd.exe");internal static readonly string PowerShellExe = FindExecutablePath("pwsh.exe") ?? FindExecutablePath("powershell.exe");++ internal static readonly string BcdEditExe = FindExecutablePath("bcdedit.exe");}internal static class Registrydiff --git a/.Source/GTweak/Utilities/Managers/NotificationManager.cs b/.Source/GTweak/Utilities/Managers/NotificationManager.csindex 2f799f8d..0921fa78 100644--- a/.Source/GTweak/Utilities/Managers/NotificationManager.cs+++ b/.Source/GTweak/Utilities/Managers/NotificationManager.cs@@ -41,7 +41,8 @@ namespace GTweak.Utilities.Managersnew { Button = "TglButton14", Action = "restart" },new { Button = "TglButton15", Action = "restart" },new { Button = "TglButton20", Action = "restart" },- new { Button = "TglButton23", Action = "restart" }+ new { Button = "TglButton23", Action = "restart" },+ new { Button = "TglButton25", Action = "restart" }}.ToDictionary(x => x.Button, x => x.Action);private readonly int _delayMs;diff --git a/.Source/GTweak/Utilities/Tweaks/ClearingMemory.cs b/.Source/GTweak/Utilities/Tweaks/ClearingMemory.csindex f76cbaca..842b03e0 100644--- a/.Source/GTweak/Utilities/Tweaks/ClearingMemory.cs+++ b/.Source/GTweak/Utilities/Tweaks/ClearingMemory.cs@@ -202,12 +202,13 @@ namespace GTweak.Utilities.TweaksExplorerManager.Restart(new Process(), async () =>{- CommandExecutor.RunCommandAsTrustedInstaller(@"/c attrib -h -r -s %localappdata%\IconCache.db & del /a /q %localappdata%\IconCache.db & " ++ CommandExecutor.RunCommandAsTrustedInstaller(@"/c attrib -h -r -s %localappdata%\IconCache.db & del /a /f /q %localappdata%\IconCache.db & " +@"del /a /f /q %localappdata%\Microsoft\Windows\Explorer\iconcache* & del /a /f /q %localappdata%\Microsoft\Windows\Explorer\thumbcache* & " +@"del /a /f /q %localappdata%\Microsoft\Windows\Explorer\thumbcache_*.db & del /a /f /q %localappdata%\Microsoft\Windows\Explorer\thumbcache_exif.db & " +@"del /a /f /q %localappdata%\Microsoft\Windows\Explorer\thumbcache_idx.db & del /a /f /q %localappdata%\Microsoft\Windows\Explorer\thumbcache_sr.db & " +@"del /a /f /q %localappdata%\Microsoft\Windows\Explorer\thumbcache_wide.db & del /a /f /q %localappdata%\Microsoft\Windows\Explorer\thumbcache_96.db & " +- @"del /a /f /q %localappdata%\Microsoft\Windows\Explorer\thumbcache_256.db & del /a /f /q %localappdata%\Microsoft\Windows\Explorer\thumbcache_1024.db");+ @"del /a /f /q %localappdata%\Microsoft\Windows\Explorer\thumbcache_256.db & del /a /f /q %localappdata%\Microsoft\Windows\Explorer\thumbcache_1024.db & " ++ "ie4uinit.exe -show");await Task.Delay(200);});diff --git a/.Source/GTweak/Utilities/Tweaks/SystemTweaks.cs b/.Source/GTweak/Utilities/Tweaks/SystemTweaks.csindex dcd4f123..7bdbcf8a 100644--- a/.Source/GTweak/Utilities/Tweaks/SystemTweaks.cs+++ b/.Source/GTweak/Utilities/Tweaks/SystemTweaks.cs@@ -29,7 +29,7 @@ namespace GTweak.Utilities.Tweaksinternal sealed class SystemTweaks : Firewall{internal static bool isTweakWorkingAntivirus = false;- private static bool _isNetshState = false, _isBluetoothStatus = false;+ private static bool _isNetshState = false, _isBluetoothStatus = false, _isTickState = false;private readonly string _activeGuid = RegistryHelp.GetValue(@"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\User\PowerSchemes", "ActivePowerScheme", string.Empty);internal void AnalyzeAndUpdate(SystemView systemV)@@ -156,8 +156,11 @@ namespace GTweak.Utilities.TweaksRegistryHelp.CheckValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ReserveManager", "MiscPolicyInfo", "2") ||RegistryHelp.CheckValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ReserveManager", "PassedPolicy", "0") ||RegistryHelp.CheckValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ReserveManager", "ShippedWithReserves", "0");++ systemV.TglButton25.StateNA = _isTickState;}+internal void ViewBluetoothStatus(){try@@ -174,6 +177,12 @@ namespace GTweak.Utilities.Tweaks_isNetshState = getStateNetsh.Contains("default") || getStateNetsh.Contains("enabled");}+ internal void ViewConfigTick()+ {+ string output = CommandExecutor.GetCommandOutput(PathLocator.Files.BcdEditExe).GetAwaiter().GetResult();+ _isTickState = !Regex.IsMatch(output,@"(?is)(?=.*\bdisabledynamictick\s+(yes|true))(?=.*\buseplatformclock\s+(no|false))", RegexOptions.IgnoreCase | RegexOptions.ExplicitCapture | RegexOptions.CultureInvariant);+ }+[DllImport("user32.dll")]private static extern bool SystemParametersInfo(uint _uiAction, uint _uiParam, uint _pvParam, uint _fWinIni);internal static void ApplyTweaksSlider(string tweak, uint value)@@ -410,6 +419,18 @@ namespace GTweak.Utilities.TweaksRegistryHelp.Write(Registry.LocalMachine, @"SOFTWARE\Microsoft\Windows\CurrentVersion\ReserveManager", "ShippedWithReserves", 1, RegistryValueKind.DWord);}break;+ case "TglButton25":+ if (isDisabled)+ {+ _isTickState = false;+ CommandExecutor.RunCommand($@"{PathLocator.Files.BcdEditExe} /set disabledynamictick yes; {PathLocator.Files.BcdEditExe} /set useplatformclock false", true);+ }+ else+ {+ _isTickState = true;+ CommandExecutor.RunCommand($@"{PathLocator.Files.BcdEditExe} /deletevalue disabledynamictick; {PathLocator.Files.BcdEditExe} /deletevalue useplatformclock", true);+ }+ break;}}diff --git a/.Source/GTweak/View/SystemView.xaml b/.Source/GTweak/View/SystemView.xamlindex eead63f5..71e04b29 100644--- a/.Source/GTweak/View/SystemView.xaml+++ b/.Source/GTweak/View/SystemView.xaml@@ -49,6 +49,7 @@<uc:ToggleButton x:Name="TglButton19" Height="25" Width="Auto" Margin="20,20,0,0" TextResource="{DynamicResource tgl19_system}" MouseEnter="Tweak_MouseEnter" MouseLeave="Tweak_MouseLeave" ChangedState="TglButton_ChangedState"/><uc:ToggleButton x:Name="TglButton21" Height="25" Width="Auto" Margin="20,20,0,0" TextResource="{DynamicResource tgl21_system}" MouseEnter="Tweak_MouseEnter" MouseLeave="Tweak_MouseLeave" ChangedState="TglButton_ChangedState"/><uc:ToggleButton x:Name="TglButton23" Height="25" Width="Auto" Margin="20,20,0,0" TextResource="{DynamicResource tgl23_system}" MouseEnter="Tweak_MouseEnter" MouseLeave="Tweak_MouseLeave" ChangedState="TglButton_ChangedState"/>+ <uc:ToggleButton x:Name="TglButton25" Height="25" Width="Auto" Margin="20,20,0,0" TextResource="{DynamicResource tgl25_system}" MouseEnter="Tweak_MouseEnter" MouseLeave="Tweak_MouseLeave" ChangedState="TglButton_ChangedState"/></StackPanel></Grid>diff --git a/.Source/GTweak/Windows/LoadingWindow.xaml.cs b/.Source/GTweak/Windows/LoadingWindow.xaml.csindex 51f7d4bf..05894aa7 100644--- a/.Source/GTweak/Windows/LoadingWindow.xaml.cs+++ b/.Source/GTweak/Windows/LoadingWindow.xaml.cs@@ -55,7 +55,8 @@ namespace GTweak.Windows() => ExecuteWithLogging(new UninstallingPakages().LoadInstalledPackages, nameof(UninstallingPakages.LoadInstalledPackages)),() => ExecuteWithLogging(new UninstallingPakages().CheckingForLocalAccount, nameof(UninstallingPakages.CheckingForLocalAccount)),() => ExecuteWithLogging(new SystemTweaks().ViewNetshState, nameof(SystemTweaks.ViewNetshState)),- () => ExecuteWithLogging(new SystemTweaks().ViewBluetoothStatus, nameof(SystemTweaks.ViewBluetoothStatus))+ () => ExecuteWithLogging(new SystemTweaks().ViewBluetoothStatus, nameof(SystemTweaks.ViewBluetoothStatus)),+ () => ExecuteWithLogging(new SystemTweaks().ViewConfigTick, nameof(SystemTweaks.ViewConfigTick)));ExecuteWithLogging(() => new MonitoringSystem().GetTotalProcessorUsage().GetAwaiter().GetResult(), nameof(MonitoringSystem.GetTotalProcessorUsage));