Disable Microsoft Copilot
config/tweaks.json
1830 "WPFTweaksRemoveCopilot": {
1831 "Content": "Disable Microsoft Copilot",
1832 "Description": "Disables MS Copilot AI built into Windows since 23H2.",
1833 "category": "z__Advanced Tweaks - CAUTION",
1834 "panel": "1",
1835 "registry": [
1836 {
1837 "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\WindowsCopilot",
1838 "Name": "TurnOffWindowsCopilot",
1839 "Value": "1",
1840 "Type": "DWord",
1841 "OriginalValue": "<RemoveEntry>"
1842 },
1843 {
1844 "Path": "HKCU:\\Software\\Policies\\Microsoft\\Windows\\WindowsCopilot",
1845 "Name": "TurnOffWindowsCopilot",
1846 "Value": "1",
1847 "Type": "DWord",
1848 "OriginalValue": "<RemoveEntry>"
1849 },
1850 {
1851 "Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
1852 "Name": "ShowCopilotButton",
1853 "Value": "0",
1854 "Type": "DWord",
1855 "OriginalValue": "1"
1856 },
1857 {
1858 "Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\Shell\\Copilot",
1859 "Name": "IsCopilotAvailable",
1860 "Value": "0",
1861 "Type": "DWord",
1862 "OriginalValue": "<RemoveEntry>"
1863 },
1864 {
1865 "Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\Shell\\Copilot",
1866 "Name": "CopilotDisabledReason",
1867 "Value": "IsEnabledForGeographicRegionFailed",
1868 "Type": "String",
1869 "OriginalValue": "<RemoveEntry>"
1870 },
1871 {
1872 "Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\WindowsCopilot",
1873 "Name": "AllowCopilotRuntime",
1874 "Value": "0",
1875 "Type": "DWord",
1876 "OriginalValue": "<RemoveEntry>"
1877 },
1878 {
1879 "Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Shell Extensions\\Blocked",
1880 "Name": "{CB3B0003-8088-4EDE-8769-8B354AB2FF8C}",
1881 "Value": "",
1882 "Type": "String",
1883 "OriginalValue": "<RemoveEntry>"
1884 },
1885 {
1886 "Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\Shell\\Copilot\\BingChat",
1887 "Name": "IsUserEligible",
1888 "Value": "0",
1889 "Type": "DWord",
1890 "OriginalValue": "<RemoveEntry>"
1891 }
1892 ],
1893 "InvokeScript": [
1894 "
1895 Write-Host \"Remove Copilot\"
1896 Get-AppxPackage -AllUsers *Copilot* | Remove-AppxPackage -AllUsers
1897 Get-AppxPackage -AllUsers Microsoft.MicrosoftOfficeHub | Remove-AppxPackage -AllUsers
1898
1899 $Appx = (Get-AppxPackage MicrosoftWindows.Client.CoreAI).PackageFullName
1900
1901 $Sid = (Get-LocalUser $Env:UserName).Sid.Value
1902 New-Item \"HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Appx\\AppxAllUserStore\\EndOfLife\\$Sid\\$Appx\" -Force
1903 Remove-AppxPackage $Appx
1904 "
1905 ],
1906 "UndoScript": [
1907 "
1908 Write-Host \"Install Copilot\"
1909 winget install --name Copilot --source msstore --accept-package-agreements --accept-source-agreements --silent
1910 "
1911 ],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.