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