From 5640f9d04cb209d05e1ab5f2d8864134599f716d Mon Sep 17 00:00:00 2001 From: LoopTJ <34551682+LoopTJ@users.noreply.github.com> Date: Thu, 24 Oct 2024 13:43:33 -0700 Subject: [PATCH] Disable Recall (#2974) Adds Tweak option to Disable MS Recall using DISM and Reg Key. --- config/tweaks.json | 30 ++++++ .../tweaks/Essential-Tweaks/DisableRecall.md | 91 +++++++++++++++++++ 2 files changed, 121 insertions(+) create mode 100644 docs/dev/tweaks/Essential-Tweaks/DisableRecall.md diff --git a/config/tweaks.json b/config/tweaks.json index 56729164..2a6bf95e 100644 --- a/config/tweaks.json +++ b/config/tweaks.json @@ -2584,6 +2584,36 @@ ], "link": "https://christitustech.github.io/winutil/dev/tweaks/z--Advanced-Tweaks---CAUTION/RemoveCopilot" }, + "WPFTweaksRecallOff": { + "Content": "Disable Recall", + "Description": "Turn Recall off", + "category": "Essential Tweaks", + "panel": "1", + "Order": "a011_", + "registry": [ + { + + "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\WindowsAI", + "Name": "DisableAIDataAnalysis", + "Type": "DWord", + "Value": "1", + "OriginalValue": "0" + } + ], + "InvokeScript": [ + " + Write-Host \"Disable Recall\" + DISM /Online /Disable-Feature /FeatureName:Recall + " + ], + "UndoScript": [ + " + Write-Host \"Enable Recall\" + DISM /Online /Enable-Feature /FeatureName:Recall + " + ], + "link": "https://christitustech.github.io/winutil/dev/tweaks/Essential-Tweaks/DisableRecall" + }, "WPFTweaksDisableLMS1": { "Content": "Disable Intel MM (vPro LMS)", "Description": "Intel LMS service is always listening on all ports and could be a huge security risk. There is no need to run LMS on home machines and even in the Enterprise there are better solutions.", diff --git a/docs/dev/tweaks/Essential-Tweaks/DisableRecall.md b/docs/dev/tweaks/Essential-Tweaks/DisableRecall.md new file mode 100644 index 00000000..6635a7dc --- /dev/null +++ b/docs/dev/tweaks/Essential-Tweaks/DisableRecall.md @@ -0,0 +1,91 @@ +# Disable Microsoft Recall + +Last Updated: 2024-10-24 + + +!!! info + The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. **Developers do have the ability to add custom content, which won't be updated automatically.** +## Description + +Disables MS Recall built into Windows since 24H2. + + + + + +
+Preview Code + +```json +"WPFTweaksRecallOff": { + "Content": "Disable Recall", + "Description": "Turn Recall off", + "category": "Essential Tweaks", + "panel": "1", + "Order": "a011_", + "registry": [ + { + + "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\WindowsAI", + "Name": "DisableAIDataAnalysis", + "Type": "DWord", + "Value": "1", + "OriginalValue": "0" + } + ], + "InvokeScript": [ + " + Write-Host \"Disable Recall\" + DISM /Online /Disable-Feature /FeatureName:Recall + " + ], + "UndoScript": [ + " + Write-Host \"Enable Recall\" + DISM /Online /Enable-Feature /FeatureName:Recall + " + ], + "link": "https://christitustech.github.io/winutil/dev/tweaks/Essential-Tweaks/DisableRecall" + }, +``` + +
+ +## Invoke Script + +```powershell + + Write-Host "Disable Recall" + DISM /Online /Disable-Feature /FeatureName:Recall + + +``` +## Undo Script + +```powershell + + Write-Host "Enable Recall" + DISM /Online /Enable-Feature /FeatureName:Recall + + +``` +## 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](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). + +### Registry Key: DisableAIDataAnalysis + +**Type:** DWord + +**Original Value:** 0 + +**New Value:** 1 + + + + + + +[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/config/tweaks.json)