Skip to content

Add "End task" to taskbar right-click menus — via Winaero

Registrylow riskWindows 11 23H2 and later

Puts an End task command on the right-click menu of taskbar buttons, so you can kill a frozen app without opening Task Manager. It's a built-in developer option that most people never find.

Takes effect right away

The easy way

  1. The easy way: Settings → System → For developers → turn on End task (or open ms-settings:developers).

Registry change

Double-click a .reg file and confirm to merge it. Right-click → Edit first if you want to read it, which is always a good idea with any .reg file from the internet.

Apply

Windows Registry Editor Version 5.00

; Oddbyte.Me: Add "End task" to taskbar right-click menus

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\TaskbarDeveloperSettings]
"TaskbarEndTask"=dword:00000001

Undo

Windows Registry Editor Version 5.00

; Oddbyte.Me: undo Add "End task" to taskbar right-click menus

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\TaskbarDeveloperSettings]
"TaskbarEndTask"=dword:00000000

Same thing from a command prompt

Run in a normal (non-admin) Command Prompt or Terminal.

reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\TaskbarDeveloperSettings" /v "TaskbarEndTask" /t REG_DWORD /d 1 /f

Undo:

reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\TaskbarDeveloperSettings" /v "TaskbarEndTask" /t REG_DWORD /d 0 /f
End task closes the app straight away, so any unsaved work in it is lost. Older guides list a different key (…\DeveloperSettings) that no longer applies.

Sources

Source reviewed
2026-11-02
Link checked
2026-11-02
Tested hands-on
Not by Oddbyte.Me

Oddbyte.Me hasn't tried this on every Windows build, so keep the undo handy.

end taskkill appfrozentaskbartask manager

More in Start & Taskbar