Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- rem
- rem Disable Cortana, Copilot, and Recall
- rem by Matthew Borcherding
- rem matt@borchtech.com
- rem 01/03/2025
- rem
- rem Based on info from:
- rem
- rem Cortana removal:
- rem https://www.elevenforum.com/t/enable-or-disable-cortana-in-windows-11.6407/
- rem
- rem Copilot removal:
- rem https://answers.microsoft.com/en-us/windows/forum/all/how-do-i-get-this-ai-copilot-off-my-computer/65c4f26b-6320-4220-97a1-020bc50f1d70
- rem https://pureinfotech.com/disable-recall-windows-11/
- rem https://www.elevenforum.com/t/completely-disable-and-remove-copilot-in-windows-11.23264/
- rem
- rem Recall removal:
- rem https://www.thewindowsclub.com/enable-or-disable-recall-snapshots-in-windows
- rem https://www.thewindowsclub.com/how-to-uninstall-recall-feature-in-windows
- rem
- rem * Cortana was the old AI feature in Windows 10 and 11
- rem * Copilot is the new AI for Windows 11
- rem * Recall is the regular screenshot system in Windows 11 24H2 (and future builds?)
- rem
- rem I find all of these to be either not useful, or huge security problems.
- rem So let's disable them all.
- rem
- rem This will work on Windows 10 as well, though it only has Cortana.
- rem
- rem
- rem --- DISABLE CORTANA ---
- rem
- reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v AllowCortana /t REG_DWORD /d 0 /f > nul
- rem
- rem --- DISABLE COPILOT ---
- rem
- reg add "HKCU\Software\Policies\Microsoft\Windows\Copilot" /v "TurnOffWindowsCopilot" /t REG_DWORD /d 1 /f > nul
- reg add "HKLM\Software\Policies\Microsoft\Windows\Copilot" /v "TurnOffWindowsCopilot" /t REG_DWORD /d 1 /f > nul
- rem
- rem Seen keys as both "Windows\Copilot" and "WindowsCopilot", so doing
- rem it both ways.
- rem
- reg add "HKCU\Software\Policies\Microsoft\WindowsCopilot" /v "TurnOffWindowsCopilot" /t REG_DWORD /d 1 /f > nul
- reg add "HKLM\Software\Policies\Microsoft\WindowsCopilot" /v "TurnOffWindowsCopilot" /t REG_DWORD /d 1 /f > nul
- reg add "HKCU\Software\Policies\Microsoft\Windows\WindowsAI" /v "DisableAIDataAnalysis" /t REG_DWORD /d 1 /f > nul
- reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsAI" /v "DisableAIDataAnalysis" /t REG_DWORD /d 1 /f > nul
- reg add "HKCU\Software\Policies\Microsoft\Edge" /v "HubsSidebarEnabled" /t REG_DWORD /d 0 /f > nul
- reg add "HKLM\Software\Policies\Microsoft\Edge" /v "HubsSidebarEnabled" /t REG_DWORD /d 0 /f > nul
- reg add "HKCU\Software\Policies\Microsoft\Windows\Explorer" /v "DisableSearchBoxSuggestions" /t REG_DWORD /d 1 /f > nul
- reg add "HKLM\Software\Policies\Microsoft\Windows\Explorer" /v "DisableSearchBoxSuggestions" /t REG_DWORD /d 1 /f > nul
- rem
- rem --- REMOVE RECALL ---
- rem
- rem
- rem This may also be needed, based on info here:
- rem
- DISM /Online /Disable-Feature /Featurename:Recall >nul
- echo.
- echo Cortana and Copilot now disabled.
- echo Recall now removed.
- echo Reboot to finalize/enable.
- echo.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement