Portable Tool for an Ideal Windows Setup
C# activatorbloatware-removalcsharpdebloatdebloaterdisable-servicesmonitoring-systemportableprivacy-toolsregistry-tweakssystem-tuningsystem-utilitytelemetrytweakerwindows-10windows-11windows-debloatwindows-defenderwindows-optimizationwindows-tweaks
-correction & changing the wd status check
Greedeksb540e17aee5d
diff --git a/.Source/GTweak/Languages/en/Localize.xaml b/.Source/GTweak/Languages/en/Localize.xamlindex ea6e1972..d6e7a711 100644--- a/.Source/GTweak/Languages/en/Localize.xaml+++ b/.Source/GTweak/Languages/en/Localize.xaml@@ -373,7 +373,7 @@<v:String x:Key="TglButton5_description_system">Tweak allows you to disable the system message informing you that when you turn off or restart the computer, open programs will be terminated forcibly.</v:String><v:String x:Key="TglButton6_description_system">If you prefer to update your apps from the Microsoft Store yourself, you need to turn off the automatic update feature. Thus, the load on the network will drop.</v:String><v:String x:Key="TglButton7_description_system">Some versions of Realtek High Definition Audio drivers have an unpleasant sign of incorrect operation, and there is a sound delay, this tweak will fix it. It is NOT RECOMMENDED to use a tweak if you are not sure that the sound turns on after a few seconds or do not know which driver you have.</v:String>- <v:String x:Key="TglButton8_description_system">This tweak will disable and stop Windows Defender, SmartScreen, disproportionately heavy loads on the Antimalware processor and Virtualization-Based Security (VBS). It is possible to display «Enabled» when Windows Defender is turned off.</v:String>+ <v:String x:Key="TglButton8_description_system">This tweak will disable and stop Windows Defender, SmartScreen, disproportionately heavy loads on the Antimalware processor and Virtualization-Based Security (VBS).</v:String><v:String x:Key="TglButton9_description_system">The tweak will completely disable UAС (User Account Control), get rid of shield icons, security notifications and other things. UAC is not a full-fledged protection program.</v:String><v:String x:Key="TglButton10_description_system">When you disable something related to security or protection, you constantly receive notifications about it. This tweak will disable security notifications from the Notification Center.</v:String><v:String x:Key="TglButton11_description_system">Windows security alert when you run exe, msi, bat, cmd or other executable files downloaded over the Internet. Confirming the launch of such files can get boring pretty quickly every time, this tweak will disable this warning.</v:String>diff --git a/.Source/GTweak/Languages/ko/Localize.xaml b/.Source/GTweak/Languages/ko/Localize.xamlindex f8a88da9..f5d24082 100644--- a/.Source/GTweak/Languages/ko/Localize.xaml+++ b/.Source/GTweak/Languages/ko/Localize.xaml@@ -373,7 +373,7 @@<v:String x:Key="TglButton5_description_system">조정을 사용하면 컴퓨터를 끄거나 다시 시작할 때 열려 있는 프로그램이 강제로 종료된다는 시스템 메시지를 표시하지 않도록 설정할 수 있습니다.</v:String><v:String x:Key="TglButton6_description_system">Microsoft 스토어에서 앱을 직접 업데이트하려는 경우 자동 업데이트 기능을 해제해야 합니다. 따라서 네트워크의 부하가 줄어듭니다.</v:String><v:String x:Key="TglButton7_description_system">일부 버전의 Realtek 고해상도 오디오 드라이버에는 잘못된 작동의 불쾌한 징후가 있으며 사운드 지연이 있는 경우 이 조정을 통해 문제를 해결할 수 있습니다. 몇 초 후에 사운드가 켜지는지 확실하지 않거나 어떤 드라이버가 있는지 모르는 경우 조정을 사용하지 않는 것이 좋습니다.</v:String>- <v:String x:Key="TglButton8_description_system">이 조정은 Windows Defender, 스마트 스크린, 맬웨어 방지 프로세서 및 가상화 기반 보안 (VBS)에 불균형적으로 과중한 부하를 주는 기능을 비활성화 및 중지합니다. Windows Defender가 꺼져 있으면 «사용»이 표시될 수 있습니다.</v:String>+ <v:String x:Key="TglButton8_description_system">이 조정은 Windows Defender, 스마트 스크린, 맬웨어 방지 프로세서 및 가상화 기반 보안 (VBS)에 불균형적으로 과중한 부하를 주는 기능을 비활성화 및 중지합니다.</v:String><v:String x:Key="TglButton9_description_system">이 조정은 UAC (사용자 계정 컨트롤)를 완전히 비활성화하고 방패 아이콘, 보안 알림 및 기타 항목을 제거합니다. UAC는 본격적인 보호 프로그램이 아닙니다.</v:String><v:String x:Key="TglButton10_description_system">보안 또는 보호와 관련된 기능을 비활성화하면 이에 대한 알림을 지속적으로 받게 됩니다. 이 조정은 알림 센터에서 보안 알림을 비활성화합니다.</v:String><v:String x:Key="TglButton11_description_system">인터넷을 통해 다운로드한 exe, msi, bat, cmd 또는 기타 실행 파일을 실행할 때 Windows 보안 경고가 표시됩니다. 이러한 파일의 실행을 매번 확인하는 것은 꽤 지루할 수 있는데, 이 조정을 통해 이 경고를 비활성화할 수 있습니다.</v:String>diff --git a/.Source/GTweak/Languages/ru/Localize.xaml b/.Source/GTweak/Languages/ru/Localize.xamlindex 0ee90568..905941cc 100644--- a/.Source/GTweak/Languages/ru/Localize.xaml+++ b/.Source/GTweak/Languages/ru/Localize.xaml@@ -373,7 +373,7 @@<v:String x:Key="TglButton5_description_system">Твик позволяет отключить системное сообщение, информирующее, что при выключении или перезагрузке компьютера открытые программы будут завершены принудительно.</v:String><v:String x:Key="TglButton6_description_system">Если вы предпочитаете обновлять свои приложения из Microsoft Store самостоятельно, вам необходимо выключить функцию автоматического обновления. Тем самым нагрузка на сеть упадет.</v:String><v:String x:Key="TglButton7_description_system">Некоторые версии драйверов Realtek High Definition Audio имеют неприятный признак некорректной работы, а имменно задержка звука, данный твик это исправит. НЕ РЕКОМЕНДУЕТСЯ использовать твик, если вы не уверенны, что звук включается через несколько секунд или не знаете какой у вас драйвер.</v:String>- <v:String x:Key="TglButton8_description_system">Данный твик отключит и остановит Защитника Windows, SmartScreen, несоразмерно большие нагрузки на процессор Antimalware и безопасность на основе виртуализации - Virtualization-Based Security (VBS). Возможно отображение «Включено» при выключенном Защитнике Windows.</v:String>+ <v:String x:Key="TglButton8_description_system">Данный твик отключит и остановит Защитника Windows, SmartScreen, несоразмерно большие нагрузки на процессор Antimalware и безопасность на основе виртуализации - Virtualization-Based Security (VBS).</v:String><v:String x:Key="TglButton9_description_system">Твик позволит полностью отключить UAC (Контроль учётных записей), избавить от значков щита, уведомлений безопасности и прочего. UAC не является полноценной программой для защиты.</v:String><v:String x:Key="TglButton10_description_system">Когда вы отключаете что-нибудь, связанное с безопасностью или защитой, вы постоянно получаете об этом уведомления. Данный твик отключит уведомления о безопасности от Центра уведомлений.</v:String><v:String x:Key="TglButton11_description_system">Предупреждением системы безопасности Windows, когда запускаете exe, msi, bat, cmd или другие исполняемые файлы скачанные через интернет. Каждый раз подтверждать запуск таких файлов может довольно быстро надоесть, данный твик отключит это предупреждение.</v:String>diff --git a/.Source/GTweak/Languages/uk/Localize.xaml b/.Source/GTweak/Languages/uk/Localize.xamlindex af9de3f8..6089949e 100644--- a/.Source/GTweak/Languages/uk/Localize.xaml+++ b/.Source/GTweak/Languages/uk/Localize.xaml@@ -373,7 +373,7 @@<v:String x:Key="TglButton5_description_system">Це налаштування дозволяє вимкнути сповіщення системи, яке інформує, що при вимкненні або перезавантаженні комп'ютера відкриті програми буде завершено примусово.</v:String><v:String x:Key="TglButton6_description_system">Якщо ви хочете оновлювати свої додатки з Магазину Microsoft самостійно, необхідно вимкнути функцію автоматичного оновлення. Таким чином, буде знижено навантаження на мережу.</v:String><v:String x:Key="TglButton7_description_system">Деякі версії звукових драйверів Realtek High Definition Audio мають неприємну ознаку неправильної роботи - затримка звуку. Це налаштування виправляє цей недолік. НЕ РЕКОМЕНДОВАНО використовувати це налаштування, якщо ви не впевнені, що існує затримка звуку або не знаєте, який драйвер використовується у вашій системі.</v:String>- <v:String x:Key="TglButton8_description_system">Це налаштування вимикає та зупиняє служби Захисника Windows, SmartScreen, зменшує надмірне навантаження на процесор процесами Antimalware та Virtualization-Based Security (VBS). Навіть якщо Захисник Windows вимкнено, можливе відображення стану як "Увімкнено".</v:String>+ <v:String x:Key="TglButton8_description_system">Це налаштування вимикає та зупиняє служби Захисника Windows, SmartScreen, зменшує надмірне навантаження на процесор процесами Antimalware та Virtualization-Based Security (VBS).</v:String><v:String x:Key="TglButton9_description_system">Це налаштування дозволяє повністю вимкнути UAC (контроль облікових записів), щоб прибрати піктограми щита, сповіщення про безпеку тощо. UAC не є повноцінною програмою для захисту системи.</v:String><v:String x:Key="TglButton10_description_system">Під час вимкнення будь-чого, що стосується безпеки чи захисту, ви постійно отримуєте про це сповіщення. Це налаштування вимикає сповіщення про безпеку від Центру сповіщень.</v:String><v:String x:Key="TglButton11_description_system">Система безпеки Windows попереджає запуск exe, msi, bat, cmd та інших виконуваних файлів, завантажених через Інтернет. Підтвердження дозволу на запуск таких файлів може швидко набриднути. Це налаштування вимикає це попередження.</v:String>diff --git a/.Source/GTweak/Utilities/Tweaks/Firewall.cs b/.Source/GTweak/Utilities/Tweaks/Firewall.csindex d0684943..245f14fb 100644--- a/.Source/GTweak/Utilities/Tweaks/Firewall.cs+++ b/.Source/GTweak/Utilities/Tweaks/Firewall.cs@@ -130,7 +130,7 @@ namespace GTweak.Utilities.Tweaksprotected static void BlockWDefender(bool isChoose){try { Parallel.Invoke(() => { ChangeRules(isChoose, PathsForPrograms["WD"], NameRules["WDefender"], NET_FW_RULE_DIRECTION_.NET_FW_RULE_DIR_OUT, "blocking Windows Defender database updates"); }); }- catch (Exception ex) { Debug.Write(ex.Message); };+ catch (Exception ex) { Debug.Write(ex.Message); }}}}diff --git a/.Source/GTweak/Utilities/Tweaks/InterfaceTweaks.cs b/.Source/GTweak/Utilities/Tweaks/InterfaceTweaks.csindex 1c77cfb7..d303c280 100644--- a/.Source/GTweak/Utilities/Tweaks/InterfaceTweaks.cs+++ b/.Source/GTweak/Utilities/Tweaks/InterfaceTweaks.cs@@ -255,7 +255,7 @@ namespace GTweak.Utilities.Tweaks}});}- catch (Exception ex) { Debug.WriteLine(ex.Message); };+ catch (Exception ex) { Debug.WriteLine(ex.Message); }break;case "TglButton12":if (isChoose)diff --git a/.Source/GTweak/Utilities/Tweaks/SystemTweaks.cs b/.Source/GTweak/Utilities/Tweaks/SystemTweaks.csindex 81a83a2b..7b9d7a70 100644--- a/.Source/GTweak/Utilities/Tweaks/SystemTweaks.cs+++ b/.Source/GTweak/Utilities/Tweaks/SystemTweaks.cs@@ -5,6 +5,7 @@ using Microsoft.Win32;using System;using System.ComponentModel;using System.Diagnostics;+using System.IO;using System.Management;using System.Runtime.InteropServices;using System.Text;@@ -81,14 +82,14 @@ namespace GTweak.Utilities.Tweaks}}}- catch (Exception ex) { Debug.WriteLine(ex.Message); };+ catch (Exception ex) { Debug.WriteLine(ex.Message); }- systemV.TglButton8.StateNA =- RegistryHelp.CheckValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\Features", "TamperProtection", "0") ||+ systemV.TglButton8.StateNA = !File.Exists(StoragePaths.SystemDisk + @"Windows\System32\smartscreen.exe") &&+ (RegistryHelp.CheckValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\Features", "TamperProtection", "0") ||RegistryHelp.CheckValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\App and Browser protection", "DisallowExploitProtectionOverride", "0") ||RegistryHelp.CheckValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\App and Browser protection", "UILockdown", "1") ||RegistryHelp.CheckValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\Real-Time Protection", "DisableBehaviorMonitoring", "1") ||- RegistryHelp.CheckValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\Real-Time Protection", "DisableRealtimeMonitoring", "1");+ RegistryHelp.CheckValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\Real-Time Protection", "DisableRealtimeMonitoring", "1"));systemV.TglButton9.StateNA =RegistryHelp.CheckValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System", "PromptOnSecureDesktop", "0") ||diff --git a/.Source/GTweak/Utilities/Tweaks/UninstallingPakages.cs b/.Source/GTweak/Utilities/Tweaks/UninstallingPakages.csindex 7e20be0b..24b79fd0 100644--- a/.Source/GTweak/Utilities/Tweaks/UninstallingPakages.cs+++ b/.Source/GTweak/Utilities/Tweaks/UninstallingPakages.cs@@ -167,7 +167,7 @@ namespace GTweak.Utilities.Tweaksprocess.WaitForExit();}}- catch (Exception ex) { Debug.WriteLine(ex); };+ catch (Exception ex) { Debug.WriteLine(ex); }switch (packageName){@@ -199,7 +199,8 @@ namespace GTweak.Utilities.TweaksTrustedInstaller.CreateProcessAsTrustedInstaller(SettingsRepository.PID, $@"cmd.exe /c for /d %d in (""{StoragePaths.SystemDisk}Program Files (x86)\Microsoft\*Edge*"") do rmdir /s /q ""%d""");TrustedInstaller.CreateProcessAsTrustedInstaller(SettingsRepository.PID, $@"cmd.exe /c for /f ""delims="" %i in ('dir /b /s ""{StoragePaths.SystemDisk}Windows\System32\Tasks\*Edge*""') do (if exist ""%i"" (if exist ""%i\"" (rmdir /s /q ""%i"") else (del /f /q ""%i"")))");}- catch (Exception ex) { Debug.WriteLine(ex); };+ catch (Exception ex) { Debug.WriteLine(ex); }+ ;RegistryHelp.DeleteValue(Registry.CurrentUser, @"Software\Microsoft\Windows\CurrentVersion\Run", "MicrosoftEdgeAutoLaunch_03AF54719E0271FA0A92D5F15CBA10EA");RegistryHelp.DeleteFolderTree(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\edgeupdate", true);RegistryHelp.DeleteFolderTree(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\edgeupdatem", true);diff --git a/.Source/GTweak/Utilities/Tweaks/WindowsDefender.cs b/.Source/GTweak/Utilities/Tweaks/WindowsDefender.csindex a5c5ca7f..d658e9ef 100644--- a/.Source/GTweak/Utilities/Tweaks/WindowsDefender.cs+++ b/.Source/GTweak/Utilities/Tweaks/WindowsDefender.cs@@ -142,7 +142,7 @@ namespace GTweak.Utilities.Tweaksinternal async void Disable(){KillProcess("smartscreen");- TrustedInstaller.CreateProcessAsTrustedInstaller(SettingsRepository.PID, "cmd.exe /c taskkill /f /im smartscreen.exe & rename " + string.Concat(StoragePaths.SystemDisk, @"Windows\System32\smartscreen.exe") + " BlockSS.exe");+ TrustedInstaller.CreateProcessAsTrustedInstaller(SettingsRepository.PID, $"cmd.exe /c rename {string.Concat(StoragePaths.SystemDisk, @"Windows\System32\smartscreen.exe")} BlockSS.exe");KillProcess("MsMpEng");RegistryHelp.CreateFolder(Registry.LocalMachine, @"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer");