mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-11-15 07:05:51 -06:00
124 lines
2.8 KiB
Markdown
124 lines
2.8 KiB
Markdown
# 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.
|
|
|
|
<!-- BEGIN CUSTOM CONTENT -->
|
|
|
|
<!-- END CUSTOM CONTENT -->
|
|
|
|
<details>
|
|
<summary>Preview Code</summary>
|
|
|
|
```json
|
|
{
|
|
"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"
|
|
}
|
|
```
|
|
|
|
</details>
|
|
|
|
## Invoke Script
|
|
|
|
```powershell
|
|
|
|
Write-Host "Remove Copilot"
|
|
dism /online /remove-package /package-name:Microsoft.Windows.Copilot
|
|
|
|
|
|
```
|
|
## Undo Script
|
|
|
|
```powershell
|
|
|
|
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](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
|
|
|
### 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
|
|
|
|
|
|
|
|
<!-- BEGIN SECOND CUSTOM CONTENT -->
|
|
|
|
<!-- END SECOND CUSTOM CONTENT -->
|
|
|
|
|
|
[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/config/tweaks.json)
|
|
|