Skip to content

Portable Tool for an Ideal Windows Setup

-correction & full recovery of data diagnostics services

Greedeks78df219d78f6
diff --git a/.Source/GTweak/Languages/en/Localize.xaml b/.Source/GTweak/Languages/en/Localize.xaml
index 2d3ca9d9..93456fc0 100644
--- a/.Source/GTweak/Languages/en/Localize.xaml
+++ b/.Source/GTweak/Languages/en/Localize.xaml
@@ -151,7 +151,7 @@
<v:String x:Key="TglButton12_description_confidentiality">Microsoft Windows can recognize voice with a special speech recognition and speech synthesis module. Even if you don't use Cortana or Windows Accessibility Features, your operating system is always checking for updates to its voice recognition engine by default.</v:String>
<v:String x:Key="TglButton13_description_confidentiality">A function that has access to any user data. It exchanges some information with Microsoft servers and does not affect the operation of the operating system or applications in any way. It does not help the user in any way, which makes it useless.</v:String>
<v:String x:Key="TglButton14_description_confidentiality">Microsoft regularly conducts experiments with Windows users to determine whether a feature is widely used, whether changing a feature makes it more useful. But in turn, this is a violation of confidentiality.</v:String>
- <v:String x:Key="TglButton15_description_confidentiality">Two services Diag Truck and dmwappushservice are keyloggers. It turns out that they collect literally all user actions, including what the user types from the keyboard and meticulously transferring to Microsoft servers without the user's own request.</v:String>
+ <v:String x:Key="TglButton15_description_confidentiality">Two services DiagTruck and dmwappushservice are keyloggers. It turns out that they collect literally all user actions, including what the user types from the keyboard and meticulously transferring to Microsoft servers without the user's own request.</v:String>
<v:String x:Key="TglButton16_description_confidentiality">An event log that collects and processes system diagnostic information, wasting your computer's resources. The service will not give you anything good, it is better to disable it, so you will prevent the sending of confidential information.</v:String>
<v:String x:Key="TglButton17_description_confidentiality">The service that is responsible for collecting and transmitting data about the system and its use, or a function that is not related to the operation of the video driver, is useless. Why and what kind of information NVIDIA collects is known only to itself. But the fact that this does not bring anything useful to the end user is quite obvious.</v:String>
<v:String x:Key="TglButton18_description_confidentiality">User activity tracking tools know no limit. Windows has another service – UAR, designed to perform step-by-step logging of your actions on the computer, including: taking screenshots, typing, running programs, accessing a webcam on a locked screen and much more.</v:String>
diff --git a/.Source/GTweak/Languages/ko/Localize.xaml b/.Source/GTweak/Languages/ko/Localize.xaml
index 1beb3212..0a696b5d 100644
--- a/.Source/GTweak/Languages/ko/Localize.xaml
+++ b/.Source/GTweak/Languages/ko/Localize.xaml
@@ -151,7 +151,7 @@
<v:String x:Key="TglButton12_description_confidentiality">Microsoft Windows는 특수 음성 인식 및 음성 합성 모듈로 음성을 인식할 수 있습니다. Cortana 또는 Windows 접근성 기능을 사용하지 않더라도 운영 체제는 기본적으로 음성 인식 엔진의 업데이트를 항상 확인합니다.</v:String>
<v:String x:Key="TglButton13_description_confidentiality">모든 사용자 데이터에 액세스할 수 있는 기능입니다. Microsoft 서버와 일부 정보를 교환하며 운영 체제 또는 애플리케이션의 작동에 어떤 영향도 미치지 않습니다. 어떤 식으로든 사용자에게 도움이 되지 않으므로 쓸모가 없습니다.</v:String>
<v:String x:Key="TglButton14_description_confidentiality">Microsoft는 Windows 사용자를 대상으로 정기적으로 실험을 수행하여 기능이 널리 사용되는지, 기능을 변경하면 더 유용해지는지 여부를 확인합니다. 하지만 이는 기밀을 침해하는 행위입니다.</v:String>
- <v:String x:Key="TglButton15_description_confidentiality">두 가지 서비스 Diag Truck과 dmwappushservice는 키로거입니다. 사용자가 키보드에서 입력하는 내용을 포함하여 말 그대로 모든 사용자 작업을 수집하고 사용자 자신의 요청 없이 Microsoft 서버로 꼼꼼하게 전송하는 것으로 밝혀졌습니다.</v:String>
+ <v:String x:Key="TglButton15_description_confidentiality">두 가지 서비스 DiagTruck과 dmwappushservice는 키로거입니다. 사용자가 키보드에서 입력하는 내용을 포함하여 말 그대로 모든 사용자 작업을 수집하고 사용자 자신의 요청 없이 Microsoft 서버로 꼼꼼하게 전송하는 것으로 밝혀졌습니다.</v:String>
<v:String x:Key="TglButton16_description_confidentiality">시스템 진단 정보를 수집하고 처리하여 컴퓨터의 리소스를 낭비하는 이벤트 로그입니다. 이 서비스는 좋은 것을 제공하지 않으므로 비활성화하는 것이 좋으므로 기밀 정보 전송을 방지할 수 있습니다.</v:String>
<v:String x:Key="TglButton17_description_confidentiality">시스템 및 사용에 대한 데이터 수집 및 전송을 담당하는 서비스 또는 비디오 드라이버의 작동과 관련이 없는 기능은 쓸모가 없습니다. NVIDIA가 수집하는 이유와 정보의 종류는 자체적으로만 알려져 있습니다. 그러나 이것이 최종 사용자에게 유용한 것이 없다는 사실은 분명합니다.</v:String>
<v:String x:Key="TglButton18_description_confidentiality">사용자 활동 추적 도구에는 한계가 없습니다. Windows에는 스크린샷 찍기, 타이핑, 프로그램 실행, 잠긴 화면에서 웹캠 액세스 등 컴퓨터에서 수행하는 작업을 단계별로 기록하도록 설계된 또 다른 서비스인 UAR이 있습니다.</v:String>
diff --git a/.Source/GTweak/Languages/ru/Localize.xaml b/.Source/GTweak/Languages/ru/Localize.xaml
index 144fbb78..7413995b 100644
--- a/.Source/GTweak/Languages/ru/Localize.xaml
+++ b/.Source/GTweak/Languages/ru/Localize.xaml
@@ -151,7 +151,7 @@
<v:String x:Key="TglButton12_description_confidentiality">Microsoft Windows умеет распознавать голос специальным модулем распознавания речи и синтеза речи. Даже если вы не используете Cortana или «Специальные возможности» Windows, ваша операционная система по умолчанию всегда занимается проверкой обновления своего движка распознавания голоса.</v:String>
<v:String x:Key="TglButton13_description_confidentiality">Функция которая имеет доступ к любым пользовательским данным. Она обменивается какой-то информацией с серверами Microsoft и никак не влияет на работу операционной системы, приложений. Никак не помогает пользователю, что делает её бесполезной.</v:String>
<v:String x:Key="TglButton14_description_confidentiality">Microsoft регулярно проводит эксперименты с пользователями Windows, чтобы определить, является ли функция широко используемой, делает ли изменение функции более полезной. Но в свою очередь это нарушение конфиденциальности.</v:String>
- <v:String x:Key="TglButton15_description_confidentiality">Две службы Diag Truck и dmwappushservice - кейлоггеры. Оказывается они собирают буквально все действия пользователя, включая то что пользователь набирает с клавиатуры и скурпулезно передавая на сервера Microsoft без спроса самого пользователя.</v:String>
+ <v:String x:Key="TglButton15_description_confidentiality">Две службы DiagTruck и dmwappushservice - кейлоггеры. Оказывается они собирают буквально все действия пользователя, включая то что пользователь набирает с клавиатуры и скурпулезно передавая на сервера Microsoft без спроса самого пользователя.</v:String>
<v:String x:Key="TglButton16_description_confidentiality">Журнал событий, который собирает и обрабатывает диагностическую информацию системы, расходуя впустую ресурсы вашего компьютера. Служба не даст вам ничего хорошего, лучше её отключить, так вы предотвратите отправку конфиденциальной информации.</v:String>
<v:String x:Key="TglButton17_description_confidentiality">Служба которая отвечает за сбор и передачу данных о системе и её использованию или же функция не относящиеся к работе видеодрайвера бесполезна. Зачем и какая именно информация собирается NVIDIA, известно только ей самой. Но то, что это не несёт ничего полезного для конечного пользователя, совершенно очевидно.</v:String>
<v:String x:Key="TglButton18_description_confidentiality">Инструменты отслеживания действий пользователя не знают предела. Windows имеет ещё один сервис – UAR, призванный выполнять пошаговое протоколирование ваших действий за компьютером, среди которых: снятие скриншотов, набор текста, запуск программ, доступ к веб-камере на заблокированном экране и многое другое.</v:String>
diff --git a/.Source/GTweak/Languages/uk/Localize.xaml b/.Source/GTweak/Languages/uk/Localize.xaml
index 2ec0b97b..1005acda 100644
--- a/.Source/GTweak/Languages/uk/Localize.xaml
+++ b/.Source/GTweak/Languages/uk/Localize.xaml
@@ -151,7 +151,7 @@
<v:String x:Key="TglButton12_description_confidentiality">Windows вміє розпізнавати голос за допомогою спеціального модуля розпізнавання мовлення та синтезу мовлення. Навіть якщо ви не використовуєте «Cortana» або «Спеціальні можливості» Windows, як усталено ваша операційна система завжди перевіряє оновлення для свого механізму розпізнавання мовлення.</v:String>
<v:String x:Key="TglButton13_description_confidentiality">Функція з доступом до будь-яких даних користувачів. Обмінюється якоюсь інформацію з серверами Microsoft і жодним чином не впливає на роботу операційної системи, додатків та не допомагає користувачеві, що робить її марною.</v:String>
<v:String x:Key="TglButton14_description_confidentiality">Microsoft регулярно проводить експерименти за допомогою користувачів Windows, щоб визначити частоту використання та корисність тієї чи іншої функції. Це можна вважати порушенням конфіденційності.</v:String>
- <v:String x:Key="TglButton15_description_confidentiality">Дві служби, Diag Truck та DmwappushService, є кейлогерами. Вони збирають практично всі дані про дії користувача, включно із всім, що набиралося на клавіатурі, і передає їх на сервери Microsoft без сповіщення та дозволу на це користувача.</v:String>
+ <v:String x:Key="TglButton15_description_confidentiality">Дві служби, DiagTruck та DmwappushService, є кейлогерами. Вони збирають практично всі дані про дії користувача, включно із всім, що набиралося на клавіатурі, і передає їх на сервери Microsoft без сповіщення та дозволу на це користувача.</v:String>
<v:String x:Key="TglButton16_description_confidentiality">Журнал подій, який збирає та обробляє діагностичну інформацію системи, марно споживає комп'ютерні ресурси. Ця служба фактично нічого корисного для користувача не робить. Можна вимкнути, щоб запобігти надсиланню конфіденційної інформації.</v:String>
<v:String x:Key="TglButton17_description_confidentiality">Служба для збору та передачі даних про систему та її використання. Марна і не пов'язана з роботою відео дайвера. Чому і яка інформація збирається, знає лише NVIDIA. Факт, що служба нічого корисного для кінцевого користувача не робить, абсолютно очевидний.</v:String>
<v:String x:Key="TglButton18_description_confidentiality">Windows містить багато засобів для відстеження дій користувача. Службу UAR призначено для детальної реєстрації ваших дій на комп’ютері, таких як створення скриншотів, набір тексту, запуск програми, доступ до вебкамери на заблокованому екрані тощо.</v:String>
diff --git a/.Source/GTweak/Utilities/Tweaks/ConfidentialityTweaks.cs b/.Source/GTweak/Utilities/Tweaks/ConfidentialityTweaks.cs
index 6ffe0770..b24f48c8 100644
--- a/.Source/GTweak/Utilities/Tweaks/ConfidentialityTweaks.cs
+++ b/.Source/GTweak/Utilities/Tweaks/ConfidentialityTweaks.cs
@@ -74,7 +74,8 @@ namespace GTweak.Utilities.Tweaks
confidentialityV.TglButton15.StateNA =
RegistryHelp.KeyExists(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\DiagTrack") ||
- RegistryHelp.KeyExists(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\dmwappushservice");
+ RegistryHelp.KeyExists(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\dmwappushservice") ||
+ RegistryHelp.KeyExists(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\diagsvc");
confidentialityV.TglButton16.StateNA =
RegistryHelp.CheckValue(@"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\diagnosticshub.standardcollector.service", "Start", "4");
@@ -255,11 +256,72 @@ namespace GTweak.Utilities.Tweaks
{
RegistryHelp.DeleteFolderTree(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\DiagTrack");
RegistryHelp.DeleteFolderTree(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\dmwappushservice");
+ RegistryHelp.DeleteFolderTree(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\diagsvc");
}
else
{
- RegistryHelp.CreateFolder(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\DiagTrack");
- RegistryHelp.CreateFolder(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\dmwappushservice");
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\DiagTrack", "DependOnService", new string[] { "RpcSs" }, RegistryValueKind.MultiString);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\DiagTrack", "Description", @"@%SystemRoot%\system32\diagtrack.dll,-3002", RegistryValueKind.String);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\DiagTrack", "DisplayName", @"@%SystemRoot%\system32\diagtrack.dll,-3001", RegistryValueKind.String);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\DiagTrack", "ErrorControl", 1, RegistryValueKind.DWord);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\DiagTrack", "FailureActions", Array.ConvertAll("80,51,01,00,00,00,00,00,00,00,00,00,03,00,00,00,14,00,00,00,01,00,00,00,30,75,00,00,01,00,00,00,30,75,00,00,00,00,00,00,00,00,00,00".Split(','), s => Convert.ToByte(s, 16)), RegistryValueKind.Binary);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\DiagTrack", "ImagePath", @"%SystemRoot%\System32\svchost.exe -k utcsvc -p", RegistryValueKind.ExpandString);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\DiagTrack", "ObjectName", "LocalSystem", RegistryValueKind.String);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\DiagTrack", "RequiredPrivileges", new string[] { "SeChangeNotifyPrivilege", "SeCreateGlobalPrivilege", "SeAssignPrimaryTokenPrivilege", "SeImpersonatePrivilege", "SeSystemProfilePrivilege", "SeTcbPrivilege", "SeDebugPrivilege", "SeSecurityPrivilege" }, RegistryValueKind.MultiString);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\DiagTrack", "ServiceSidType", 1, RegistryValueKind.DWord);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\DiagTrack", "Start", 2, RegistryValueKind.DWord);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\DiagTrack", "Type", 16, RegistryValueKind.DWord);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\DiagTrack\Parameters", "ServiceDll", @"%SystemRoot%\system32\diagtrack.dll", RegistryValueKind.ExpandString);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\DiagTrack\Parameters", "ServiceDllUnloadOnStop", 1, RegistryValueKind.DWord);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\DiagTrack\Parameters", "ServiceMain", "ServiceMain", RegistryValueKind.String);
+
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\dmwappushservice", "DelayedAutoStart", 1, RegistryValueKind.DWord);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\dmwappushservice", "DependOnService", new string[] { "rpcss" }, RegistryValueKind.MultiString);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\dmwappushservice", "Description", @"@%SystemRoot%\system32\dmwappushsvc.dll,-201", RegistryValueKind.DWord);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\dmwappushservice", "DisplayName", @"@%SystemRoot%\system32\dmwappushsvc.dll,-200", RegistryValueKind.DWord);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\dmwappushservice", "ErrorControl", 1, RegistryValueKind.DWord);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\dmwappushservice", "FailureActions", Array.ConvertAll("80,51,01,00,00,00,00,00,00,00,00,00,04,00,00,00,14,00,00,00,01,00,00,00,10,27,00,00,01,00,00,00,10,27,00,00,01,00,00,00,10,27,00,00,00,00,00,00,10,27,00,00".Split(','), s => Convert.ToByte(s, 16)), RegistryValueKind.Binary);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\dmwappushservice", "ImagePath", @"%SystemRoot%\system32\svchost.exe -k netsvcs -p", RegistryValueKind.ExpandString);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\dmwappushservice", "ObjectName", "LocalSystem", RegistryValueKind.String);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\dmwappushservice", "ServiceSidType", 1, RegistryValueKind.DWord);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\dmwappushservice", "Start", 3, RegistryValueKind.DWord);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\dmwappushservice", "Type", 20, RegistryValueKind.DWord);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\dmwappushservice", "StateFlags", 3, RegistryValueKind.DWord);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\dmwappushservice\Parameters", "IdleTimeout(sec)", 120, RegistryValueKind.DWord);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\dmwappushservice\Parameters", "ServiceDll", @"%SystemRoot%\system32\dmwappushsvc.dll", RegistryValueKind.ExpandString);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\dmwappushservice\Parameters", "ServiceDllUnloadOnStop", 1, RegistryValueKind.DWord);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\dmwappushservice\Parameters", "ServiceMain", "ServiceMain", RegistryValueKind.String);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\dmwappushservice\TriggerInfo\0", "Action", 1, RegistryValueKind.DWord);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\dmwappushservice\TriggerInfo\0", "Data0", Array.ConvertAll("37,00,39,00,35,00,42,00,36,00,42,00,46,00,39,00,2d,00,39,00,37,00,42,00,36,00,2d,00,34,00,46,00,38,00,39,00,2d,00,42,00,44,00,38,00,44,00,2d,00,32,00,46,00,34,00,32,00,42,00,42,00,42,00,45,00,39,00,39,00,36,00,45,00,00,00".Split(','), s => Convert.ToByte(s, 16)), RegistryValueKind.Binary);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\dmwappushservice\TriggerInfo\0", "DataType0", 2, RegistryValueKind.DWord);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\dmwappushservice\TriggerInfo\0", "GUID", Array.ConvertAll("67,d1,90,bc,70,94,39,41,a9,ba,be,0b,bb,f5,b7,4d".Split(','), s => Convert.ToByte(s, 16)), RegistryValueKind.Binary);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\dmwappushservice\TriggerInfo\0", "Type", 6, RegistryValueKind.DWord);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\dmwappushservice\TriggerInfo\1", "Action", 1, RegistryValueKind.DWord);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\dmwappushservice\TriggerInfo\1", "Data0", Array.ConvertAll("75,90,bc,a3,28,00,92,13".Split(','), s => Convert.ToByte(s, 16)), RegistryValueKind.Binary);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\dmwappushservice\TriggerInfo\1", "DataType0", 1, RegistryValueKind.DWord);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\dmwappushservice\TriggerInfo\1", "GUID", Array.ConvertAll("16,28,7a,2d,5e,0c,fc,45,9c,e7,57,0e,5e,cd,e9,c9".Split(','), s => Convert.ToByte(s, 16)), RegistryValueKind.Binary);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\dmwappushservice\TriggerInfo\1", "Type", 32, RegistryValueKind.DWord);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\dmwappushservice\Security", "Security", Array.ConvertAll("01,00,04,80,b0,00,00,00,bc,00,00,00,00,00,00,00,14,00,00,00,02,00,9c,00,07,00,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,05,04,00,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,05,06,00,00,00,00,00,14,00,ff,01,0f,00,01,01,00,00,00,00,00,05,12,00,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,20,02,00,00,00,00,18,00,14,00,00,00,01,02,00,00,00,00,00,0f,02,00,00,00,01,00,00,00,00,00,14,00,14,00,00,00,01,01,00,00,00,00,00,05,04,00,00,00,00,00,14,00,14,00,00,00,01,01,00,00,00,00,00,05,0b,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00".Split(','), s => Convert.ToByte(s, 16)), RegistryValueKind.Binary);
+
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\diagsvc", "DependOnService", new string[] { "RpcSs" }, RegistryValueKind.MultiString);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\diagsvc", "Description", @"@%systemroot%\system32\DiagSvc.dll,-101", RegistryValueKind.String);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\diagsvc", "DisplayName", @"@%systemroot%\system32\DiagSvc.dll,-100", RegistryValueKind.String);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\diagsvc", "ErrorControl", 1, RegistryValueKind.DWord);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\diagsvc", "FailureActions", Array.ConvertAll("80,51,01,00,00,00,00,00,00,00,00,00,03,00,00,00,14,00,00,00,01,00,00,00,30,75,00,00,01,00,00,00,30,75,00,00,00,00,00,00,00,00,00,00".Split(','), s => Convert.ToByte(s, 16)), RegistryValueKind.Binary);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\diagsvc", "ImagePath", @"%SystemRoot%\System32\svchost.exe -k diagnostics", RegistryValueKind.ExpandString);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\diagsvc", "ObjectName", "LocalSystem", RegistryValueKind.String);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\diagsvc", "RequiredPrivileges", new string[] { "SeTcbPrivilege", "nSeTakeOwnershipPrivilege", "nSeDebugPrivilege", "nSeBackupPrivilege", "nSeImpersonatePrivilege", "nSeLoadDriverPrivilege", "nSeRestorePrivilege", "nSeManageVolumePrivilege" }, RegistryValueKind.MultiString);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\diagsvc", "ServiceSidType", 1, RegistryValueKind.DWord);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\diagsvc", "Start", 3, RegistryValueKind.DWord);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\diagsvc", "Type", 32, RegistryValueKind.DWord);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\diagsvc\Parameters", "ServiceDll", @"%systemroot%\system32\DiagSvc.dll", RegistryValueKind.ExpandString);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\diagsvc\Parameters", "ServiceDllUnloadOnStop", 1, RegistryValueKind.DWord);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\diagsvc\Parameters", "ServiceMain", "ServiceMain", RegistryValueKind.String);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\diagsvc\TriggerInfo\0", "Action", 1, RegistryValueKind.DWord);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\diagsvc\TriggerInfo\0", "Data0", Array.ConvertAll("46,00,44,00,44,00,34,00,35,00,39,00,32,00,34,00,2d,00,37,00,38,00,34,00,41,00,2d,00,34,00,39,00,39,00,43,00,2d,00,41,00,45,00,45,00,39,00,2d,00,30,00,38,00,31,00,33,00,38,00,35,00,30,00,43,00,45,00,31,00,38,00,32,00,00,00".Split(','), s => Convert.ToByte(s, 16)), RegistryValueKind.Binary);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\diagsvc\TriggerInfo\0", "DataType0", 2, RegistryValueKind.DWord);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\diagsvc\TriggerInfo\0", "GUID", Array.ConvertAll("67,d1,90,bc,70,94,39,41,a9,ba,be,0b,bb,f5,b7,4d".Split(','), s => Convert.ToByte(s, 16)), RegistryValueKind.Binary);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\diagsvc\TriggerInfo\0", "Type", 6, RegistryValueKind.DWord);
}
break;
case "TglButton16":
diff --git a/.Source/GTweak/Utilities/Tweaks/DefenderManager/WindowsDefender.cs b/.Source/GTweak/Utilities/Tweaks/DefenderManager/WindowsDefender.cs
index 79acdd60..ef074f5c 100644
--- a/.Source/GTweak/Utilities/Tweaks/DefenderManager/WindowsDefender.cs
+++ b/.Source/GTweak/Utilities/Tweaks/DefenderManager/WindowsDefender.cs
@@ -90,6 +90,7 @@ namespace GTweak.Utilities.Tweaks.DefenderManager
RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Control\CI\Config", "VulnerableDriverBlocklistEnable", 1, RegistryValueKind.DWord);
RegistryHelp.DeleteFolderTree(Registry.LocalMachine, @"SOFTWARE\Policies\Microsoft\Windows\WTDS");
RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity", "Enabled", 1, RegistryValueKind.DWord);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Control\DeviceGuard", "EnableVirtualizationBasedSecurity", 1, RegistryValueKind.DWord);
RegistryHelp.DeleteValue(Registry.LocalMachine, @"Software\Microsoft\Windows\CurrentVersion\AppHost", "EnableWebContentEvaluation");
RegistryHelp.DeleteValue(Registry.LocalMachine, @"Software\Microsoft\Windows\CurrentVersion\AppHost", "PreventOverride");
RegistryHelp.CreateFolder(Registry.LocalMachine, @"SOFTWARE\Microsoft\Windows\CurrentVersion\Run");
@@ -275,6 +276,7 @@ namespace GTweak.Utilities.Tweaks.DefenderManager
RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Control\CI\Config", "EnabledV9", 0, RegistryValueKind.DWord);
RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Control\CI\Config", "VulnerableDriverBlocklistEnable", 0, RegistryValueKind.DWord);
RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity", "Enabled", 0, RegistryValueKind.DWord);
+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Control\DeviceGuard", "EnableVirtualizationBasedSecurity", 0, RegistryValueKind.DWord);
RegistryHelp.Write(Registry.LocalMachine, @"SOFTWARE\Policies\Microsoft\Windows\WTDS\Components", "ServiceEnabled", "0", RegistryValueKind.DWord);
RegistryHelp.Write(Registry.LocalMachine, @"SOFTWARE\Policies\Microsoft\MicrosoftEdge\PhishingFilter", "EnabledV9", "0", RegistryValueKind.DWord);
RegistryHelp.Write(Registry.LocalMachine, @"Software\Microsoft\Windows\CurrentVersion\AppHost", "EnableWebContentEvaluation", 0, RegistryValueKind.DWord);