Add option to disable Click to Do (AI image/text analysis feature)

This commit is contained in:
Raphire
2025-09-17 23:33:52 +02:00
parent 899edfc9c6
commit 7004fa3b31
8 changed files with 41 additions and 11 deletions

View File

@@ -21,7 +21,7 @@ Microsoft.MicrosoftJournal # Digital note-taking app optimiz
Microsoft.MicrosoftOfficeHub # Hub to access Microsoft Office apps and documents (Precursor to Microsoft 365 app) Microsoft.MicrosoftOfficeHub # Hub to access Microsoft Office apps and documents (Precursor to Microsoft 365 app)
Microsoft.MicrosoftPowerBIForWindows # Business analytics service client Microsoft.MicrosoftPowerBIForWindows # Business analytics service client
Microsoft.MicrosoftSolitaireCollection # Collection of solitaire card games Microsoft.MicrosoftSolitaireCollection # Collection of solitaire card games
Microsoft.MicrosoftStickyNotes # Digital sticky notes app Microsoft.MicrosoftStickyNotes # Digital sticky notes app (Deprecated & replaced by OneNote)
Microsoft.MixedReality.Portal # Portal for Windows Mixed Reality headsets Microsoft.MixedReality.Portal # Portal for Windows Mixed Reality headsets
Microsoft.NetworkSpeedTest # Internet connection speed test utility Microsoft.NetworkSpeedTest # Internet connection speed test utility
Microsoft.News # News aggregator (Replaced Bing News, now part of Microsoft Start) Microsoft.News # News aggregator (Replaced Bing News, now part of Microsoft Start)

View File

@@ -19,8 +19,10 @@ Bing Web Search, Copilot & AI Features
- Disable & remove Bing web search, Bing AI and Cortana from Windows search. - Disable & remove Bing web search, Bing AI and Cortana from Windows search.
- Disable & remove Microsoft Copilot. - Disable & remove Microsoft Copilot.
- Disable Windows Recall snapshots. (W11 only) - Disable Windows Recall snapshots. (W11 only)
- Disable AI Features in Paint (W11 only) - Disable Click to Do AI text & image analysis. (W11 only)
- Disable AI Features in Notepad (W11 only) - Disable AI Features in Edge. (W11 only)
- Disable AI Features in Paint. (W11 only)
- Disable AI Features in Notepad. (W11 only)
Personalisation Personalisation
- Enable dark mode for system and apps. - Enable dark mode for system and apps.

View File

@@ -41,6 +41,7 @@ param (
[switch]$DisableStartPhoneLink, [switch]$DisableStartPhoneLink,
[switch]$DisableCopilot, [switch]$DisableCopilot,
[switch]$DisableRecall, [switch]$DisableRecall,
[switch]$DisableClickToDo,
[switch]$DisablePaintAI, [switch]$DisablePaintAI,
[switch]$DisableNotepadAI, [switch]$DisableNotepadAI,
[switch]$DisableEdgeAI, [switch]$DisableEdgeAI,

View File

@@ -110,9 +110,10 @@ Below is an overview of the key features and functionality offered by Win11Deblo
- Disable & remove Bing web search, Bing AI and Cortana from Windows search. - Disable & remove Bing web search, Bing AI and Cortana from Windows search.
- Disable & remove Microsoft Copilot. - Disable & remove Microsoft Copilot.
- Disable Windows Recall snapshots. (W11 only) - Disable Windows Recall snapshots. (W11 only)
- Disable AI Features in Edge (W11 only) - Disable Click to Do AI text & image analysis. (W11 only)
- Disable AI Features in Paint (W11 only) - Disable AI Features in Edge. (W11 only)
- Disable AI Features in Notepad (W11 only) - Disable AI Features in Paint. (W11 only)
- Disable AI Features in Notepad. (W11 only)
#### Personalisation #### Personalisation
@@ -159,9 +160,7 @@ Below is an overview of the key features and functionality offered by Win11Deblo
Win11Debloat's default mode allows you to quickly and easily apply the changes that are recommended for most people. This includes removing many annoying distractions, disabling telemetry and tracking and optionally uninstalling the default or your custom selection of apps. To apply the default settings, launch the script as you normally would and select option `1` in the script menu. Win11Debloat's default mode allows you to quickly and easily apply the changes that are recommended for most people. This includes removing many annoying distractions, disabling telemetry and tracking and optionally uninstalling the default or your custom selection of apps. To apply the default settings, launch the script as you normally would and select option `1` in the script menu.
Alternatively, you can launch the script with the `-RunDefaults` or `-RunDefaultsLite` parameters to immediately run the defaults without going through the menu or the app removal options. Using the `-RunDefaults` parameter will run the script in default mode and remove the default selection of apps. While using the `-RunDefaultsLite` parameter will run the script in default mode without removing any apps. Alternatively, you can launch the script with the `-RunDefaults` or `-RunDefaultsLite` parameters to immediately run the defaults without going through the menu or the app removal options. Using the `-RunDefaults` parameter will run the script in default mode and remove the default selection of apps. While using the `-RunDefaultsLite` parameter will run the script in default mode without removing any apps. Example:
Example:
```Powershell ```Powershell
& ([scriptblock]::Create((irm "https://debloat.raphi.re/"))) -RunDefaults & ([scriptblock]::Create((irm "https://debloat.raphi.re/"))) -RunDefaults
``` ```

View File

@@ -0,0 +1,7 @@
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\WindowsAI]
"DisableClickToDo"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsAI]
"DisableClickToDo"=dword:00000001

View File

@@ -0,0 +1,7 @@
Windows Registry Editor Version 5.00
[hkey_users\default\Software\Policies\Microsoft\Windows\WindowsAI]
"DisableClickToDo"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsAI]
"DisableClickToDo"=dword:00000001

View File

@@ -0,0 +1,7 @@
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\WindowsAI]
"DisableClickToDo"=-
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsAI]
"DisableClickToDo"=-

View File

@@ -43,6 +43,7 @@ param (
[switch]$DisableStartPhoneLink, [switch]$DisableStartPhoneLink,
[switch]$DisableCopilot, [switch]$DisableCopilot,
[switch]$DisableRecall, [switch]$DisableRecall,
[switch]$DisableClickToDo,
[switch]$DisablePaintAI, [switch]$DisablePaintAI,
[switch]$DisableNotepadAI, [switch]$DisableNotepadAI,
[switch]$DisableEdgeAI, [switch]$DisableEdgeAI,
@@ -998,8 +999,8 @@ function DisplayCustomModeOptions {
Do { Do {
Write-Host "Options:" -ForegroundColor Yellow Write-Host "Options:" -ForegroundColor Yellow
Write-Host " (n) Don't disable any AI features" -ForegroundColor Yellow Write-Host " (n) Don't disable any AI features" -ForegroundColor Yellow
Write-Host " (1) Disable Microsoft Copilot and Windows Recall snapshots" -ForegroundColor Yellow Write-Host " (1) Disable Microsoft Copilot, Windows Recall and Click to Do" -ForegroundColor Yellow
Write-Host " (2) Disable Microsoft Copilot, Windows Recall snapshots and AI features in Microsoft Edge, Paint and Notepad" -ForegroundColor Yellow Write-Host " (2) Disable Microsoft Copilot, Windows Recall, Click to Do and AI features in Microsoft Edge, Paint and Notepad" -ForegroundColor Yellow
$DisableAIInput = Read-Host "Do you want to disable any AI features? This applies to all users (n/1/2)" $DisableAIInput = Read-Host "Do you want to disable any AI features? This applies to all users (n/1/2)"
} }
while ($DisableAIInput -ne 'n' -and $DisableAIInput -ne '0' -and $DisableAIInput -ne '1' -and $DisableAIInput -ne '2') while ($DisableAIInput -ne 'n' -and $DisableAIInput -ne '0' -and $DisableAIInput -ne '1' -and $DisableAIInput -ne '2')
@@ -1009,10 +1010,12 @@ function DisplayCustomModeOptions {
'1' { '1' {
AddParameter 'DisableCopilot' 'Disable & remove Microsoft Copilot' AddParameter 'DisableCopilot' 'Disable & remove Microsoft Copilot'
AddParameter 'DisableRecall' 'Disable Windows Recall snapshots' AddParameter 'DisableRecall' 'Disable Windows Recall snapshots'
AddParameter 'DisableClickToDo' 'Disable Click to Do (AI text & image analysis)'
} }
'2' { '2' {
AddParameter 'DisableCopilot' 'Disable & remove Microsoft Copilot' AddParameter 'DisableCopilot' 'Disable & remove Microsoft Copilot'
AddParameter 'DisableRecall' 'Disable Windows Recall snapshots' AddParameter 'DisableRecall' 'Disable Windows Recall snapshots'
AddParameter 'DisableClickToDo' 'Disable Click to Do (AI text & image analysis)'
AddParameter 'DisableEdgeAI' 'Disable AI features in Edge' AddParameter 'DisableEdgeAI' 'Disable AI features in Edge'
AddParameter 'DisablePaintAI' 'Disable AI features in Paint' AddParameter 'DisablePaintAI' 'Disable AI features in Paint'
AddParameter 'DisableNotepadAI' 'Disable AI features in Notepad' AddParameter 'DisableNotepadAI' 'Disable AI features in Notepad'
@@ -1776,6 +1779,10 @@ switch ($script:Params.Keys) {
RegImport "> Disabling Windows Recall snapshots..." "Disable_AI_Recall.reg" RegImport "> Disabling Windows Recall snapshots..." "Disable_AI_Recall.reg"
continue continue
} }
'DisableClickToDo' {
RegImport "> Disabling Click to Do (AI text & image analysis)..." "Disable_Click_to_Do.reg"
continue
}
'DisableEdgeAI' { 'DisableEdgeAI' {
RegImport "> Disabling AI features in Microsoft Edge..." "Disable_Edge_AI_Features.reg" RegImport "> Disabling AI features in Microsoft Edge..." "Disable_Edge_AI_Features.reg"
continue continue