From 9cfff8a1f0626c102ca98af8d577595e6c144fcf Mon Sep 17 00:00:00 2001 From: Chris Titus Date: Wed, 1 May 2024 14:57:31 -0700 Subject: [PATCH] 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 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/tweaks.json b/config/tweaks.json index dbcab8e3..42821110 100644 --- a/config/tweaks.json +++ b/config/tweaks.json @@ -2324,21 +2324,21 @@ ] }, "WPFTweaksRemoveCopilot": { - "Content": "Remove Microsoft Copilot", - "Description": "Removes MS Copilot AI built into Windows since 23H2.", + "Content": "Disables Microsoft Copilot", + "Description": "Disables MS Copilot AI built into Windows since 23H2.", "category": "z__Advanced Tweaks - CAUTION", "panel": "1", "Order": "a025_", "InvokeScript": [ " - Get-AppxPackage *copilot* | Remove-AppxPackage 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 " ] },