Remove copilot option

This commit is contained in:
ModernTTY 2024-04-16 13:43:06 +03:00 committed by GitHub
parent 2ee10b57d4
commit 83628d8784
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2285,6 +2285,26 @@
"
]
},
"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": [
"
Remove-AppxPackage \"Microsoft.Windows.Ai.Copilot.Provider\"
Remove-AppxPackage \"MicrosoftWindows.Client.CoPilot\"
Set-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced\" -Name \"ShowCopilotButton\" -Type \"DWord\" -Value \"0\"
"
],
"UndoScript": [
"
Write-Host \"Install Microsoft Edge\"
Start-Process -FilePath winget -ArgumentList \"install -e --accept-source-agreements --accept-package-agreements --silent Microsoft.Edge \" -NoNewWindow -Wait
"
]
},
"WPFTweaksRemoveOnedrive": {
"Content": "Remove OneDrive",
"Description": "Copies OneDrive files to Default Home Folders and Uninstalls it.",