mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-07-04 20:23:52 -05:00
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.
This commit is contained in:
@ -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
|
||||
"
|
||||
]
|
||||
},
|
||||
|
Reference in New Issue
Block a user