Microsoft introduced the End Task feature in the taskbar context menu on Windows 11, allowing you to easily right-click an application in the taskbar and end its task without opening Task Manager. This eliminates the need to search for the application in Task Manager to end it manually. In this blog, you will see how to enable the End Task feature in the taskbar on Windows 11.
Add the "End Task" option to the Taskbar.
Once you complete the steps, the "End task" option will appear in the Taskbar context menu.
Here are three methods we use:
- System Settings
- Registry Editor
- PowerShell
Method 1: System Settings
- Open Settings on Windows 11
- Click on System
- Click the For Developer tab
- Turn on the End Task toggle switch
Method 2: Registry Editor
- Open Registry Editor
- Navigate to the registry key
- Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
- Right-click on Advanced key and create a new Key
- Fill in the name TaskbarDeveloperSettings
- Right-click the empty area and create a new DWORD (32-bit) Value
- Fill in the name TaskbarEndTask
- Double-click the value and change the value data to 1
Method 3: PowerShell
Open PowerShell as an administrator and execute the script below to enable the End Task feature on the taskbar.
# Define the registry path
$registryPath = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\TaskbarDeveloperSettings"
# Check if the registry key exists
if (-not (Test-Path -Path $registryPath)) {
# Create the registry key if it doesn't exist
New-Item -Path $registryPath -Force | Out-Null
Write-Host Created registry key -ForegroundColor Green
}
# Set the TaskbarEndTask value to 1
Set-ItemProperty -Path $registryPath -Name "TaskbarEndTask" -Value 1
Write-Host Enabled End Task in taskbar feature -ForegroundColor Green
To check the TaskBarEndTask value, run the command below.
Value 1 means it’s enabled
Value 0 means it’s disabled
(Get-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\TaskbarDeveloperSettings").TaskBarEndTask
You discovered how to enable the End Task option directly on the taskbar in Windows 11. This feature is useful for everyone, not just developers, as it allows you to end tasks right from the taskbar without needing to open the Task Manager and search for the application. It's more convenient and saves time.
Did you like this article? You might also be interested in learning how to "Uninstall Windows Defender on Windows Server". Remember to follow us and share this article!