diff --git a/Assets/Menus/Info b/Assets/Menus/Info index c888a5d..efb319a 100644 --- a/Assets/Menus/Info +++ b/Assets/Menus/Info @@ -38,6 +38,7 @@ Taskbar & Start - Disable the widgets service & hide icon from the taskbar. - Hide the chat (meet now) icon from the taskbar. - 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 - Restore the old Windows 10 style context menu. (W11 only) @@ -46,6 +47,7 @@ Context menu Other - Disable Xbox game/screen recording, this also stops gaming overlay popups. - 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. ------------------------------------------------------------------------------------------- diff --git a/Get.ps1 b/Get.ps1 index 051cbbc..9d7a232 100644 --- a/Get.ps1 +++ b/Get.ps1 @@ -30,6 +30,7 @@ param ( [switch]$DisableRecall, [switch]$DisableWidgets, [switch]$HideWidgets, [switch]$DisableChat, [switch]$HideChat, + [switch]$EnableEndTask, [switch]$ClearStart, [switch]$ClearStartAllUsers, [switch]$RevertContextMenu, diff --git a/README.md b/README.md index 91486a6..e380429 100644 --- a/README.md +++ b/README.md @@ -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. - Hide the chat (meet now) icon from the taskbar. - 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 @@ -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) | | -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. | +| -EnableEndTask | Enable the 'End Task' option in the taskbar right click menu. | |
-DisableStartRecommended| 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) | | -HideGallery | Hide the gallery section from the File Explorer navigation pane and add a toggle in the File Explorer folder options. (Windows 11 only) | diff --git a/Regfiles/Enable_End_Task.reg b/Regfiles/Enable_End_Task.reg new file mode 100644 index 0000000..2e462cf --- /dev/null +++ b/Regfiles/Enable_End_Task.reg @@ -0,0 +1,4 @@ +Windows Registry Editor Version 5.00 + +[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\TaskbarDeveloperSettings] +"TaskbarEndTask"=dword:00000001 diff --git a/Regfiles/Sysprep/Enable_End_Task.reg b/Regfiles/Sysprep/Enable_End_Task.reg new file mode 100644 index 0000000..c509616 --- /dev/null +++ b/Regfiles/Sysprep/Enable_End_Task.reg @@ -0,0 +1,4 @@ +Windows Registry Editor Version 5.00 + +[hkey_users\default\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\TaskbarDeveloperSettings] +"TaskbarEndTask"=dword:00000001 diff --git a/Regfiles/Undo/Disable_End_Task.reg b/Regfiles/Undo/Disable_End_Task.reg new file mode 100644 index 0000000..502bc41 --- /dev/null +++ b/Regfiles/Undo/Disable_End_Task.reg @@ -0,0 +1,4 @@ +Windows Registry Editor Version 5.00 + +[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\TaskbarDeveloperSettings] +"TaskbarEndTask"=dword:00000000 diff --git a/Win11Debloat.ps1 b/Win11Debloat.ps1 index e7ed79e..cda2922 100644 --- a/Win11Debloat.ps1 +++ b/Win11Debloat.ps1 @@ -32,6 +32,7 @@ param ( [switch]$DisableRecall, [switch]$DisableWidgets, [switch]$HideWidgets, [switch]$DisableChat, [switch]$HideChat, + [switch]$EnableEndTask, [switch]$ClearStart, [switch]$ClearStartAllUsers, [switch]$RevertContextMenu, @@ -969,6 +970,15 @@ function DisplayCustomModeOptions { 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 "" @@ -1496,6 +1506,10 @@ else { RegImport "> Hiding the chat icon from the taskbar..." "Disable_Chat_Taskbar.reg" continue } + 'EnableEndTask' { + RegImport "> Enabling the 'End Task' option in the taskbar right click menu..." "Enable_End_Task.reg" + continue + } 'ExplorerToHome' { RegImport "> Changing the default location that File Explorer opens to `Home`..." "Launch_File_Explorer_To_Home.reg" continue