Skip to content

Portable Tool for an Ideal Windows Setup

add tweak - auto «PC Health Check» update blocker

Greedeks4439401e2886
diff --git a/.Source/GTweak/Languages/en/Localize.xaml b/.Source/GTweak/Languages/en/Localize.xaml
index 3bdbdc98..4044c22b 100644
--- a/.Source/GTweak/Languages/en/Localize.xaml
+++ b/.Source/GTweak/Languages/en/Localize.xaml
@@ -384,7 +384,8 @@
<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="tgl26_system">Hide «PC Health Check» from update system</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>
<v:String x:Key="TextSlider3_description_system">Changes the repetition rate of the entered character, the recommended value is 31.</v:String>
@@ -413,7 +414,8 @@
<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>
<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-->
+ <v:String x:Key="TglButton26_description_system">Tweak blocks intrusive automatic installation of PC Health Check - Microsoft utility that forcibly deploys itself through Windows Update without permission. Once installed, program constantly nags about «checking Windows 11 readiness» and pushes unsolicited «optimization recommendations».</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.xaml
index 649581e8..038ae94f 100644
--- a/.Source/GTweak/Languages/fr/Localize.xaml
+++ b/.Source/GTweak/Languages/fr/Localize.xaml
@@ -387,6 +387,7 @@
<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="tgl26_system">Hide «PC Health Check» from update system</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>
@@ -416,6 +417,7 @@
<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>
+ <v:String x:Key="TglButton26_description_system">Tweak blocks intrusive automatic installation of PC Health Check - Microsoft utility that forcibly deploys itself through Windows Update without permission. Once installed, program constantly nags about «checking Windows 11 readiness» and pushes unsolicited «optimization recommendations».</v:String>
<!--#endregion-->
<!--#region Information System Page -->
diff --git a/.Source/GTweak/Languages/it/Localize.xaml b/.Source/GTweak/Languages/it/Localize.xaml
index 4bba8cb8..ec0d0f84 100644
--- a/.Source/GTweak/Languages/it/Localize.xaml
+++ b/.Source/GTweak/Languages/it/Localize.xaml
@@ -385,7 +385,8 @@
<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="tgl26_system">Hide «PC Health Check» from update system</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>
<v:String x:Key="TextSlider3_description_system">Modifica la velocità di ripetizione dei caratteri digitati; il valore consigliato è 31.</v:String>
@@ -414,6 +415,7 @@
<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>
+ <v:String x:Key="TglButton26_description_system">Tweak blocks intrusive automatic installation of PC Health Check - Microsoft utility that forcibly deploys itself through Windows Update without permission. Once installed, program constantly nags about «checking Windows 11 readiness» and pushes unsolicited «optimization recommendations».</v:String>
<!--#endregion-->
<!--#region Information System Page -->
diff --git a/.Source/GTweak/Languages/ko/Localize.xaml b/.Source/GTweak/Languages/ko/Localize.xaml
index 6adf40bd..e1dcf91c 100644
--- a/.Source/GTweak/Languages/ko/Localize.xaml
+++ b/.Source/GTweak/Languages/ko/Localize.xaml
@@ -384,6 +384,7 @@
<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="tgl26_system">Hide «PC Health Check» from update system</v:String>
<v:String x:Key="TextSlider1_description_system">마우스 포인터의 속도를 변경하여 마우스 매개변수를 검색하는 시간을 절약할 수 있습니다.</v:String>
<v:String x:Key="TextSlider2_description_system">입력한 문자를 반복하기 시작하기 전에 지연 시간을 변경하며, 권장 값은 0입니다..</v:String>
@@ -413,6 +414,7 @@
<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>
+ <v:String x:Key="TglButton26_description_system">Tweak blocks intrusive automatic installation of PC Health Check - Microsoft utility that forcibly deploys itself through Windows Update without permission. Once installed, program constantly nags about «checking Windows 11 readiness» and pushes unsolicited «optimization recommendations».</v:String>
<!--#endregion-->
<!--#region Information System Page -->
diff --git a/.Source/GTweak/Languages/ru/Localize.xaml b/.Source/GTweak/Languages/ru/Localize.xaml
index 1f96577f..cac6457d 100644
--- a/.Source/GTweak/Languages/ru/Localize.xaml
+++ b/.Source/GTweak/Languages/ru/Localize.xaml
@@ -384,7 +384,8 @@
<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="tgl26_system">Скрытие «PC Health Check» от системы обновлений</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>
@@ -413,6 +414,7 @@
<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>
+ <v:String x:Key="TglButton26_description_system">Твик блокирует навязчивую автоматическую установку PC Health Check - служебной утилиты Microsoft, которая без спроса внедряется через Центр обновления Windows. Принудительно добавляя себя в систему, программа постоянно напоминает о необходимости «проверить готовность к Windows 11» и навязывает различные «рекомендации» по оптимизации.</v:String>
<!--#endregion-->
<!--#region Information System Page -->
diff --git a/.Source/GTweak/Languages/uk/Localize.xaml b/.Source/GTweak/Languages/uk/Localize.xaml
index 51713fb9..6a7528c4 100644
--- a/.Source/GTweak/Languages/uk/Localize.xaml
+++ b/.Source/GTweak/Languages/uk/Localize.xaml
@@ -384,6 +384,7 @@
<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="tgl26_system">Hide «PC Health Check» from update system</v:String>
<v:String x:Key="TextSlider1_description_system">Дозволяє змінити швидкість переміщення вказівника миші, заощаджуючи ваш час на пошук відповідних параметрів.</v:String>
<v:String x:Key="TextSlider2_description_system">Зміна затримки перед початком повторного введення символу, рекомендоване значення - 0.</v:String>
@@ -413,6 +414,7 @@
<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>
+ <v:String x:Key="TglButton26_description_system">Tweak blocks intrusive automatic installation of PC Health Check - Microsoft utility that forcibly deploys itself through Windows Update without permission. Once installed, program constantly nags about «checking Windows 11 readiness» and pushes unsolicited «optimization recommendations».</v:String>
<!--#endregion-->
<!--#region Information System Page -->
diff --git a/.Source/GTweak/Utilities/Tweaks/SystemTweaks.cs b/.Source/GTweak/Utilities/Tweaks/SystemTweaks.cs
index a7a2179e..b1e9f89b 100644
--- a/.Source/GTweak/Utilities/Tweaks/SystemTweaks.cs
+++ b/.Source/GTweak/Utilities/Tweaks/SystemTweaks.cs
@@ -158,6 +158,10 @@ namespace GTweak.Utilities.Tweaks
RegistryHelp.CheckValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ReserveManager", "ShippedWithReserves", "0");
systemV.TglButton25.StateNA = _isTickState;
+
+ systemV.TglButton26.StateNA =
+ RegistryHelp.CheckValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PCHC", "PreviousUninstall", "1") ||
+ RegistryHelp.CheckValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PCHealthCheck", "installed", "1");
}
@@ -431,6 +435,18 @@ namespace GTweak.Utilities.Tweaks
CommandExecutor.RunCommand($@"{PathLocator.Executable.BcdEdit} /deletevalue disabledynamictick; {PathLocator.Executable.BcdEdit} /deletevalue useplatformclock", true);
}
break;
+ case "TglButton26":
+ if (isDisabled)
+ {
+ RegistryHelp.Write(Registry.LocalMachine, @"SOFTWARE\Microsoft\PCHC", "PreviousUninstall", 1, RegistryValueKind.DWord);
+ RegistryHelp.Write(Registry.LocalMachine, @"SOFTWARE\Microsoft\PCHealthCheck", "installed", 1, RegistryValueKind.DWord);
+ }
+ else
+ {
+ RegistryHelp.DeleteValue(Registry.LocalMachine, @"SOFTWARE\Microsoft\PCHC", "PreviousUninstall");
+ RegistryHelp.DeleteValue(Registry.LocalMachine, @"SOFTWARE\Microsoft\PCHealthCheck", "installed");
+ }
+ break;
}
}
diff --git a/.Source/GTweak/View/SystemView.xaml b/.Source/GTweak/View/SystemView.xaml
index 71e04b29..7b43a200 100644
--- a/.Source/GTweak/View/SystemView.xaml
+++ b/.Source/GTweak/View/SystemView.xaml
@@ -69,6 +69,7 @@
<uc:ToggleButton x:Name="TglButton20" Height="25" Width="Auto" Margin="20,20,0,0" TextResource="{DynamicResource tgl20_system}" MouseEnter="Tweak_MouseEnter" MouseLeave="Tweak_MouseLeave" ChangedState="TglButton_ChangedState"/>
<uc:ToggleButton x:Name="TglButton22" Height="25" Width="Auto" Margin="20,20,0,0" TextResource="{DynamicResource tgl22_system}" MouseEnter="Tweak_MouseEnter" MouseLeave="Tweak_MouseLeave" ChangedState="TglButton_ChangedState"/>
<uc:ToggleButton x:Name="TglButton24" Height="25" Width="Auto" Margin="20,20,0,0" TextResource="{DynamicResource tgl24_system}" MouseEnter="Tweak_MouseEnter" MouseLeave="Tweak_MouseLeave" ChangedState="TglButton_ChangedState"/>
+ <uc:ToggleButton x:Name="TglButton26" Height="25" Width="Auto" Margin="20,20,0,0" TextResource="{DynamicResource tgl26_system}" MouseEnter="Tweak_MouseEnter" MouseLeave="Tweak_MouseLeave" ChangedState="TglButton_ChangedState"/>
</StackPanel>
</Grid>
</Grid>