From ec0d0f7019a0cdd3b890af58e6d734a1977b4a61 Mon Sep 17 00:00:00 2001 From: Fierelier Date: Wed, 9 Oct 2024 14:51:10 +0200 Subject: [PATCH] Add mod: disable copilot --- mods/[hell2]/disable copilot/description.txt | 1 + mods/[hell2]/disable copilot/modscript.py | 4 ++++ mods/[hell2]/disable copilot/tags.txt | 1 + 3 files changed, 6 insertions(+) create mode 100644 mods/[hell2]/disable copilot/description.txt create mode 100644 mods/[hell2]/disable copilot/modscript.py create mode 100644 mods/[hell2]/disable copilot/tags.txt diff --git a/mods/[hell2]/disable copilot/description.txt b/mods/[hell2]/disable copilot/description.txt new file mode 100644 index 0000000..a39f5d8 --- /dev/null +++ b/mods/[hell2]/disable copilot/description.txt @@ -0,0 +1 @@ +Disables Copilot+ Recall AI analysis diff --git a/mods/[hell2]/disable copilot/modscript.py b/mods/[hell2]/disable copilot/modscript.py new file mode 100644 index 0000000..751d311 --- /dev/null +++ b/mods/[hell2]/disable copilot/modscript.py @@ -0,0 +1,4 @@ +for reg in regs: + if not reg.startswith("user-"): continue + user = opusnt.regTmpPath + reg + opusnt.runReg(["add",user + "\\SOFTWARE\\Policies\\Microsoft\\Windows\\WindowsAI","/v","DisableAIDataAnalysis","/t","REG_DWORD","/d","1","/f"]) diff --git a/mods/[hell2]/disable copilot/tags.txt b/mods/[hell2]/disable copilot/tags.txt new file mode 100644 index 0000000..af7c37c --- /dev/null +++ b/mods/[hell2]/disable copilot/tags.txt @@ -0,0 +1 @@ +privacy telemetry