Skip to content

Commit cea4e08

Browse files
[Tweaks] Updated Copilot Removal (#3459)
* feat(copilot): update removal and installation for Copilot * feat(copilot): registry entry to disable user eligibility * fix indentation
1 parent 32a4311 commit cea4e08

File tree

1 file changed

+39
-1
lines changed

1 file changed

+39
-1
lines changed

config/tweaks.json

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2560,18 +2560,56 @@
25602560
"Type": "DWord",
25612561
"Value": "0",
25622562
"OriginalValue": "1"
2563+
},
2564+
{
2565+
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\Shell\\Copilot",
2566+
"Name": "IsCopilotAvailable",
2567+
"Type": "DWord",
2568+
"Value": "0",
2569+
"OriginalValue": "<RemoveEntry>"
2570+
},
2571+
{
2572+
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\Shell\\Copilot",
2573+
"Name": "CopilotDisabledReason",
2574+
"Type": "String",
2575+
"Value": "IsEnabledForGeographicRegionFailed",
2576+
"OriginalValue": "<RemoveEntry>"
2577+
},
2578+
{
2579+
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\WindowsCopilot",
2580+
"Name": "AllowCopilotRuntime",
2581+
"Type": "DWord",
2582+
"Value": "0",
2583+
"OriginalValue": "<RemoveEntry>"
2584+
},
2585+
{
2586+
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Shell Extensions\\Blocked",
2587+
"Name": "{CB3B0003-8088-4EDE-8769-8B354AB2FF8C}",
2588+
"Type": "String",
2589+
"Value": "",
2590+
"OriginalValue": "<RemoveEntry>"
2591+
},
2592+
{
2593+
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\Shell\\Copilot\\BingChat",
2594+
"Name": "IsUserEligible",
2595+
"Type": "DWord",
2596+
"Value": "0",
2597+
"OriginalValue": "<RemoveEntry>"
25632598
}
25642599
],
25652600
"InvokeScript": [
25662601
"
25672602
Write-Host \"Remove Copilot\"
2603+
Get-Package | Where-Object Name -like '*copilot*'
2604+
Get-AppxPackage -AllUsers *Copilot* | Remove-AppxPackage -AllUsers
2605+
Get-AppxProvisionedPackage -Online | Where-Object PackageName -like '*Copilot*' | Remove-AppxProvisionedPackage -Online
25682606
dism /online /remove-package /package-name:Microsoft.Windows.Copilot
25692607
"
25702608
],
25712609
"UndoScript": [
25722610
"
25732611
Write-Host \"Install Copilot\"
2574-
dism /online /add-package /package-name:Microsoft.Windows.Copilot
2612+
winget install --name \"Microsoft Copilot\" --source msstore --accept-package-agreements --accept-source-agreements --silent
25752613
"
25762614
],
25772615
"link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/removecopilot"

0 commit comments

Comments
 (0)