@echo off
title Remove Windows Copilot - Full Disable
echo ==========================================================
echo Removing Windows Copilot from Windows 11
echo Disabling UI toggles, registry flags, policies, and
echo removing any installed Copilot packages.
echo ==========================================================
echo.
:: --- REQUIRE ADMIN ---
whoami /groups | find "S-1-5-32-544" >NUL
if errorlevel 1 (
echo This script MUST be run as Administrator.
pause
exit /b
)
echo Killing Copilot processes...
taskkill /im "Copilot.exe" /f >NUL 2>&1
taskkill /im "WebViewHost.exe" /f >NUL 2>&1
taskkill /im "webview2.exe" /f >NUL 2>&1
echo.
echo === Removing Taskbar Copilot entry ===
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v ShowCopilotButton /t REG_DWORD /d 0 /f
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v ShowCopilotButton /t REG_DWORD /d 0 /f
echo.
echo === Disabling Windows Copilot Policies ===
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsCopilot" /v TurnOffWindowsCopilot /t REG_DWORD /d 1 /f
reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows\WindowsCopilot" /v TurnOffWindowsCopilot /t REG_DWORD /d 1 /f
echo.
echo === Disabling Copilot from Taskbar Settings ===
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v TaskbarCopilot /t REG_DWORD /d 0 /f
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v TaskbarCopilot /t REG_DWORD /d 0 /f
echo.
echo === Removing any Copilot App packages ===
powershell -NoLogo -NoProfile -Command ^
"Get-AppxPackage *copilot* -AllUsers | Remove-AppxPackage -AllUsers" >NUL 2>&1
powershell -NoLogo -NoProfile -Command ^
"Get-AppxProvisionedPackage -Online | Where-Object { $_.PackageName -like '*copilot*' } | Remove-AppxProvisionedPackage -Online" >NUL 2>&1
echo.
echo === Removing Copilot WebView components ===
powershell -NoLogo -NoProfile -Command ^
"Get-AppxPackage *webexperience* -AllUsers | Remove-AppxPackage -AllUsers" >NUL 2>&1
powershell -NoLogo -NoProfile -Command ^
"Get-AppxProvisionedPackage -Online | Where-Object { $_.PackageName -like '*webexperience*' } | Remove-AppxProvisionedPackage -Online" >NUL 2>&1
echo.
echo === Blocking Copilot binaries from returning ===
takeown /f "C:\Windows\SystemApps\Microsoft.Windows.Copilot_*" /r /d y >NUL 2>&1
icacls "C:\Windows\SystemApps\Microsoft.Windows.Copilot_*" /inheritance:r /deny *S-1-1-0:(OI)(CI)(F) >NUL 2>&1
takeown /f "C:\Windows\SystemApps\Microsoft.Windows.AICopilot_*" /r /d y >NUL 2>&1
icacls "C:\Windows\SystemApps\Microsoft.Windows.AICopilot_*" /inheritance:r /deny *S-1-1-0:(OI)(CI)(F) >NUL 2>&1
echo.
echo === Removing Copilot scheduled tasks ===
schtasks /Delete /TN "Microsoft\Windows\Copilot" /F >NUL 2>&1
schtasks /Delete /TN "Microsoft\Windows\AICopilot" /F >NUL 2>&1
echo.
echo === Restarting Explorer ===
taskkill /f /im explorer.exe >NUL
start explorer.exe
echo.
echo ==========================================================
echo COPILOT REMOVED / DISABLED
echo ==========================================================
pause
exit /b
|