Added Windows Recall

This commit is contained in:
2026-07-26 09:44:45 +02:00
parent 8d48a9899c
commit 2ce5b37061
2 changed files with 62 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
@echo off
:: Check administrator rights
net session >nul 2>&1
if %errorLevel% neq 0 (
echo You need to have administrator rights to execute this script!
echo Right click this file and choose for 'Run as admin'.
pause
exit /b
)
echo.
echo Remove Recall via DISM
DISM /Online /Disable-Feature /FeatureName:Recall /NoRestart
echo.
echo Add registry block for future windows updates
:: Maak de WindowsAI-sleutel aan en zet AllowRecallEnablement op 0
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsAI" /v "AllowRecallEnablement" /t REG_DWORD /d 0 /f
echo.
echo Also block it for the current user
reg add "HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows\WindowsAI" /v "AllowRecallEnablement" /t REG_DWORD /d 0 /f
echo.
echo Success! Please reboot your computer so the changes can take effect.
pause