Add option to disable AI features in Paint & Notepad

This commit is contained in:
Raphire
2025-08-01 21:21:38 +02:00
parent 9c92f30160
commit 1cf461940d
11 changed files with 98 additions and 11 deletions

View File

@@ -14,10 +14,12 @@ Telemetry, Tracking & Suggested Content
- Disable tips, tricks, suggestions & ads across Windows. - Disable tips, tricks, suggestions & ads across Windows.
- Disable the 'Windows Spotlight' desktop background option. - Disable the 'Windows Spotlight' desktop background option.
Bing, Copilot & More 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. (W11 only) - Disable & remove Microsoft Copilot. (W11 only)
- Disable Windows Recall snapshots. (W11 only) - Disable Windows Recall snapshots. (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.
@@ -45,7 +47,7 @@ Taskbar
- Enable the 'Last Active Click' behavior in the taskbar app area. - Enable the 'Last Active Click' behavior in the taskbar app area.
Start Start
- Disable & hide the recommended section in the start menu. (W11 only) - Disable the recommended section in the start menu. (W11 only)
- Disable the Phone Link mobile devices integration in the start menu. (W11 only) - Disable the Phone Link mobile devices integration in the start menu. (W11 only)
Other Other

View File

@@ -38,6 +38,8 @@ param (
[switch]$DisableStartPhoneLink, [switch]$DisableStartPhoneLink,
[switch]$DisableCopilot, [switch]$DisableCopilot,
[switch]$DisableRecall, [switch]$DisableRecall,
[switch]$DisablePaintAI,
[switch]$DisableNotepadAI,
[switch]$DisableWidgets, [switch]$HideWidgets, [switch]$DisableWidgets, [switch]$HideWidgets,
[switch]$DisableChat, [switch]$HideChat, [switch]$DisableChat, [switch]$HideChat,
[switch]$EnableEndTask, [switch]$EnableEndTask,

View File

@@ -104,11 +104,13 @@ Below is an overview of the key features and functionality offered by Win11Deblo
- Disable tips, tricks, suggestions and ads in start, settings, notifications, File Explorer, and on the lockscreen. - Disable tips, tricks, suggestions and ads in start, settings, notifications, File Explorer, and on the lockscreen.
- Disable the 'Windows Spotlight' desktop background option. - Disable the 'Windows Spotlight' desktop background option.
#### Bing Web Search, Copilot & More #### 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. (W11 only) - Disable & remove Microsoft Copilot. (W11 only)
- Disable Windows Recall snapshots. (W11 only) - Disable Windows Recall snapshots. (W11 only)
- Disable AI Features in Paint (W11 only)
- Disable AI Features in Notepad (W11 only)
#### Personalisation #### Personalisation
@@ -139,7 +141,8 @@ Below is an overview of the key features and functionality offered by Win11Deblo
- Enable the 'Last Active Click' behavior in the taskbar app area. This allows you to repeatedly click on an application's icon in the taskbar to switch focus between multiple active windows for that application. - Enable the 'Last Active Click' behavior in the taskbar app area. This allows you to repeatedly click on an application's icon in the taskbar to switch focus between multiple active windows for that application.
#### Start #### Start
- Disable & hide the recommended section in the start menu. (W11 only)
- Disable the recommended section in the start menu. (W11 only)
- Disable the Phone Link mobile devices integration in the start menu. (W11 only) - Disable the Phone Link mobile devices integration in the start menu. (W11 only)
#### Other #### Other

View File

@@ -8,3 +8,6 @@ Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsAI] [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsAI]
"AllowRecallEnablement"=dword:00000000 "AllowRecallEnablement"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsAI]
"TurnOffSavingSnapshots"=dword:00000001

View File

@@ -0,0 +1,4 @@
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\WindowsNotepad]
"DisableAIFeatures"=dword:00000001

View File

@@ -0,0 +1,16 @@
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Paint]
"DisableCocreator"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Paint]
"DisableGenerativeFill"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Paint]
"DisableImageCreator"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Paint]
"DisableGenerativeErase"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Paint]
"DisableRemoveBackground"=dword:00000001

View File

@@ -0,0 +1,4 @@
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\WindowsNotepad]
"DisableAIFeatures"=dword:00000001

View File

@@ -0,0 +1,13 @@
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Paint]
"DisableCocreator"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Paint]
"DisableGenerativeFill"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Paint]
"DisableImageCreator"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Paint]
"DisableGenerativeErase"=dword:00000001

View File

@@ -0,0 +1,4 @@
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\WindowsNotepad]
"DisableAIFeatures"=-

View File

@@ -0,0 +1,7 @@
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Paint]
"DisableCocreator"=-
"DisableGenerativeFill"=-
"DisableImageCreator"=-
"DisableGenerativeErase"=-

View File

@@ -40,6 +40,8 @@ param (
[switch]$DisableStartPhoneLink, [switch]$DisableStartPhoneLink,
[switch]$DisableCopilot, [switch]$DisableCopilot,
[switch]$DisableRecall, [switch]$DisableRecall,
[switch]$DisablePaintAI,
[switch]$DisableNotepadAI,
[switch]$DisableWidgets, [switch]$HideWidgets, [switch]$DisableWidgets, [switch]$HideWidgets,
[switch]$DisableChat, [switch]$HideChat, [switch]$DisableChat, [switch]$HideChat,
[switch]$EnableEndTask, [switch]$EnableEndTask,
@@ -899,9 +901,28 @@ function DisplayCustomModeOptions {
if ($WinVersion -ge 22621) { if ($WinVersion -ge 22621) {
Write-Output "" Write-Output ""
if ($( Read-Host -Prompt "Disable & remove Microsoft Copilot and Windows Recall snapshots? This applies to all users (y/n)" ) -eq 'y') { # Show options for disabling/removing AI features, only continue on valid input
AddParameter 'DisableCopilot' 'Disable and remove Microsoft Copilot' Do {
AddParameter 'DisableRecall' 'Disable and remove Windows Recall snapshots' Write-Host "Options:" -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 " (2) Disable Microsoft Copilot, Windows Recall snapshots and AI features in Paint and Notepad" -ForegroundColor Yellow
$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')
# Select correct option based on user input
switch ($DisableAIInput) {
'1' {
AddParameter 'DisableCopilot' 'Disable & remove Microsoft Copilot'
AddParameter 'DisableRecall' 'Disable Windows Recall snapshots'
}
'2' {
AddParameter 'DisableCopilot' 'Disable & remove Microsoft Copilot'
AddParameter 'DisableRecall' 'Disable Windows Recall snapshots'
AddParameter 'DisablePaintAI' 'Disable AI features in Paint'
AddParameter 'DisableNotepadAI' 'Disable AI features in Notepad'
}
} }
} }
@@ -1014,8 +1035,8 @@ function DisplayCustomModeOptions {
Write-Output "" Write-Output ""
if ($( Read-Host -Prompt " Disable & hide the recommended section in the start menu? This applies to all users (y/n)" ) -eq 'y') { if ($( Read-Host -Prompt " Disable the recommended section in the start menu? This applies to all users (y/n)" ) -eq 'y') {
AddParameter 'DisableStartRecommended' 'Disable & hide the recommended section in the start menu.' AddParameter 'DisableStartRecommended' 'Disable the recommended section in the start menu.'
} }
Write-Output "" Write-Output ""
@@ -1576,7 +1597,7 @@ switch ($script:Params.Keys) {
continue continue
} }
'DisableCopilot' { 'DisableCopilot' {
RegImport "> Disabling & removing Microsoft Copilot..." "Disable_Copilot.reg" RegImport "> Disabling Microsoft Copilot..." "Disable_Copilot.reg"
# Also remove the app package for Copilot # Also remove the app package for Copilot
$appsList = 'Microsoft.Copilot' $appsList = 'Microsoft.Copilot'
@@ -1587,6 +1608,14 @@ switch ($script:Params.Keys) {
RegImport "> Disabling Windows Recall snapshots..." "Disable_AI_Recall.reg" RegImport "> Disabling Windows Recall snapshots..." "Disable_AI_Recall.reg"
continue continue
} }
'DisablePaintAI' {
RegImport "> Disabling AI features in Paint..." "Disable_Paint_AI_Features.reg"
continue
}
'DisableNotepadAI' {
RegImport "> Disabling AI features in Notepad..." "Disable_Notepad_AI_Features.reg"
continue
}
'RevertContextMenu' { 'RevertContextMenu' {
RegImport "> Restoring the old Windows 10 style context menu..." "Disable_Show_More_Options_Context_Menu.reg" RegImport "> Restoring the old Windows 10 style context menu..." "Disable_Show_More_Options_Context_Menu.reg"
continue continue
@@ -1624,7 +1653,7 @@ switch ($script:Params.Keys) {
continue continue
} }
'DisableStartRecommended' { 'DisableStartRecommended' {
RegImport "> Disabling and hiding the start menu recommended section..." "Disable_Start_Recommended.reg" RegImport "> Disabling the start menu recommended section..." "Disable_Start_Recommended.reg"
continue continue
} }
'DisableStartPhoneLink' { 'DisableStartPhoneLink' {