mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-12-24 23:11:31 -06:00
2.8 KiB
2.8 KiB
Disable Microsoft Copilot
Last Updated: 2024-08-07
!!! info The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. Developers do have the ability to add custom content, which won't be updated automatically.
Description
Disables MS Copilot AI built into Windows since 23H2.
Preview Code
{
"Content": "Disable Microsoft Copilot",
"Description": "Disables MS Copilot AI built into Windows since 23H2.",
"category": "z__Advanced Tweaks - CAUTION",
"panel": "1",
"Order": "a025_",
"registry": [
{
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\WindowsCopilot",
"Name": "TurnOffWindowsCopilot",
"Type": "DWord",
"Value": "1",
"OriginalValue": "0"
},
{
"Path": "HKCU:\\Software\\Policies\\Microsoft\\Windows\\WindowsCopilot",
"Name": "TurnOffWindowsCopilot",
"Type": "DWord",
"Value": "1",
"OriginalValue": "0"
},
{
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
"Name": "ShowCopilotButton",
"Type": "DWord",
"Value": "0",
"OriginalValue": "1"
}
],
"InvokeScript": [
"
Write-Host \"Remove Copilot\"
dism /online /remove-package /package-name:Microsoft.Windows.Copilot
"
],
"UndoScript": [
"
Write-Host \"Install Copilot\"
dism /online /add-package /package-name:Microsoft.Windows.Copilot
"
],
"link": "https://christitustech.github.io/winutil/dev/tweaks/z--Advanced-Tweaks---CAUTION/RemoveCopilot"
}
Invoke Script
Write-Host "Remove Copilot"
dism /online /remove-package /package-name:Microsoft.Windows.Copilot
Undo Script
Write-Host "Install Copilot"
dism /online /add-package /package-name:Microsoft.Windows.Copilot
Registry Changes
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
You can find information about the registry on Wikipedia and Microsoft's Website.
Registry Key: TurnOffWindowsCopilot
Type: DWord
Original Value: 0
New Value: 1
Registry Key: TurnOffWindowsCopilot
Type: DWord
Original Value: 0
New Value: 1
Registry Key: ShowCopilotButton
Type: DWord
Original Value: 1
New Value: 0