From b3fc21d7e4cbf86b15aa77af88c6d66c60632276 Mon Sep 17 00:00:00 2001 From: ModernTTY <165050080+ModernTTY@users.noreply.github.com> Date: Wed, 1 May 2024 22:58:51 +0300 Subject: [PATCH] Add option to remove Microsoft Copilot AI * Add option to remove MS Copilot * Update tweaks.json * fix bugs - remove appx caused a lockup - also it looks like copilot will be the dependency for some built-in windows searches Due to this I am changing it from a removal to a disable. --- config/tweaks.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/config/tweaks.json b/config/tweaks.json index d1de827d..42821110 100644 --- a/config/tweaks.json +++ b/config/tweaks.json @@ -2323,6 +2323,25 @@ " ] }, + "WPFTweaksRemoveCopilot": { + "Content": "Disables Microsoft Copilot", + "Description": "Disables MS Copilot AI built into Windows since 23H2.", + "category": "z__Advanced Tweaks - CAUTION", + "panel": "1", + "Order": "a025_", + "InvokeScript": [ + " + Set-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced\" -Name \"ShowCopilotButton\" -Type \"DWord\" -Value \"0\" + New-Item \"HKCU:\\SOFTWARE\\Policies\\Microsoft\\Windows\\WindowsCopilot\" -Force | New-ItemProperty -Name \"TurnOffWindowsCopilot\" -Value \"1\" -Force -Type \"DWord\" + " + ], + "UndoScript": [ + " + Set-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced\" -Name \"ShowCopilotButton\" -Type \"DWord\" -Value \"1\" + Remove-Item \"HKCU:\\SOFTWARE\\Policies\\Microsoft\\Windows\\WindowsCopilot\" -Force + " + ] + }, "WPFTweaksRemoveOnedrive": { "Content": "Remove OneDrive", "Description": "Copies OneDrive files to Default Home Folders and Uninstalls it.",