Skip to content

Portable Tool for an Ideal Windows Setup

upd. noty locales & fix restoration of Windows Defender parameters, use RegistryHive, byte[] serialization in export/import deb v 5.3.9

Greedeks081774420d44
diff --git a/.Source/GTweak/Languages/en/Localize.xaml b/.Source/GTweak/Languages/en/Localize.xaml
index 8ff22a58..40bceaae 100644
--- a/.Source/GTweak/Languages/en/Localize.xaml
+++ b/.Source/GTweak/Languages/en/Localize.xaml
@@ -41,7 +41,8 @@
<v:String x:Key="export_warning_noty">It doesn't make sense, apply at least one tweak first</v:String>
<v:String x:Key="success_onedrive_noty">OneDrive recovery is now underway and will take a while</v:String>
<v:String x:Key="error_onedrive_noty">OneDrive setup file missing, recovery impossible</v:String>
- <v:String x:Key="defender_noty">It will take some time, please wait a bit</v:String>
+ <v:String x:Key="warn_wd_noty">Expect the process to terminate automatically and the system to restart</v:String>
+ <v:String x:Key="info_wd_noty">It will take some time, please wait a bit</v:String>
<v:String x:Key="warn_firewall_noty">Your firewall is disabled, turn it on and apply the tweak again</v:String>
<v:String x:Key="warn_activate_noty">To start - activate Windows. Not all tweaks can be applied</v:String>
<v:String x:Key="ready_activate_noty">Your operating system does not need to be activated</v:String>
@@ -383,7 +384,7 @@
<v:String x:Key="slider3_desc_sys">Changes the repetition rate of the entered character, the recommended value is 31.</v:String>
<v:String x:Key="tgl1_desc_sys">By default, mouse acceleration accelerates mouse movement. It is recommended to turn it off, since with acceleration turned on, uniform movement and directional accuracy want to be better.</v:String>
<v:String x:Key="tgl2_desc_sys">If you do not want a window to appear every now and then when performing tasks, telling you to enable key sticking or input filtering, and after answering «No» it appears again after a while, then disable this function. In addition, input filtering affects the speed of keyboard repetition and skipping repeated keys.</v:String>
- <v:String x:Key="tgl3_desc_sys">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="tgl3_desc_sys">This tweak will disable and stop Windows Defender, SmartScreen, disproportionately heavy loads on the Antimalware processor and Virtualization-Based Security (VBS). For the changes to be fully applied, the system will automatically reboot into Safe Mode. No actions are required - the utility will handle everything automatically.</v:String>
<v:String x:Key="tgl4_desc_sys">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="tgl5_desc_sys">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="tgl6_desc_sys">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>
diff --git a/.Source/GTweak/Languages/fr/Localize.xaml b/.Source/GTweak/Languages/fr/Localize.xaml
index cdb72f63..c4d7f13e 100644
--- a/.Source/GTweak/Languages/fr/Localize.xaml
+++ b/.Source/GTweak/Languages/fr/Localize.xaml
@@ -41,7 +41,8 @@
<v:String x:Key="export_warning_noty">Cela n’a pas de sens, appliquez au moins un réglage d’abord</v:String>
<v:String x:Key="success_onedrive_noty">Le processus de récupération OneDrive a commencé, cela prendra un certain temps</v:String>
<v:String x:Key="error_onedrive_noty">OneDrive setup file missing, recovery impossible</v:String>
- <v:String x:Key="defender_noty">Le processus prendra un certain temps, veuillez patienter</v:String>
+ <v:String x:Key="warn_wd_noty">Expect the process to terminate automatically and the system to restart</v:String>
+ <v:String x:Key="info_wd_noty">Le processus prendra un certain temps, veuillez patienter</v:String>
<v:String x:Key="warn_firewall_noty">Votre pare-feu est désactivé, activez-le et appliquez à nouveau le réglage</v:String>
<v:String x:Key="warn_activate_noty">Pour commencer - activez Windows. Tous les réglages ne peuvent pas être appliqués</v:String>
<v:String x:Key="ready_activate_noty">Votre système d’exploitation n’a pas besoin d’être activé</v:String>
@@ -384,7 +385,7 @@
<v:String x:Key="slider3_desc_sys">Modifie la vitesse de répétition des caractères saisis. La valeur recommandée est 31.</v:String>
<v:String x:Key="tgl1_desc_sys">Par défaut, l’accélération de la souris augmente la vitesse de déplacement. Il est conseillé de la désactiver, car avec l’accélération activée, le mouvement uniforme et la précision directionnelle en pâtissent.</v:String>
<v:String x:Key="tgl2_desc_sys">Désactivez cette fonction si vous ne souhaitez pas voir apparaître de fenêtre vous invitant à activer le verrouillage des touches ou le filtrage des entrées, surtout si vous refusez et que la fenêtre revient régulièrement. Le filtrage affecte aussi la vitesse de répétition du clavier et évite les touches répétées involontairement.</v:String>
- <v:String x:Key="tgl3_desc_sys">Désactive Windows Defender, SmartScreen, la lourde charge de l’antimalware et la sécurité basée sur la virtualisation (VBS).</v:String>
+ <v:String x:Key="tgl3_desc_sys">Désactive Windows Defender, SmartScreen, la lourde charge de l’antimalware et la sécurité basée sur la virtualisation (VBS). For the changes to be fully applied, the system will automatically reboot into Safe Mode. No actions are required — the utility will handle everything automatically.</v:String>
<v:String x:Key="tgl4_desc_sys">Désactive complètement le Contrôle de compte utilisateur (UAC), supprime les icônes de bouclier et les notifications de sécurité. L’UAC n’est pas une protection complète.</v:String>
<v:String x:Key="tgl5_desc_sys">Désactive les notifications de sécurité provenant du Centre de notifications, utiles lorsque vous désactivez des fonctions de sécurité.</v:String>
<v:String x:Key="tgl6_desc_sys">Désactive la mise à jour automatique des applications du Microsoft Store, utile si vous préférez les mettre à jour manuellement et réduire la charge réseau.</v:String>
@@ -479,3 +480,4 @@
<!--#endregion-->
</ResourceDictionary>
+
diff --git a/.Source/GTweak/Languages/hu/Localize.xaml b/.Source/GTweak/Languages/hu/Localize.xaml
index 677d768f..2deadf57 100644
--- a/.Source/GTweak/Languages/hu/Localize.xaml
+++ b/.Source/GTweak/Languages/hu/Localize.xaml
@@ -41,7 +41,8 @@
<v:String x:Key="export_warning_noty">Nincs értelme, először legalább egy módosítást alkalmazzon</v:String>
<v:String x:Key="success_onedrive_noty">A OneDrive helyreállítása már folyamatban van, és eltart egy ideig</v:String>
<v:String x:Key="error_onedrive_noty">A OneDrive telepítőfájlja hiányzik, a helyreállítás lehetetlen</v:String>
- <v:String x:Key="defender_noty">Eltart egy ideig, kérlek, várj egy kicsit</v:String>
+ <v:String x:Key="warn_wd_noty">Expect the process to terminate automatically and the system to restart</v:String>
+ <v:String x:Key="info_wd_noty">Eltart egy ideig, kérlek, várj egy kicsit</v:String>
<v:String x:Key="warn_firewall_noty">A tűzfal le van tiltva, kapcsolja be, és alkalmazza újra a módosítást</v:String>
<v:String x:Key="warn_activate_noty">Indításhoz - aktiválja a Windows rendszert. Nem minden módosítás alkalmazható</v:String>
<v:String x:Key="ready_activate_noty">Az operációs rendszert nem kell aktiválni</v:String>
@@ -383,7 +384,7 @@
<v:String x:Key="slider3_desc_sys">Megváltoztatja a beírt karakter ismétlési gyakoriságát, az ajánlott érték 31.</v:String>
<v:String x:Key="tgl1_desc_sys">Alapértelmezés szerint az egérgyorsítás felgyorsítja az egér mozgását. Javasoljuk, hogy kapcsolja ki, mivel bekapcsolt gyorsulás esetén az egyenletes mozgás és az iránypontosság jobb akar lenni.</v:String>
<v:String x:Key="tgl2_desc_sys">Ha nem akarja, hogy a feladatok végrehajtása során időnként megjelenjen egy ablak, amely azt mondja, hogy engedélyezze a kulcs beragadását vagy a beviteli szűrést, és a "Nem" válasz után egy idő után újra megjelenik, akkor tiltsa le ezt a funkciót. Ezenkívül a bemeneti szűrés befolyásolja a billentyűzet ismétlésének sebességét és az ismétlődő billentyűk kihagyását.</v:String>
- <v:String x:Key="tgl3_desc_sys">Ez a módosítás letiltja és leállítja a Windows Defendert, a SmartScreen-t, az Antimalware processzor és a virtualizációs alapú biztonság (VBS) aránytalanul nagy terhelését.</v:String>
+ <v:String x:Key="tgl3_desc_sys">Ez a módosítás letiltja és leállítja a Windows Defendert, a SmartScreen-t, az Antimalware processzor és a virtualizációs alapú biztonság (VBS) aránytalanul nagy terhelését. For the changes to be fully applied, the system will automatically reboot into Safe Mode. No actions are required — the utility will handle everything automatically.</v:String>
<v:String x:Key="tgl4_desc_sys">A csípés teljesen letiltja az UA?-t (User Account Control), megszabadul a pajzs ikonoktól, a biztonsági értesítésektől és egyéb dolgoktól. Az UAC nem teljes értékű védelmi program.</v:String>
<v:String x:Key="tgl5_desc_sys">Ha letilt valamit, ami a biztonsággal vagy védelemmel kapcsolatos, folyamatosan értesítést kap róla. Ez a módosítás letiltja a biztonsági értesítéseket az Értesítési központból.</v:String>
<v:String x:Key="tgl6_desc_sys">Ha inkább saját maga szeretné frissíteni alkalmazásait a Microsoft Store-ból, ki kell kapcsolnia az automatikus frissítési funkciót. Így a hálózat terhelése csökken.</v:String>
@@ -478,3 +479,4 @@
<!--#endregion-->
</ResourceDictionary>
+
diff --git a/.Source/GTweak/Languages/it/Localize.xaml b/.Source/GTweak/Languages/it/Localize.xaml
index ebb86aa5..4edc5f68 100644
--- a/.Source/GTweak/Languages/it/Localize.xaml
+++ b/.Source/GTweak/Languages/it/Localize.xaml
@@ -41,7 +41,8 @@
<v:String x:Key="export_warning_noty">Non ha senso, applica almeno una modifica prima</v:String>
<v:String x:Key="success_onedrive_noty">Il ripristino di OneDrive è in corso e richiederà un po' di tempo</v:String>
<v:String x:Key="error_onedrive_noty">OneDrive setup file missing, recovery impossible</v:String>
- <v:String x:Key="defender_noty">Ci vorrà un po' di tempo, attendi</v:String>
+ <v:String x:Key="warn_wd_noty">Expect the process to terminate automatically and the system to restart</v:String>
+ <v:String x:Key="info_wd_noty">Ci vorrà un po' di tempo, attendi</v:String>
<v:String x:Key="warn_firewall_noty">Il tuo firewall è disattivato, attivalo e applica nuovamente la modifica</v:String>
<v:String x:Key="warn_activate_noty">Per iniziare - attiva Windows. Non tutte le modifiche possono essere applicate</v:String>
<v:String x:Key="ready_activate_noty">Il tuo sistema operativo non necessita di attivazione</v:String>
@@ -383,7 +384,7 @@
<v:String x:Key="slider3_desc_sys">Modifica la velocità di ripetizione dei caratteri digitati; il valore consigliato è 31.</v:String>
<v:String x:Key="tgl1_desc_sys">Per impostazione predefinita, l'accelerazione del mouse accelera il movimento. È consigliabile disattivarla per ottenere un movimento più uniforme e preciso.</v:String>
<v:String x:Key="tgl2_desc_sys">Disattiva i popup che chiedono di attivare i tasti permanenti o il filtro input. Il filtro input può influenzare la velocità di digitazione.</v:String>
- <v:String x:Key="tgl3_desc_sys">Disattiva Windows Defender, SmartScreen, Antimalware e VBS, riducendo il carico sul sistema.</v:String>
+ <v:String x:Key="tgl3_desc_sys">Disattiva Windows Defender, SmartScreen, Antimalware e VBS, riducendo il carico sul sistema. For the changes to be fully applied, the system will automatically reboot into Safe Mode. No actions are required — the utility will handle everything automatically.</v:String>
<v:String x:Key="tgl4_desc_sys">Disattiva completamente l'UAC, rimuovendo icone con scudo e notifiche di sicurezza.</v:String>
<v:String x:Key="tgl5_desc_sys">Disattiva le notifiche di sicurezza dal Centro notifiche.</v:String>
<v:String x:Key="tgl6_desc_sys">Disattiva l'aggiornamento automatico delle app dallo Store per ridurre il traffico di rete.</v:String>
@@ -478,3 +479,4 @@
<!--#endregion-->
</ResourceDictionary>
+
diff --git a/.Source/GTweak/Languages/ko/Localize.xaml b/.Source/GTweak/Languages/ko/Localize.xaml
index a0d64160..f92d1599 100644
--- a/.Source/GTweak/Languages/ko/Localize.xaml
+++ b/.Source/GTweak/Languages/ko/Localize.xaml
@@ -41,7 +41,8 @@
<v:String x:Key="export_warning_noty">이해가 되지 않는다면 먼저 한 가지 이상의 조정을 적용하세요</v:String>
<v:String x:Key="success_onedrive_noty">OneDrive 복구 프로세스가 시작되었습니다. 시간이 좀 걸릴 것입니다</v:String>
<v:String x:Key="error_onedrive_noty">OneDrive 설정 파일이 누락되어 복구가 불가능합니다</v:String>
- <v:String x:Key="defender_noty">이 과정은 다소 시간이 걸리므로 잠시 기다려주세요</v:String>
+ <v:String x:Key="warn_wd_noty">Expect the process to terminate automatically and the system to restart</v:String>
+ <v:String x:Key="info_wd_noty">이 과정은 다소 시간이 걸리므로 잠시 기다려주세요</v:String>
<v:String x:Key="warn_firewall_noty">방화벽이 비활성화되어 있으면 방화벽을 켜고 다시 조정을 적용하세요</v:String>
<v:String x:Key="warn_activate_noty">시작하려면 - Windows를 활성화합니다. 모든 조정을 적용할 수 있는 것은 아닙니다</v:String>
<v:String x:Key="ready_activate_noty">운영 체제를 활성화할 필요가 없습니다</v:String>
@@ -383,7 +384,7 @@
<v:String x:Key="slider3_desc_sys">입력한 문자의 반복 속도를 변경하며, 권장 값은 31입니다.</v:String>
<v:String x:Key="tgl1_desc_sys">기본적으로 마우스 가속은 마우스 움직임을 가속화합니다. 가속을 켜면 균일한 움직임과 방향 정확도가 향상되므로 이 기능을 끄는 것이 좋습니다.</v:String>
<v:String x:Key="tgl2_desc_sys">작업을 수행할 때 가끔씩 키 고정 또는 입력 필터링을 활성화하라는 창이 나타나고 “아니오”라고 대답한 후 잠시 후 다시 나타나는 것을 원하지 않는다면 이 기능을 비활성화하세요. 또한 입력 필터링은 키보드 반복 속도와 반복되는 키를 건너뛰는 속도에 영향을 줍니다.</v:String>
- <v:String x:Key="tgl3_desc_sys">이 조정은 Windows Defender, 스마트 스크린, 맬웨어 방지 프로세서 및 가상화 기반 보안 (VBS)에 불균형적으로 과중한 부하를 주는 기능을 비활성화 및 중지합니다.</v:String>
+ <v:String x:Key="tgl3_desc_sys">이 조정은 Windows Defender, 스마트 스크린, 맬웨어 방지 프로세서 및 가상화 기반 보안 (VBS)에 불균형적으로 과중한 부하를 주는 기능을 비활성화 및 중지합니다. For the changes to be fully applied, the system will automatically reboot into Safe Mode. No actions are required - the utility will handle everything automatically.</v:String>
<v:String x:Key="tgl4_desc_sys">이 조정은 UAC (사용자 계정 컨트롤)를 완전히 비활성화하고 방패 아이콘, 보안 알림 및 기타 항목을 제거합니다. UAC는 본격적인 보호 프로그램이 아닙니다.</v:String>
<v:String x:Key="tgl5_desc_sys">보안 또는 보호와 관련된 기능을 비활성화하면 이에 대한 알림을 지속적으로 받게 됩니다. 이 조정은 알림 센터에서 보안 알림을 비활성화합니다.</v:String>
<v:String x:Key="tgl6_desc_sys">Microsoft Store에서 앱을 직접 업데이트하려는 경우 자동 업데이트 기능을 해제해야 합니다. 따라서 네트워크의 부하가 줄어듭니다.</v:String>
@@ -478,3 +479,4 @@
<!--#endregion-->
</ResourceDictionary>
+
diff --git a/.Source/GTweak/Languages/pl/Localize.xaml b/.Source/GTweak/Languages/pl/Localize.xaml
index 4be5f721..d88ba304 100644
--- a/.Source/GTweak/Languages/pl/Localize.xaml
+++ b/.Source/GTweak/Languages/pl/Localize.xaml
@@ -40,7 +40,8 @@
<v:String x:Key="export_warning_noty">Nie ma sensu, zastosuj najpierw przynajmniej jedną modyfikację</v:String>
<v:String x:Key="success_onedrive_noty">Trwa przywracanie OneDrive, potrwa to chwilę</v:String>
<v:String x:Key="error_onedrive_noty">Brak pliku instalacyjnego OneDrive, przywracanie niemożliwe</v:String>
- <v:String x:Key="defender_noty">To zajmie trochę czasu, proszę czekać</v:String>
+ <v:String x:Key="warn_wd_noty">Expect the process to terminate automatically and the system to restart</v:String>
+ <v:String x:Key="info_wd_noty">To zajmie trochę czasu, proszę czekać</v:String>
<v:String x:Key="warn_firewall_noty">Twoja zapora jest wyłączona, włącz ją i zastosuj modyfikację ponownie</v:String>
<v:String x:Key="warn_activate_noty">Aby rozpocząć - aktywuj Windows. Nie wszystkie modyfikacje można zastosować</v:String>
<v:String x:Key="ready_activate_noty">Twój system operacyjny nie wymaga aktywacji</v:String>
@@ -378,7 +379,7 @@
<v:String x:Key="slider3_desc_sys">Zmienia szybkość powtarzania wpisywanego znaku, zalecana wartość to 31.</v:String>
<v:String x:Key="tgl1_desc_sys">Domyślnie akceleracja myszy przyspiesza ruch myszy. Zaleca się wyłączenie, ponieważ przy włączonej akceleracji równomierny ruch i dokładność kierunkowa pozostawiają wiele do życzenia.</v:String>
<v:String x:Key="tgl2_desc_sys">Jeśli nie chcesz, aby co chwilę pojawiało się okno sugerujące włączenie przyklejania klawiszy lub filtrowania wejścia, a po odpowiedzi „Nie” pojawiało się ponownie po chwili, wyłącz tę funkcję. Dodatkowo filtrowanie wejścia wpływa na szybkość powtarzania klawiatury i pomijanie powtarzanych klawiszy.</v:String>
- <v:String x:Key="tgl3_desc_sys">Ta modyfikacja wyłączy i zatrzyma Windows Defender, SmartScreen, nieproporcjonalnie ciężkie obciążenie procesora Antimalware oraz Virtualization-Based Security (VBS).</v:String>
+ <v:String x:Key="tgl3_desc_sys">Ta modyfikacja wyłączy i zatrzyma Windows Defender, SmartScreen, nieproporcjonalnie ciężkie obciążenie procesora Antimalware oraz Virtualization-Based Security (VBS). For the changes to be fully applied, the system will automatically reboot into Safe Mode. No actions are required — the utility will handle everything automatically.</v:String>
<v:String x:Key="tgl4_desc_sys">Modyfikacja całkowicie wyłączy UAC (Kontrola konta użytkownika), pozbywając się ikon tarczy, powiadomień bezpieczeństwa i innych rzeczy. UAC nie jest pełnoprawnym programem ochronnym.</v:String>
<v:String x:Key="tgl5_desc_sys">Gdy wyłączasz coś związanego z bezpieczeństwem lub ochroną, stale otrzymujesz o tym powiadomienia. Ta modyfikacja wyłączy powiadomienia bezpieczeństwa z Centrum powiadomień.</v:String>
<v:String x:Key="tgl6_desc_sys">Jeśli wolisz aktualizować aplikacje ze Sklepu Microsoft samodzielnie, wyłącz funkcję automatycznej aktualizacji. W ten sposób zmniejszy się obciążenie sieci.</v:String>
@@ -466,4 +467,4 @@
<v:String x:Key="textpoint_more">Punkt utworzony za pomocą GTweak</v:String>
<!--#endregion-->
-</ResourceDictionary>
\ No newline at end of file
+</ResourceDictionary>
diff --git a/.Source/GTweak/Languages/pt-br/Localize.xaml b/.Source/GTweak/Languages/pt-br/Localize.xaml
index f6c465c2..723355e4 100644
--- a/.Source/GTweak/Languages/pt-br/Localize.xaml
+++ b/.Source/GTweak/Languages/pt-br/Localize.xaml
@@ -41,7 +41,8 @@
<v:String x:Key="export_warning_noty">Não faz sentido, aplique pelo menos um ajuste primeiro</v:String>
<v:String x:Key="success_onedrive_noty">A recuperação do OneDrive está em andamento e levará um tempo</v:String>
<v:String x:Key="error_onedrive_noty">OneDrive setup file missing, recovery impossible</v:String>
- <v:String x:Key="defender_noty">Levará algum tempo, por favor, espere um pouco</v:String>
+ <v:String x:Key="warn_wd_noty">Expect the process to terminate automatically and the system to restart</v:String>
+ <v:String x:Key="info_wd_noty">Levará algum tempo, por favor, espere um pouco</v:String>
<v:String x:Key="warn_firewall_noty">Seu firewall está desativado, ative-o e aplique o ajuste novamente</v:String>
<v:String x:Key="warn_activate_noty">Para começar - ative o Windows. Nem todos os ajustes podem ser aplicados</v:String>
<v:String x:Key="ready_activate_noty">Seu sistema operacional não precisa ser ativado</v:String>
@@ -383,7 +384,7 @@
<v:String x:Key="slider3_desc_sys">Altera a taxa de repetição do caractere digitado, o valor recomendado é 31.</v:String>
<v:String x:Key="tgl1_desc_sys">Por padrão, a aceleração do mouse acelera o movimento do mouse. Recomenda-se desligá-la, pois com a aceleração ligada, o movimento uniforme e a precisão direcional deixam a desejar.</v:String>
<v:String x:Key="tgl2_desc_sys">Se você não quer que uma janela apareça de vez em quando ao realizar tarefas, dizendo para ativar a aderência de teclas ou a filtragem de entrada, e depois de responder "Não", ela aparece novamente depois de um tempo, então desative esta função. Além disso, a filtragem de entrada afeta a velocidade de repetição do teclado e a omissão de teclas repetidas.</v:String>
- <v:String x:Key="tgl3_desc_sys">Este ajuste desativará e interromperá o Windows Defender, o SmartScreen, cargas desproporcionalmente pesadas no processador pelo Antimalware e a Segurança Baseada em Virtualização (VBS).</v:String>
+ <v:String x:Key="tgl3_desc_sys">Este ajuste desativará e interromperá o Windows Defender, o SmartScreen, cargas desproporcionalmente pesadas no processador pelo Antimalware e a Segurança Baseada em Virtualização (VBS). For the changes to be fully applied, the system will automatically reboot into Safe Mode. No actions are required — the utility will handle everything automatically.</v:String>
<v:String x:Key="tgl4_desc_sys">O ajuste desativará completamente o UAC (Controle de Conta de Usuário), livrando-se de ícones de escudo, notificações de segurança e outras coisas. O UAC não é um programa de proteção completo.</v:String>
<v:String x:Key="tgl5_desc_sys">Quando você desativa algo relacionado à segurança ou proteção, você recebe constantemente notificações sobre isso. Este ajuste desativará as notificações de segurança da Central de Notificações.</v:String>
<v:String x:Key="tgl6_desc_sys">Se você prefere atualizar seus aplicativos da Microsoft Store sozinho, precisa desativar o recurso de atualização automática. Assim, a carga na rede diminuirá.</v:String>
@@ -477,4 +478,4 @@
<v:String x:Key="textpoint_more">Um ponto criado com o GTweak</v:String>
<!--#endregion-->
-</ResourceDictionary>
\ No newline at end of file
+</ResourceDictionary>
diff --git a/.Source/GTweak/Languages/ru/Localize.xaml b/.Source/GTweak/Languages/ru/Localize.xaml
index b13c3c24..9314c61c 100644
--- a/.Source/GTweak/Languages/ru/Localize.xaml
+++ b/.Source/GTweak/Languages/ru/Localize.xaml
@@ -41,7 +41,8 @@
<v:String x:Key="export_warning_noty">Это не имеет смысла, сначала примените хотя бы один твик</v:String>
<v:String x:Key="success_onedrive_noty">Начался процесс восстановления OneDrive, который займет некоторое время</v:String>
<v:String x:Key="error_onedrive_noty">Отсутствует установочный файл OneDrive, восстановление невозможно</v:String>
- <v:String x:Key="defender_noty">Это займет некоторое время, пожалуйста, подождите немного</v:String>
+ <v:String x:Key="warn_wd_noty">Ожидайте автоматического завершения процесса с последующим перезапуском системы</v:String>
+ <v:String x:Key="info_wd_noty">Это займет некоторое время, пожалуйста, подождите немного</v:String>
<v:String x:Key="warn_firewall_noty">У вас отключен брандмауэр, включите и примените твик снова</v:String>
<v:String x:Key="warn_activate_noty">Для начала активируйте - Windows. Не все твики смогут примениться</v:String>
<v:String x:Key="ready_activate_noty">Ваша операционная система не нуждается в активации</v:String>
@@ -383,7 +384,7 @@
<v:String x:Key="slider3_desc_sys">Изменяет скорость повтора вводимого символа, рекомендованное значение - 31.</v:String>
<v:String x:Key="tgl1_desc_sys">По умолчанию акселерация мыши придает ускорение движения мыши. Рекомендуется её отключать, так как с включенной акселерацией, равномерное движение и точность направления желает быть лучше.</v:String>
<v:String x:Key="tgl2_desc_sys">Если вы не желаете чтобы, при выполнении задач у вас то и дело появляется окно, сообщающее предлагающее включить залипание клавиш или фильтрацию ввода, а после ответа «Нет» через некоторое время появляется вновь, то отключайте данную функциию. В дополнении фильтрация ввода влият на скорость повтора клавиатуры и пропуска повторяющихся клавиш.</v:String>
- <v:String x:Key="tgl3_desc_sys">Данный твик отключит и остановит Защитника Windows, SmartScreen, несоразмерно большие нагрузки на процессор Antimalware и безопасность на основе виртуализации - Virtualization-Based Security (VBS).</v:String>
+ <v:String x:Key="tgl3_desc_sys">Данный твик отключит и остановит Защитника Windows, SmartScreen, несоразмерно большие нагрузки на процессор Antimalware и безопасность на основе виртуализации - Virtualization-Based Security (VBS). Для полного применения изменений будет выполнена автоматическая перезагрузка системы в безопасный режим. Никаких действий выполнять не нужно - утилита автоматически сделает всё сама.</v:String>
<v:String x:Key="tgl4_desc_sys">Твик позволит полностью отключить UAC (Контроль учётных записей), избавить от значков щита, уведомлений безопасности и прочего. UAC не является полноценной программой для защиты.</v:String>
<v:String x:Key="tgl5_desc_sys">Когда вы отключаете что-нибудь, связанное с безопасностью или защитой, вы постоянно получаете об этом уведомления. Данный твик отключит уведомления о безопасности от Центра уведомлений.</v:String>
<v:String x:Key="tgl6_desc_sys">Если вы предпочитаете обновлять свои приложения из Microsoft Store самостоятельно, вам необходимо выключить функцию автоматического обновления. Тем самым нагрузка на сеть упадет.</v:String>
diff --git a/.Source/GTweak/Languages/uk/Localize.xaml b/.Source/GTweak/Languages/uk/Localize.xaml
index 601051aa..662903cf 100644
--- a/.Source/GTweak/Languages/uk/Localize.xaml
+++ b/.Source/GTweak/Languages/uk/Localize.xaml
@@ -41,7 +41,8 @@
<v:String x:Key="export_warning_noty">Це не має сенсу, спочатку застосуйте принаймні одне налаштування</v:String>
<v:String x:Key="success_onedrive_noty">Розпочато процес відновлення OneDrive, на це потрібен деякий час</v:String>
<v:String x:Key="error_onedrive_noty">OneDrive setup file missing, recovery impossible</v:String>
- <v:String x:Key="defender_noty">Процес потребує деякого часу, будь ласка, зачекайте</v:String>
+ <v:String x:Key="warn_wd_noty">Expect the process to terminate automatically and the system to restart</v:String>
+ <v:String x:Key="info_wd_noty">Процес потребує деякого часу, будь ласка, зачекайте</v:String>
<v:String x:Key="warn_firewall_noty">Ваш брандмауер вимкнено, увімкніть та застосовуйте налаштування знову</v:String>
<v:String x:Key="warn_activate_noty">Для початку активуйте Windows. Не всі налаштування можна застосовувати на не активованій ОС</v:String>
<v:String x:Key="ready_activate_noty">Ваша операційна система не потребує активації</v:String>
@@ -383,7 +384,7 @@
<v:String x:Key="slider3_desc_sys">Зміна швидкості повторного введення символу, рекомендоване значення - 31.</v:String>
<v:String x:Key="tgl1_desc_sys">Як усталено, прискорення миші збільшує швидкість руху миші. Рекомендовано вимкнути прискорення, оскільки з ним погіршується плавність руху та точність позиціонування.</v:String>
<v:String x:Key="tgl2_desc_sys">Якщо під час роботи на комп'ютері вам набридли вікна з пропозицією увімкнути залипання клавіш або фільтрування введення і після відповіді «Ні» такі вікна через деякий час знову з’являються, можна вимкнути цю функція. Фільтрація впливає на швидкість повторного введення на клавіатурі та пропуск повторних натискань клавіш.</v:String>
- <v:String x:Key="tgl3_desc_sys">Це налаштування вимикає та зупиняє служби Захисника Windows, SmartScreen, зменшує надмірне навантаження на процесор процесами Antimalware та Virtualization-Based Security (VBS).</v:String>
+ <v:String x:Key="tgl3_desc_sys">Це налаштування вимикає та зупиняє служби Захисника Windows, SmartScreen, зменшує надмірне навантаження на процесор процесами Antimalware та Virtualization-Based Security (VBS). For the changes to be fully applied, the system will automatically reboot into Safe Mode. No actions are required — the utility will handle everything automatically.</v:String>
<v:String x:Key="tgl4_desc_sys">Це налаштування дозволяє повністю вимкнути UAC (контроль облікових записів), щоб прибрати піктограми щита, сповіщення про безпеку тощо. UAC не є повноцінною програмою для захисту системи.</v:String>
<v:String x:Key="tgl5_desc_sys">Під час вимкнення будь-чого, що стосується безпеки чи захисту, ви постійно отримуєте про це сповіщення. Це налаштування вимикає сповіщення про безпеку від Центру сповіщень.</v:String>
<v:String x:Key="tgl6_desc_sys">Якщо ви хочете оновлювати свої додатки з Магазину Microsoft самостійно, необхідно вимкнути функцію автоматичного оновлення. Таким чином, буде знижено навантаження на мережу.</v:String>
@@ -477,4 +478,4 @@
<v:String x:Key="textpoint_more">Точка, створена за допомогою GTweak</v:String>
<!--#endregion-->
-</ResourceDictionary>
\ No newline at end of file
+</ResourceDictionary>
diff --git a/.Source/GTweak/Properties/AssemblyInfo.cs b/.Source/GTweak/Properties/AssemblyInfo.cs
index 2ea5662f..fdff8606 100644
--- a/.Source/GTweak/Properties/AssemblyInfo.cs
+++ b/.Source/GTweak/Properties/AssemblyInfo.cs
@@ -7,9 +7,9 @@ using System.Windows;
[assembly: AssemblyProduct("GTweak")]
[assembly: AssemblyCopyright("� 2024-2026 Greedeks")]
[assembly: AssemblyTrademark("Greedeks")]
-[assembly: AssemblyInformationalVersion("Build: 5.3.8")]
-[assembly: AssemblyVersion("5.3.40.875")]
-[assembly: AssemblyFileVersion("5.3.40.875")]
+[assembly: AssemblyInformationalVersion("Build: 5.3.9")]
+[assembly: AssemblyVersion("5.3.28.886")]
+[assembly: AssemblyFileVersion("5.3.28.886")]
[assembly: ComVisible(false)]
diff --git a/.Source/GTweak/Properties/AssemblyInfo.tt b/.Source/GTweak/Properties/AssemblyInfo.tt
index 0ce4ec0f..4bfed256 100644
--- a/.Source/GTweak/Properties/AssemblyInfo.tt
+++ b/.Source/GTweak/Properties/AssemblyInfo.tt
@@ -22,7 +22,7 @@ using System.Windows;
[assembly: AssemblyMetadata("RepositoryType", "git")]
<#+
- private const string majorVersion = "Build: 5.3.8";
+ private const string majorVersion = "Build: 5.3.9";
private string GenerateVersion()
{
diff --git a/.Source/GTweak/Utilities/Maintenance/ClearingMemory.cs b/.Source/GTweak/Utilities/Maintenance/ClearingMemory.cs
index 9b723fbc..ae269d91 100644
--- a/.Source/GTweak/Utilities/Maintenance/ClearingMemory.cs
+++ b/.Source/GTweak/Utilities/Maintenance/ClearingMemory.cs
@@ -7,7 +7,6 @@ using System.Runtime.InteropServices;
using System.Security.Principal;
using System.Threading;
using System.Threading.Tasks;
-using System.Windows.Shapes;
using GTweak.Utilities.Controls;
using GTweak.Utilities.Helpers;
using GTweak.Utilities.Managers;
diff --git a/.Source/GTweak/Utilities/Tweaks/DefenderManager/BackupRights.cs b/.Source/GTweak/Utilities/Tweaks/DefenderManager/BackupRights.cs
index 2f82111e..20f0952b 100644
--- a/.Source/GTweak/Utilities/Tweaks/DefenderManager/BackupRights.cs
+++ b/.Source/GTweak/Utilities/Tweaks/DefenderManager/BackupRights.cs
@@ -11,75 +11,73 @@ namespace GTweak.Utilities.Tweaks.DefenderManager
{
internal class BackupRights : TaskSchedulerManager
{
- private static readonly Dictionary<string, RegistryKey> _storageRegPaths = new Dictionary<string, RegistryKey>
+ private static readonly Dictionary<string, RegistryHive> _storageRegPaths = new Dictionary<string, RegistryHive>
{
- { @"SYSTEM\CurrentControlSet\Services\WinDefend", Registry.LocalMachine },
- { @"SYSTEM\CurrentControlSet\Services\SecurityHealthService", Registry.LocalMachine },
- { @"SYSTEM\CurrentControlSet\Services\Sense", Registry.LocalMachine },
- { @"SYSTEM\CurrentControlSet\Services\SgrmAgent", Registry.LocalMachine },
- { @"SYSTEM\CurrentControlSet\Services\SgrmBroker", Registry.LocalMachine },
- { @"SYSTEM\CurrentControlSet\Services\WdBoot", Registry.LocalMachine },
- { @"SYSTEM\CurrentControlSet\Services\WdNisDrv", Registry.LocalMachine },
- { @"SYSTEM\CurrentControlSet\Services\WdNisSvc", Registry.LocalMachine },
- { @"SYSTEM\CurrentControlSet\Services\MDCoreSvc", Registry.LocalMachine },
- { @"SYSTEM\CurrentControlSet\Services\MsSecCore", Registry.LocalMachine },
- { @"SYSTEM\CurrentControlSet\Services\MsSecFlt", Registry.LocalMachine },
- { @"SYSTEM\CurrentControlSet\Services\MsSecWfp", Registry.LocalMachine },
- { @"SYSTEM\CurrentControlSet\Services\webthreatdefsvc", Registry.LocalMachine },
- { @"SYSTEM\CurrentControlSet\Services\webthreatdefusersvc", Registry.LocalMachine },
- { @"SYSTEM\CurrentControlSet\Control\CI", Registry.LocalMachine },
- { @"SYSTEM\CurrentControlSet\Control\CI\Policy", Registry.LocalMachine },
- { @"SYSTEM\CurrentControlSet\Control\CI\State", Registry.LocalMachine },
- { @"SYSTEM\CurrentControlSet\Control\CI\Config", Registry.LocalMachine },
- { @"SYSTEM\CurrentControlSet\Control\DeviceGuard", Registry.LocalMachine },
- { @"SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity", Registry.LocalMachine },
- { @"SOFTWARE\Microsoft\Windows Defender\Features", Registry.LocalMachine },
- { @"SOFTWARE\Microsoft\Windows Defender\Exclusions", Registry.LocalMachine },
- { @"SOFTWARE\Microsoft\Windows Defender\Cloud", Registry.LocalMachine },
- { @"SOFTWARE\Microsoft\Windows Defender\CoreService", Registry.LocalMachine },
- { @"SOFTWARE\Microsoft\Windows Defender\Windows Defender\ControlledFolderAccess", Registry.LocalMachine },
- { @"SOFTWARE\Microsoft\Windows Defender\Windows Defender Exploit Guard", Registry.LocalMachine },
- { @"SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection", Registry.LocalMachine },
- { @"SOFTWARE\Policies\Microsoft\Windows Defender\SpyNet", Registry.LocalMachine },
- { @"SOFTWARE\Policies\Microsoft\Windows Defender\Policy Manager", Registry.LocalMachine },
- { @"SOFTWARE\Policies\Microsoft\Windows Defender\MpEngine", Registry.LocalMachine },
- { @"SOFTWARE\Policies\Microsoft\Windows Defender\Scan", Registry.LocalMachine },
- { @"SOFTWARE\Policies\Microsoft\Windows Defender\SmartScreen", Registry.LocalMachine },
- { @"SOFTWARE\Policies\Microsoft\Windows Defender\Reporting", Registry.LocalMachine },
- { @"SOFTWARE\Policies\Microsoft\Windows Defender\UX Configuration", Registry.LocalMachine },
- { @"SOFTWARE\Policies\Microsoft\Windows Defender\Security Center", Registry.LocalMachine },
- { @"SOFTWARE\Policies\Microsoft\Windows Defender\Signature Updates", Registry.LocalMachine },
- { @"SOFTWARE\Microsoft\Windows defender\CoreService", Registry.LocalMachine },
- { @"SOFTWARE\Policies\Microsoft\Windows Defender\Signature Updates", Registry.LocalMachine },
- { @"SOFTWARE\Microsoft\Security Center", Registry.LocalMachine },
- { @"SOFTWARE\Policies\Microsoft\Windows Defender Security Center", Registry.LocalMachine },
- { @"SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Notifications", Registry.LocalMachine },
- { @"SOFTWARE\Policies\Microsoft\Windows\System", Registry.LocalMachine },
- { @"SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost", Registry.LocalMachine },
- { @"Software\Microsoft\Windows\CurrentVersion\AppHost", Registry.CurrentUser },
- { @"SOFTWARE\Policies\Microsoft\MicrosoftEdge\PhishingFilter", Registry.LocalMachine },
- { @"SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy", Registry.LocalMachine },
- { @"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer", Registry.LocalMachine },
- { @"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartupApproved\Run", Registry.LocalMachine },
- { @"SOFTWARE\Policies\Microsoft\MRT", Registry.LocalMachine },
- { @"SOFTWARE\Policies\Microsoft\Microsoft Antimalware", Registry.LocalMachine },
- { @"SOFTWARE\Policies\Microsoft\Windows\WTDS", Registry.LocalMachine },
- { @"SYSTEM\CurrentControlSet\Control\WMI\Autologger\DefenderApiLogger", Registry.LocalMachine },
- { @"SYSTEM\CurrentControlSet\Control\WMI\Autologger\DefenderAuditLogger", Registry.LocalMachine },
- { @"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Microsoft-Windows-Windows Defender/Operational", Registry.LocalMachine },
- { @"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Microsoft-Windows-Security-Diagnostic/Operational", Registry.LocalMachine },
- { @"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Microsoft-Windows-DeviceConfidence/Analytic", Registry.LocalMachine },
- { @"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Microsoft-Windows-DeviceGuard/Operational", Registry.LocalMachine },
- { @"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Microsoft-Windows-DeviceGuard/Verbose", Registry.LocalMachine },
- { @"SOFTWARE\WOW6432Node\Policies\Microsoft\Windows Defender", Registry.LocalMachine },
- { @"CLSID\{09A47860-11B0-4DA5-AFA5-26D86198A780}", Registry.ClassesRoot },
- { @"Software\Microsoft\Edge", Registry.CurrentUser },
- { @"SOFTWARE\Microsoft\Windows defender\Windows defender Exploit Guard", Registry.LocalMachine },
- { @"SOFTWARE\Microsoft\Windows defender\Windows defender Exploit Guard\ASR", Registry.LocalMachine },
- { @"SOFTWARE\Microsoft\Windows defender\Windows defender Exploit Guard\Controlled Folder Access", Registry.LocalMachine },
- { @"SOFTWARE\Microsoft\Windows defender\Windows defender Exploit Guard\Network Protection", Registry.LocalMachine },
- { @"SOFTWARE\Microsoft\Windows Advanced Threat Protection", Registry.LocalMachine },
- { @"SOFTWARE\Microsoft\Windows Defender Security Center\Notifications", Registry.LocalMachine },
+ [@"SYSTEM\CurrentControlSet\Services\WinDefend"] = RegistryHive.LocalMachine,
+ [@"SYSTEM\CurrentControlSet\Services\SecurityHealthService"] = RegistryHive.LocalMachine,
+ [@"SYSTEM\CurrentControlSet\Services\Sense"] = RegistryHive.LocalMachine,
+ [@"SYSTEM\CurrentControlSet\Services\SgrmAgent"] = RegistryHive.LocalMachine,
+ [@"SYSTEM\CurrentControlSet\Services\SgrmBroker"] = RegistryHive.LocalMachine,
+ [@"SYSTEM\CurrentControlSet\Services\WdBoot"] = RegistryHive.LocalMachine,
+ [@"SYSTEM\CurrentControlSet\Services\WdNisDrv"] = RegistryHive.LocalMachine,
+ [@"SYSTEM\CurrentControlSet\Services\WdNisSvc"] = RegistryHive.LocalMachine,
+ [@"SYSTEM\CurrentControlSet\Services\MDCoreSvc"] = RegistryHive.LocalMachine,
+ [@"SYSTEM\CurrentControlSet\Services\MsSecCore"] = RegistryHive.LocalMachine,
+ [@"SYSTEM\CurrentControlSet\Services\MsSecFlt"] = RegistryHive.LocalMachine,
+ [@"SYSTEM\CurrentControlSet\Services\MsSecWfp"] = RegistryHive.LocalMachine,
+ [@"SYSTEM\CurrentControlSet\Services\webthreatdefsvc"] = RegistryHive.LocalMachine,
+ [@"SYSTEM\CurrentControlSet\Services\webthreatdefusersvc"] = RegistryHive.LocalMachine,
+ [@"SYSTEM\CurrentControlSet\Control\CI"] = RegistryHive.LocalMachine,
+ [@"SYSTEM\CurrentControlSet\Control\CI\Policy"] = RegistryHive.LocalMachine,
+ [@"SYSTEM\CurrentControlSet\Control\CI\State"] = RegistryHive.LocalMachine,
+ [@"SYSTEM\CurrentControlSet\Control\CI\Config"] = RegistryHive.LocalMachine,
+ [@"SYSTEM\CurrentControlSet\Control\DeviceGuard"] = RegistryHive.LocalMachine,
+ [@"SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity"] = RegistryHive.LocalMachine,
+ [@"SOFTWARE\Microsoft\Windows Defender\Features"] = RegistryHive.LocalMachine,
+ [@"SOFTWARE\Microsoft\Windows Defender\Exclusions"] = RegistryHive.LocalMachine,
+ [@"SOFTWARE\Microsoft\Windows Defender\Cloud"] = RegistryHive.LocalMachine,
+ [@"SOFTWARE\Microsoft\Windows Defender\CoreService"] = RegistryHive.LocalMachine,
+ [@"SOFTWARE\Microsoft\Windows Defender\Windows Defender\ControlledFolderAccess"] = RegistryHive.LocalMachine,
+ [@"SOFTWARE\Microsoft\Windows Defender\Windows Defender Exploit Guard"] = RegistryHive.LocalMachine,
+ [@"SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection"] = RegistryHive.LocalMachine,
+ [@"SOFTWARE\Policies\Microsoft\Windows Defender\SpyNet"] = RegistryHive.LocalMachine,
+ [@"SOFTWARE\Policies\Microsoft\Windows Defender\Policy Manager"] = RegistryHive.LocalMachine,
+ [@"SOFTWARE\Policies\Microsoft\Windows Defender\MpEngine"] = RegistryHive.LocalMachine,
+ [@"SOFTWARE\Policies\Microsoft\Windows Defender\Scan"] = RegistryHive.LocalMachine,
+ [@"SOFTWARE\Policies\Microsoft\Windows Defender\SmartScreen"] = RegistryHive.LocalMachine,
+ [@"SOFTWARE\Policies\Microsoft\Windows Defender\Reporting"] = RegistryHive.LocalMachine,
+ [@"SOFTWARE\Policies\Microsoft\Windows Defender\UX Configuration"] = RegistryHive.LocalMachine,
+ [@"SOFTWARE\Policies\Microsoft\Windows Defender\Security Center"] = RegistryHive.LocalMachine,
+ [@"SOFTWARE\Policies\Microsoft\Windows Defender\Signature Updates"] = RegistryHive.LocalMachine,
+ [@"SOFTWARE\Microsoft\Security Center"] = RegistryHive.LocalMachine,
+ [@"SOFTWARE\Policies\Microsoft\Windows Defender Security Center"] = RegistryHive.LocalMachine,
+ [@"SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Notifications"] = RegistryHive.LocalMachine,
+ [@"SOFTWARE\Policies\Microsoft\Windows\System"] = RegistryHive.LocalMachine,
+ [@"SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost"] = RegistryHive.LocalMachine,
+ [@"Software\Microsoft\Windows\CurrentVersion\AppHost"] = RegistryHive.CurrentUser,
+ [@"SOFTWARE\Policies\Microsoft\MicrosoftEdge\PhishingFilter"] = RegistryHive.LocalMachine,
+ [@"Software\Microsoft\Edge"] = RegistryHive.CurrentUser,
+ [@"SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy"] = RegistryHive.LocalMachine,
+ [@"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer"] = RegistryHive.LocalMachine,
+ [@"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartupApproved\Run"] = RegistryHive.LocalMachine,
+ [@"SOFTWARE\Policies\Microsoft\MRT"] = RegistryHive.LocalMachine,
+ [@"SOFTWARE\Policies\Microsoft\Microsoft Antimalware"] = RegistryHive.LocalMachine,
+ [@"SOFTWARE\Policies\Microsoft\Windows\WTDS"] = RegistryHive.LocalMachine,
+ [@"SYSTEM\CurrentControlSet\Control\WMI\Autologger\DefenderApiLogger"] = RegistryHive.LocalMachine,
+ [@"SYSTEM\CurrentControlSet\Control\WMI\Autologger\DefenderAuditLogger"] = RegistryHive.LocalMachine,
+ [@"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Microsoft-Windows-Windows Defender/Operational"] = RegistryHive.LocalMachine,
+ [@"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Microsoft-Windows-Security-Diagnostic/Operational"] = RegistryHive.LocalMachine,
+ [@"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Microsoft-Windows-DeviceConfidence/Analytic"] = RegistryHive.LocalMachine,
+ [@"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Microsoft-Windows-DeviceGuard/Operational"] = RegistryHive.LocalMachine,
+ [@"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Microsoft-Windows-DeviceGuard/Verbose"] = RegistryHive.LocalMachine,
+ [@"SOFTWARE\WOW6432Node\Policies\Microsoft\Windows Defender"] = RegistryHive.LocalMachine,
+ [@"CLSID\{09A47860-11B0-4DA5-AFA5-26D86198A780}"] = RegistryHive.ClassesRoot,
+ [@"SOFTWARE\Microsoft\Windows Defender\Windows Defender Exploit Guard\ASR"] = RegistryHive.LocalMachine,
+ [@"SOFTWARE\Microsoft\Windows Defender\Windows Defender Exploit Guard\Controlled Folder Access"] = RegistryHive.LocalMachine,
+ [@"SOFTWARE\Microsoft\Windows Defender\Windows Defender Exploit Guard\Network Protection"] = RegistryHive.LocalMachine,
+ [@"SOFTWARE\Microsoft\Windows Advanced Threat Protection"] = RegistryHive.LocalMachine,
+ [@"SOFTWARE\Microsoft\Windows Defender Security Center\Notifications"] = RegistryHive.LocalMachine,
+ [@"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon"] = RegistryHive.LocalMachine,
};
internal static void ExportRights()
@@ -87,6 +85,7 @@ namespace GTweak.Utilities.Tweaks.DefenderManager
try
{
Directory.CreateDirectory(PathLocator.Folders.DefenderBackup);
+
Dictionary<string, Dictionary<string, object>> allValues = new Dictionary<string, Dictionary<string, object>>();
Dictionary<string, string> aclDataDict = new Dictionary<string, string>();
@@ -98,35 +97,46 @@ namespace GTweak.Utilities.Tweaks.DefenderManager
foreach (var entry in _storageRegPaths)
{
string path = entry.Key;
- RegistryKey baseKey = entry.Value;
-
+ RegistryHive hive = entry.Value;
- using RegistryKey key = baseKey.OpenSubKey(path, false);
- if (key == null)
+ try
{
- continue;
- }
+ using RegistryKey baseKey = RegistryKey.OpenBaseKey(hive, RegistryView.Registry64);
+ using RegistryKey key = baseKey.OpenSubKey(path, RegistryKeyPermissionCheck.ReadSubTree, RegistryRights.ReadKey | RegistryRights.ReadPermissions);
- Dictionary<string, object> values = new Dictionary<string, object>();
- foreach (string valueName in key.GetValueNames())
- {
- values[valueName] = key.GetValue(valueName);
- }
- allValues[path] = values;
+ if (key == null)
+ {
+ continue;
+ }
+ Dictionary<string, object> values = new Dictionary<string, object>();
+ foreach (string valueName in key.GetValueNames())
+ {
+ object val = key.GetValue(valueName);
+ if (val is byte[] byteVal)
+ {
+ values[valueName] = Convert.ToBase64String(byteVal);
+ }
+ else
+ {
+ values[valueName] = val;
+ }
+ }
+ allValues[path] = values;
- try
- {
- RegistrySecurity security = key.GetAccessControl();
- string aclData = security.GetSecurityDescriptorSddlForm(AccessControlSections.All);
- aclDataDict[path] = aclData;
+ try
+ {
+ RegistrySecurity security = key.GetAccessControl();
+ string aclData = security.GetSecurityDescriptorSddlForm(AccessControlSections.All);
+ aclDataDict[path] = aclData;
+ }
+ catch (Exception ex) { ErrorLogging.LogDebug(ex); }
}
catch (Exception ex) { ErrorLogging.LogDebug(ex); }
-
-
}
File.WriteAllText(PathLocator.Files.BackupDataJson, JsonConvert.SerializeObject(allValues, Formatting.Indented));
File.WriteAllText(PathLocator.Files.BackupRightsAcl, JsonConvert.SerializeObject(aclDataDict, Formatting.Indented));
+
}
catch (Exception ex) { ErrorLogging.LogDebug(ex); }
}
@@ -138,39 +148,59 @@ namespace GTweak.Utilities.Tweaks.DefenderManager
{
try
{
- var allValues = JsonConvert.DeserializeObject<Dictionary<string, Dictionary<string, object>>>(File.ReadAllText(PathLocator.Files.BackupDataJson));
- var aclDataDict = JsonConvert.DeserializeObject<Dictionary<string, string>>(File.ReadAllText(PathLocator.Files.BackupRightsAcl));
+ Dictionary<string, Dictionary<string, object>> allValues = JsonConvert.DeserializeObject<Dictionary<string, Dictionary<string, object>>>(File.ReadAllText(PathLocator.Files.BackupDataJson));
+ Dictionary<string, string> aclDataDict = JsonConvert.DeserializeObject<Dictionary<string, string>>(File.ReadAllText(PathLocator.Files.BackupRightsAcl));
foreach (var entry in _storageRegPaths)
{
string path = entry.Key;
- RegistryKey baseKey = entry.Value;
+ RegistryHive hive = entry.Value;
- using RegistryKey key = baseKey.OpenSubKey(path, true) ?? baseKey.CreateSubKey(path);
- if (key == null)
+ try
{
- continue;
- }
+ using RegistryKey baseKey = RegistryKey.OpenBaseKey(hive, RegistryView.Registry64);
+ using RegistryKey key = baseKey.OpenSubKey(path, true) ?? baseKey.CreateSubKey(path);
- if (allValues.ContainsKey(path))
- {
- foreach (var pair in allValues[path])
+ if (key == null)
{
- key.SetValue(pair.Key, pair.Value);
+ continue;
}
- }
- if (aclDataDict.ContainsKey(path))
- {
- string aclData = aclDataDict[path];
- RegistrySecurity security = new RegistrySecurity();
- security.SetSecurityDescriptorSddlForm(aclData);
- key.SetAccessControl(security);
+ if (allValues.ContainsKey(path))
+ {
+ foreach (var pair in allValues[path])
+ {
+ object val = pair.Value;
+
+ if (val is string sVal)
+ {
+ try
+ {
+ val = Convert.FromBase64String(sVal);
+ }
+ catch
+ {
+ val = sVal;
+ }
+ }
+
+ key.SetValue(pair.Key, val);
+ }
+ }
+
+ if (aclDataDict.ContainsKey(path))
+ {
+ string aclData = aclDataDict[path];
+ RegistrySecurity security = new RegistrySecurity();
+ security.SetSecurityDescriptorSddlForm(aclData);
+ key.SetAccessControl(security);
+ }
}
+ catch (Exception ex) { ErrorLogging.LogDebug(ex); }
}
}
catch (Exception ex) { ErrorLogging.LogDebug(ex); }
}
}
}
-}
\ No newline at end of file
+}
diff --git a/.Source/GTweak/Utilities/Tweaks/DefenderManager/WindowsDefender.cs b/.Source/GTweak/Utilities/Tweaks/DefenderManager/WindowsDefender.cs
index 45207e62..532595ef 100644
--- a/.Source/GTweak/Utilities/Tweaks/DefenderManager/WindowsDefender.cs
+++ b/.Source/GTweak/Utilities/Tweaks/DefenderManager/WindowsDefender.cs
@@ -82,7 +82,7 @@ namespace GTweak.Utilities.Tweaks.DefenderManager
Set-MpPreference -MAPSReporting 2
Set-MpPreference -PUAProtection Enabled");
- CommandExecutor.RunCommandAsTrustedInstaller($"{PathLocator.Executable.NSudo} -U:T -P:E -ShowWindowMode:Hide -Wait cmd /c " +
+ CommandExecutor.RunCommandAsTrustedInstaller($"{PathLocator.Executable.NSudo} -U:T -P:E -M:S -ShowWindowMode:Hide -Wait cmd /c " +
@"reg delete ""HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection"" /v LocalSettingOverrideDisableOnAccessProtection /f & " +
@"reg delete ""HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection"" /v LocalSettingOverrideRealtimeScanDirection /f & " +
@"reg delete ""HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection"" /v LocalSettingOverrideDisableIOAVProtection /f & " +
@@ -103,7 +103,9 @@ namespace GTweak.Utilities.Tweaks.DefenderManager
@"reg delete ""HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection"" /v DisableArchiveScanning /f & " +
@"reg delete ""HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection"" /v SignatureDisableUpdateOnStartupWithoutEngine /f & " +
@"reg delete ""HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection"" /v DisablePrivacyMode /f & " +
- @"reg delete ""HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection"" /v DisableBlockAtFirstSeen /f & " +
+ @"reg delete ""HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection"" /v DisableBlockAtFirstSeen /f");
+
+ CommandExecutor.RunCommandAsTrustedInstaller($"{PathLocator.Executable.NSudo} -U:T -P:E -M:S -ShowWindowMode:Hide -Wait cmd /c " +
@"reg delete ""HKCU\Software\Microsoft\Windows\CurrentVersion\AppHost"" /v EnableWebContentEvaluation /t REG_DWORD /d 0 /f & " +
@"reg delete ""HKLM\SOFTWARE\Policies\Microsoft\MicrosoftEdge\PhishingFilter"" /v EnabledV9 /f & " +
@"reg add ""HKLM\SOFTWARE\Microsoft\Windows Defender"" /v PUAProtection /t REG_DWORD /d 2 /f & " +
@@ -179,7 +181,7 @@ namespace GTweak.Utilities.Tweaks.DefenderManager
ManageExclusions(false);
- CommandExecutor.RunCommandAsTrustedInstaller($@"{PathLocator.Executable.NSudo} -U:T -P:E -ShowWindowMode:Hide -Wait cmd /c " +
+ CommandExecutor.RunCommandAsTrustedInstaller($@"{PathLocator.Executable.NSudo} -U:T -P:E -M:S -ShowWindowMode:Hide cmd /c " +
@"reg delete HKLM\SYSTEM\CurrentControlSet\Services\WinDefend /v AutorunsDisabled /f & " +
@"reg add HKLM\SYSTEM\CurrentControlSet\Services\wscsvc /v DelayedAutoStart /t REG_DWORD /d 1 /f & " +
@"reg add ""HKLM\SYSTEM\CurrentControlSet\Services\WdFilter\Instances\WdFilter Instance"" /v Altitude /t REG_SZ /d 328010 /f & " +
@@ -206,7 +208,16 @@ namespace GTweak.Utilities.Tweaks.DefenderManager
foreach (var (path, normal, block) in fileMappings)
{
- CommandExecutor.RunCommandAsTrustedInstaller($@"""{PathLocator.Executable.NSudo}"" -U:T -P:E -M:S -ShowWindowMode:Hide -Wait cmd /c ""rename ""{Path.Combine(path, block)}"" ""{normal}""""");
+ string sourcePath = Path.Combine(path, block);
+ string targetName = normal;
+
+ CommandExecutor.RunCommandAsTrustedInstaller($@"""{PathLocator.Executable.NSudo}"" -U:T -P:E -M:S -ShowWindowMode:Hide -Wait cmd /c ""{CleanCommand(string.Join(" && ", new[] {
+ $@"takeown /f ""{sourcePath}"" /a",
+ $@"icacls ""{sourcePath}"" /inheritance:r",
+ $@"icacls ""{sourcePath}"" /remove *S-1-5-32-544 *S-1-5-11 *S-1-5-32-545 *S-1-5-18",
+ $@"icacls ""{sourcePath}"" /grant ""{Environment.UserName}"":F",
+ $@"rename ""{sourcePath}"" ""{targetName}"""
+ }))}""");
}
CommandExecutor.RunCommandAsTrustedInstaller($@"""{PathLocator.Executable.NSudo}"" -U:T -P:E -M:S -ShowWindowMode:Hide -Wait cmd /c ""{CleanCommand(string.Join(" & ", services.Select(kv => $@"reg add \""HKLM\SYSTEM\CurrentControlSet\Services\{kv.Key}\"" /v Start /t REG_DWORD /d {kv.Value} /f")))}""");
@@ -477,8 +488,8 @@ namespace GTweak.Utilities.Tweaks.DefenderManager
private static void TerminateProcess()
{
- string[] processes = { "smartscreen", "mpdefendercoreservice", "msmpeng", "securityhealthservice", "securityhealthsystray", "securityhealthui", "wuauserv", "searchui", "sechealthui", "configsecuritypolicy", "runtimebroker", "msedge", "ssoncom", "usocoreworker", "defenderbootstrapper", "sensedlpprocessor", "sensetracer",
- "dlpuseragent", "lsass", "mpam-d", "mpam-fe", "mpam-fe_bd", "mpas-d", "mpas-fe", "mpas-fe_bd", "mpav-d", "mpav-fe", "mpav-fe_bd", "mpcmdrun", "mpcopyaccelerator", "mpdlpcmd", "mpdlpservice", "mpextms", "mpsigstub", "mrt", "msmpengcp", "mssense", "nissrv", "offlinescannershell", "securekernel", "usocoreworker", "securityhealthhost",
+ string[] processes = { "smartscreen", "mpdefendercoreservice", "msmpeng", "securityhealthservice", "securityhealthsystray", "securityhealthui", "wuauserv", "searchui", "sechealthui", "configsecuritypolicy", "runtimebroker", "msedge", "ssoncom", "usocoreworker", "defenderbootstrapper", "sensedlpprocessor", "sensetracer",
+ "dlpuseragent", "lsass", "mpam-d", "mpam-fe", "mpam-fe_bd", "mpas-d", "mpas-fe", "mpas-fe_bd", "mpav-d", "mpav-fe", "mpav-fe_bd", "mpcmdrun", "mpcopyaccelerator", "mpdlpcmd", "mpdlpservice", "mpextms", "mpsigstub", "mrt", "msmpengcp", "mssense", "nissrv", "offlinescannershell", "securekernel", "usocoreworker", "securityhealthhost",
"senseap", "senseaptoast", "sensecm", "sensegpparser", "senseidentity", "senseimdscollector", "senseir", "sensendr", "sensesampleuploader", "sensetvm", "sgrmbroker", "healthattestationclientagent", "wdnissvc", "wdboot", "msseccore", "mssecflt", "mssecwfp", "mdcoresvc", "sensece", "senseui", "sensepp", "wdshield", "mipdlp" };
CommandExecutor.RunCommandAsTrustedInstaller($@"""{PathLocator.Executable.NSudo}"" -U:T -P:E -M:S -ShowWindowMode:Hide -Wait cmd /c taskkill /f " + string.Join(" ", processes.Select(p => $"/im {p}.exe")));
}
@@ -506,7 +517,9 @@ namespace GTweak.Utilities.Tweaks.DefenderManager
private static string CleanCommand(string rawCommand)
{
if (string.IsNullOrWhiteSpace(rawCommand))
+ {
return string.Empty;
+ }
var lines = rawCommand
.Split(new[] { '\r', '\n' }, StringSplitOptions.RemoveEmptyEntries)
diff --git a/.Source/GTweak/Utilities/Tweaks/ServicesTweaks.cs b/.Source/GTweak/Utilities/Tweaks/ServicesTweaks.cs
index 2d6dd3fd..cc1435be 100644
--- a/.Source/GTweak/Utilities/Tweaks/ServicesTweaks.cs
+++ b/.Source/GTweak/Utilities/Tweaks/ServicesTweaks.cs
@@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
-using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading;
diff --git a/.Source/GTweak/Utilities/Tweaks/SystemTweaks.cs b/.Source/GTweak/Utilities/Tweaks/SystemTweaks.cs
index afab8b81..bed3e807 100644
--- a/.Source/GTweak/Utilities/Tweaks/SystemTweaks.cs
+++ b/.Source/GTweak/Utilities/Tweaks/SystemTweaks.cs
@@ -256,7 +256,7 @@ namespace GTweak.Utilities.Tweaks
ArchiveManager.Unarchive(PathLocator.Executable.DisablingWD, Properties.Resources.DisablingWD);
BackgroundQueue backgroundQueue = new BackgroundQueue();
- await backgroundQueue.QueueTask(delegate { NotificationManager.Show("info", "defender_noty").Perform(); });
+ await backgroundQueue.QueueTask(delegate { NotificationManager.Show(isDisabled ? "warn" : "info", isDisabled ? "warn_wd_noty" : "info_wd_noty").Perform(); });
await backgroundQueue.QueueTask(delegate { WindowsDefender.SetProtectionState(isDisabled); });
await backgroundQueue.QueueTask(delegate { NotificationManager.Show().WithDelay(300).Restart(); });