mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2025-11-17 02:56:17 +00:00
Added option to enable 'End Task' option in the taskbar right click menu
This commit is contained in:
@@ -38,6 +38,7 @@ Taskbar & Start
|
|||||||
- Disable the widgets service & hide icon from the taskbar.
|
- Disable the widgets service & hide icon from the taskbar.
|
||||||
- Hide the chat (meet now) icon from the taskbar.
|
- Hide the chat (meet now) icon from the taskbar.
|
||||||
- Disable & hide the recommended section in the start menu. (W11 only)
|
- Disable & hide the recommended section in the start menu. (W11 only)
|
||||||
|
- Enable the 'End Task' option in the taskbar right click menu. (W11 only)
|
||||||
|
|
||||||
Context menu
|
Context menu
|
||||||
- Restore the old Windows 10 style context menu. (W11 only)
|
- Restore the old Windows 10 style context menu. (W11 only)
|
||||||
@@ -46,6 +47,7 @@ Context menu
|
|||||||
Other
|
Other
|
||||||
- Disable Xbox game/screen recording, this also stops gaming overlay popups.
|
- Disable Xbox game/screen recording, this also stops gaming overlay popups.
|
||||||
- Turn off Enhance Pointer Precision, also known as mouse acceleration.
|
- Turn off Enhance Pointer Precision, also known as mouse acceleration.
|
||||||
|
- Option to apply changes to a different user, instead of the currently logged in user.
|
||||||
- Sysprep mode to apply changes to the Windows Default user profile.
|
- Sysprep mode to apply changes to the Windows Default user profile.
|
||||||
|
|
||||||
-------------------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------------------
|
||||||
|
|||||||
1
Get.ps1
1
Get.ps1
@@ -30,6 +30,7 @@ param (
|
|||||||
[switch]$DisableRecall,
|
[switch]$DisableRecall,
|
||||||
[switch]$DisableWidgets, [switch]$HideWidgets,
|
[switch]$DisableWidgets, [switch]$HideWidgets,
|
||||||
[switch]$DisableChat, [switch]$HideChat,
|
[switch]$DisableChat, [switch]$HideChat,
|
||||||
|
[switch]$EnableEndTask,
|
||||||
[switch]$ClearStart,
|
[switch]$ClearStart,
|
||||||
[switch]$ClearStartAllUsers,
|
[switch]$ClearStartAllUsers,
|
||||||
[switch]$RevertContextMenu,
|
[switch]$RevertContextMenu,
|
||||||
|
|||||||
@@ -49,6 +49,7 @@ The script also includes many features that system administrators will enjoy. Su
|
|||||||
- Disable the widgets service & hide icon from the taskbar.
|
- Disable the widgets service & hide icon from the taskbar.
|
||||||
- Hide the chat (meet now) icon from the taskbar.
|
- Hide the chat (meet now) icon from the taskbar.
|
||||||
- Disable & hide the recommended section in the start menu. (W11 only)
|
- Disable & hide the recommended section in the start menu. (W11 only)
|
||||||
|
- Enable the 'End Task' option in the taskbar right click menu. (W11 only)
|
||||||
|
|
||||||
#### Context Menu
|
#### Context Menu
|
||||||
|
|
||||||
@@ -334,6 +335,7 @@ The quick and advanced usage methods support switch parameters. A table of all t
|
|||||||
| -HideTaskview | Hide the taskview button from the taskbar. (Windows 11 only) |
|
| -HideTaskview | Hide the taskview button from the taskbar. (Windows 11 only) |
|
||||||
| -HideChat | Hide the chat (meet now) icon from the taskbar. |
|
| -HideChat | Hide the chat (meet now) icon from the taskbar. |
|
||||||
| -DisableWidgets | Disable the widget service & hide the widget (news and interests) icon from the taskbar. |
|
| -DisableWidgets | Disable the widget service & hide the widget (news and interests) icon from the taskbar. |
|
||||||
|
| -EnableEndTask | Enable the 'End Task' option in the taskbar right click menu. |
|
||||||
| <pre>-DisableStartRecommended</pre> | Disable & hide the recommended section in the start menu. This will also change the start menu layout to `More pins`. |
|
| <pre>-DisableStartRecommended</pre> | Disable & hide the recommended section in the start menu. This will also change the start menu layout to `More pins`. |
|
||||||
| -HideHome | Hide the home section from the File Explorer navigation pane and add a toggle in the File Explorer folder options. (Windows 11 only) |
|
| -HideHome | Hide the home section from the File Explorer navigation pane and add a toggle in the File Explorer folder options. (Windows 11 only) |
|
||||||
| -HideGallery | Hide the gallery section from the File Explorer navigation pane and add a toggle in the File Explorer folder options. (Windows 11 only) |
|
| -HideGallery | Hide the gallery section from the File Explorer navigation pane and add a toggle in the File Explorer folder options. (Windows 11 only) |
|
||||||
|
|||||||
4
Regfiles/Enable_End_Task.reg
Normal file
4
Regfiles/Enable_End_Task.reg
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\TaskbarDeveloperSettings]
|
||||||
|
"TaskbarEndTask"=dword:00000001
|
||||||
4
Regfiles/Sysprep/Enable_End_Task.reg
Normal file
4
Regfiles/Sysprep/Enable_End_Task.reg
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[hkey_users\default\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\TaskbarDeveloperSettings]
|
||||||
|
"TaskbarEndTask"=dword:00000001
|
||||||
4
Regfiles/Undo/Disable_End_Task.reg
Normal file
4
Regfiles/Undo/Disable_End_Task.reg
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\TaskbarDeveloperSettings]
|
||||||
|
"TaskbarEndTask"=dword:00000000
|
||||||
@@ -32,6 +32,7 @@ param (
|
|||||||
[switch]$DisableRecall,
|
[switch]$DisableRecall,
|
||||||
[switch]$DisableWidgets, [switch]$HideWidgets,
|
[switch]$DisableWidgets, [switch]$HideWidgets,
|
||||||
[switch]$DisableChat, [switch]$HideChat,
|
[switch]$DisableChat, [switch]$HideChat,
|
||||||
|
[switch]$EnableEndTask,
|
||||||
[switch]$ClearStart,
|
[switch]$ClearStart,
|
||||||
[switch]$ClearStartAllUsers,
|
[switch]$ClearStartAllUsers,
|
||||||
[switch]$RevertContextMenu,
|
[switch]$RevertContextMenu,
|
||||||
@@ -969,6 +970,15 @@ function DisplayCustomModeOptions {
|
|||||||
AddParameter 'HideChat' 'Hide the chat (meet now) icon from the taskbar'
|
AddParameter 'HideChat' 'Hide the chat (meet now) icon from the taskbar'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Only show this options for Windows users running build 22631 or later
|
||||||
|
if ($WinVersion -ge 22631){
|
||||||
|
Write-Output ""
|
||||||
|
|
||||||
|
if ($( Read-Host -Prompt " Enable the 'End Task' option in the taskbar right click menu? (y/n)" ) -eq 'y') {
|
||||||
|
AddParameter 'EnableEndTask' "Enable the 'End Task' option in the taskbar right click menu"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Write-Output ""
|
Write-Output ""
|
||||||
@@ -1496,6 +1506,10 @@ else {
|
|||||||
RegImport "> Hiding the chat icon from the taskbar..." "Disable_Chat_Taskbar.reg"
|
RegImport "> Hiding the chat icon from the taskbar..." "Disable_Chat_Taskbar.reg"
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
'EnableEndTask' {
|
||||||
|
RegImport "> Enabling the 'End Task' option in the taskbar right click menu..." "Enable_End_Task.reg"
|
||||||
|
continue
|
||||||
|
}
|
||||||
'ExplorerToHome' {
|
'ExplorerToHome' {
|
||||||
RegImport "> Changing the default location that File Explorer opens to `Home`..." "Launch_File_Explorer_To_Home.reg"
|
RegImport "> Changing the default location that File Explorer opens to `Home`..." "Launch_File_Explorer_To_Home.reg"
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user