From 033a4fa8439ee6ad328a57d057a6497533f1b699 Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Fri, 23 Mar 2018 12:06:49 +0100 Subject: [PATCH] Add some modules --- modules.d/BlockHosts.conf | 11 +++++++++++ modules.d/BlockIP.conf | 12 ++++++++++++ modules.d/DelModernApp.conf | 11 +++++++++++ modules.d/DisableAdvertising.conf | 14 ++++++++++++++ modules.d/DisableFeatures.conf | 11 +++++++++++ modules.d/DisableServices.conf | 11 +++++++++++ modules.d/DisableSheduledTasks.conf | 22 ++++++++++++++++++++++ modules.d/DisableSheduledTasks/tasks.txt | 11 +++++++++++ modules.d/UninstallOnedrive.conf | 2 +- 9 files changed, 104 insertions(+), 1 deletion(-) create mode 100644 modules.d/BlockHosts.conf create mode 100644 modules.d/BlockIP.conf create mode 100644 modules.d/DelModernApp.conf create mode 100644 modules.d/DisableAdvertising.conf create mode 100644 modules.d/DisableFeatures.conf create mode 100644 modules.d/DisableServices.conf create mode 100644 modules.d/DisableSheduledTasks.conf create mode 100644 modules.d/DisableSheduledTasks/tasks.txt diff --git a/modules.d/BlockHosts.conf b/modules.d/BlockHosts.conf new file mode 100644 index 0000000..1909b97 --- /dev/null +++ b/modules.d/BlockHosts.conf @@ -0,0 +1,11 @@ +{ + "name" : "Block unwanted Host", + "description" : "This module block some hosts from Microsoft", + "actions" : [ + { + "action" : "BlockHost", + "file" : "hosts.txt", + "host" : "" + } + ] +} \ No newline at end of file diff --git a/modules.d/BlockIP.conf b/modules.d/BlockIP.conf new file mode 100644 index 0000000..37328cd --- /dev/null +++ b/modules.d/BlockIP.conf @@ -0,0 +1,12 @@ +{ + "name" : "Block IP From MS servers", + "description" : "Disable Advertising", + "actions" : [ + { + "action" : "FwBlockOutputIP", + "ip" : "", + "file" : "ip.txt" + } + ] + +} \ No newline at end of file diff --git a/modules.d/DelModernApp.conf b/modules.d/DelModernApp.conf new file mode 100644 index 0000000..39ee397 --- /dev/null +++ b/modules.d/DelModernApp.conf @@ -0,0 +1,11 @@ +{ + "name" : "Delete Metro App", + "description" : "This module delete all useless modern app", + "actions" : [ + { + "action" : "UninstallModernApp", + "file" : "apps.txt", + "removeProvisionned" : "true" + } + ] +} \ No newline at end of file diff --git a/modules.d/DisableAdvertising.conf b/modules.d/DisableAdvertising.conf new file mode 100644 index 0000000..6cb4cef --- /dev/null +++ b/modules.d/DisableAdvertising.conf @@ -0,0 +1,14 @@ +{ + "name" : "Disable Advertising", + "description" : "Disable Advertising", + "actions" : [ + { + "action" : "AddRegKey", + "value" : "1", + "key" : "DisabledByGroupPolicy", + "path" : "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\AdvertisingInfo", + "type" : "" + } + ] + +} \ No newline at end of file diff --git a/modules.d/DisableFeatures.conf b/modules.d/DisableFeatures.conf new file mode 100644 index 0000000..36922ea --- /dev/null +++ b/modules.d/DisableFeatures.conf @@ -0,0 +1,11 @@ +{ + "name" : "Disable Features", + "description" : "This module disable some useless Windows Features", + "actions" : [ + { + "action" : "DisableFeature", + "file" : "features.txt", + "name" : "" + } + ] +} \ No newline at end of file diff --git a/modules.d/DisableServices.conf b/modules.d/DisableServices.conf new file mode 100644 index 0000000..947f01d --- /dev/null +++ b/modules.d/DisableServices.conf @@ -0,0 +1,11 @@ +{ + "name" : "Disable Service", + "description" : "This module delete services known to send data to Microsoft", + "actions" : [ + { + "action" : "DisableService", + "file" : "services.txt", + "name" : "" + } + ] +} \ No newline at end of file diff --git a/modules.d/DisableSheduledTasks.conf b/modules.d/DisableSheduledTasks.conf new file mode 100644 index 0000000..3596d7f --- /dev/null +++ b/modules.d/DisableSheduledTasks.conf @@ -0,0 +1,22 @@ +{ + "name" : "Remove Scheduled tasks", + "description" : "Remove some scheduled tasks", + "actions" : [ + { + "action" : "RemoveScheduledTask", + "path" : "", + "name" : "", + "file" : "tasks.txt" + }, + { + "action" : "RemoveScheduledTask", + "path" : "\\Microsoft\\Windows\\Device Setup\\", + "name" : "Metadata Refresh" + }, + { + "action" : "RemoveScheduledTask", + "path" : "\\Microsoft\\Device Setup\\", + "name" : "Metadata Refresh" + } + ] +} \ No newline at end of file diff --git a/modules.d/DisableSheduledTasks/tasks.txt b/modules.d/DisableSheduledTasks/tasks.txt new file mode 100644 index 0000000..e9005a3 --- /dev/null +++ b/modules.d/DisableSheduledTasks/tasks.txt @@ -0,0 +1,11 @@ +Microsoft Compatibility Appraiser +ProgramDataUpdater +CreateObjectTask +Consolidator +KernelCeipTask +UsbCeip +SmartScreenSpecific +Microsoft-Windows-DiskDiagnosticDataCollector +DmClient +MNO Metadata Parser +QueueReporting diff --git a/modules.d/UninstallOnedrive.conf b/modules.d/UninstallOnedrive.conf index 984c978..2436efa 100644 --- a/modules.d/UninstallOnedrive.conf +++ b/modules.d/UninstallOnedrive.conf @@ -8,7 +8,7 @@ }, { "action" : "KillProcess", - "name" : "explorer" + "name" : "explorer.exe" }, { "_comment" : "OneDrive Uninstaller x64 version",