Add option to remove MS Copilot

This commit is contained in:
ModernTTY
2024-04-28 08:49:44 +03:00
committed by GitHub
parent bdf9c8378c
commit f9cba9ca3b

View File

@ -2323,6 +2323,25 @@
"
]
},
"WPFTweaksRemoveCopilot": {
"Content": "Remove Microsoft Copilot",
"Description": "Removes 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\"
Set-ItemProperty -Path \"HKCU:\\SOFTWARE\\Policies\\Microsoft\\Windows\\WindowsCopilot\" -Name \"TurnOffWindowsCopilot\" -Type \"DWord\" -Value \"1\"
"
],
"UndoScript": [
"
"
]
},
"WPFTweaksRemoveOnedrive": {
"Content": "Remove OneDrive",
"Description": "Copies OneDrive files to Default Home Folders and Uninstalls it.",