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 1/4] 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.", From fc93ec16d6a67ae4583634c5710b4f47e5872dce Mon Sep 17 00:00:00 2001 From: ChrisTitusTech Date: Wed, 1 May 2024 19:59:15 +0000 Subject: [PATCH 2/4] Compile Winutil --- winutil.ps1 | 20 ++++++++++++++++++++ xaml/inputTweaks.xaml | 1 + 2 files changed, 21 insertions(+) diff --git a/winutil.ps1 b/winutil.ps1 index d1eb6b51..73fe2233 100644 --- a/winutil.ps1 +++ b/winutil.ps1 @@ -10346,6 +10346,25 @@ $sync.configs.tweaks = '{ " ] }, + "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.", @@ -12513,6 +12532,7 @@ $inputXML = ' + diff --git a/xaml/inputTweaks.xaml b/xaml/inputTweaks.xaml index db7e918e..63db69c6 100644 --- a/xaml/inputTweaks.xaml +++ b/xaml/inputTweaks.xaml @@ -25,6 +25,7 @@ + From 841de3699fc40230a7e659065b923dd16d7b0b49 Mon Sep 17 00:00:00 2001 From: Kasim Date: Wed, 1 May 2024 21:01:35 +0100 Subject: [PATCH 3/4] remove authy authy reached EOLhttps://help.twilio.com/articles/22771146070299-User-guide-End-of-Life-EOL-for-Twilio-Authy-Desktop-app * remove authy authy reached EOL https://help.twilio.com/articles/22771146070299-User-guide-End-of-Life-EOL-for-Twilio-Authy-Desktop-app --- config/applications.json | 8 -------- 1 file changed, 8 deletions(-) diff --git a/config/applications.json b/config/applications.json index 9f20afbe..fea86fd4 100644 --- a/config/applications.json +++ b/config/applications.json @@ -95,14 +95,6 @@ "link": "https://www.audacityteam.org/", "winget": "Audacity.Audacity" }, - "WPFInstallauthy": { - "category": "Utilities", - "choco": "authy-desktop", - "content": "Authy", - "description": "Simple and cross-platform 2FA app", - "link": "https://authy.com/", - "winget": "Twilio.Authy" - }, "WPFInstallautoruns": { "category": "Microsoft Tools", "choco": "autoruns", From 14b3c859ab68efe7782c96d2a86c807242203e90 Mon Sep 17 00:00:00 2001 From: ChrisTitusTech Date: Wed, 1 May 2024 20:02:03 +0000 Subject: [PATCH 4/4] Compile Winutil --- winutil.ps1 | 17 +++-------------- xaml/inputApp.xaml | 9 +++------ 2 files changed, 6 insertions(+), 20 deletions(-) diff --git a/winutil.ps1 b/winutil.ps1 index 73fe2233..a044f253 100644 --- a/winutil.ps1 +++ b/winutil.ps1 @@ -5066,14 +5066,6 @@ $sync.configs.applications = '{ "link": "https://www.audacityteam.org/", "winget": "Audacity.Audacity" }, - "WPFInstallauthy": { - "category": "Utilities", - "choco": "authy-desktop", - "content": "Authy", - "description": "Simple and cross-platform 2FA app", - "link": "https://authy.com/", - "winget": "Twilio.Authy" - }, "WPFInstallautoruns": { "category": "Microsoft Tools", "choco": "autoruns", @@ -12153,9 +12145,6 @@ $inputXML = ' - - - @@ -12281,15 +12270,15 @@ $inputXML = ' + + + - - - diff --git a/xaml/inputApp.xaml b/xaml/inputApp.xaml index 326bb2bb..a4479fed 100644 --- a/xaml/inputApp.xaml +++ b/xaml/inputApp.xaml @@ -689,9 +689,6 @@ - - - @@ -817,15 +814,15 @@ + + + - - -