To enable the End Task option on the Windows 11 taskbar, open Settings → System → For developers and turn on End Task. After that, right-clicking any pinned or open app in the taskbar shows an “End task” entry that force-closes the program without opening Task Manager. The same setting can be enabled with one reg add command — useful for scripted setups.
Applies to: Windows 11 (23H2, 24H2, 25H2). Not available on Windows 10. | Last updated: April 30, 2026
Key Takeaways
- End Task on the taskbar is built into Windows 11 23H2 and later — it just is not on by default. Toggle it via Settings → System → For developers → End Task.
- The setting writes the DWORD
TaskbarEndTask=1toHKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\TaskbarDeveloperSettings, so a one-linereg addcommand does the same thing. - Right-clicking and choosing End Task force-closes the app immediately — there is no save-prompt, just like Task Manager’s End Task action.
- The feature is per-user, applies instantly without a sign-out, and is reversible by toggling the setting off (or running the reg command with value
0). - Windows 10 does not have this option — its right-click taskbar menu still requires going through Task Manager for force-close.
Quick Steps
- Right-click Start → Settings (or press Win+I).
- Open System → For developers.
- Turn on the End Task toggle.
- Right-click any app in the taskbar — “End task” appears in the menu.
In This Guide
- Method 1: Settings Toggle — fastest, no admin required.
- Method 2: Registry / reg add — for scripts and bulk deployment.
- Verifying It Works — quick test with Notepad.
- Troubleshooting — what to check if End Task does not appear.
Method 1: Settings Toggle (Recommended)

- Right-click the Start button and choose Settings, or press Win+I.
- Click System in the left sidebar.
- Scroll to the bottom and click For developers.
- Find the End Task entry and flip the toggle on.
The change is live immediately — no sign-out, no reboot. Right-click any app in the taskbar to confirm the new “End task” entry is there.
Method 2: Registry / reg add Command

The Settings toggle just writes a registry value. If you want to enable it from a script, deployment image, or the terminal, run this single line in Command Prompt or PowerShell:
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\TaskbarDeveloperSettings" /v TaskbarEndTask /t REG_DWORD /d 1 /f
To disable End Task again, run the same command with /d 0:
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\TaskbarDeveloperSettings" /v TaskbarEndTask /t REG_DWORD /d 0 /f
Manual Registry Edit (if you prefer the GUI)
- Press Win+R, type
regedit, press Enter, accept the UAC prompt. - Navigate to
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced. - If a sub-key called TaskbarDeveloperSettings does not exist, right-click Advanced → New → Key, and name it
TaskbarDeveloperSettings. - Inside TaskbarDeveloperSettings, right-click in the right pane → New → DWORD (32-bit) Value, name it
TaskbarEndTask. - Double-click TaskbarEndTask and set the value to
1to enable,0to disable.
Tip: The change applies instantly — no need to restart Explorer. Test by right-clicking any app in the taskbar.
Verifying It Works

- Open Notepad (or any other app).
- Right-click its taskbar icon.
- You should see End task at or near the bottom of the menu, just above “Close window”.
- Click End task — Notepad force-closes immediately, no save prompt.
Troubleshooting
End Task does not appear after enabling
Confirm you are on Windows 11 23H2 or later — the feature was not in 22H2. Check via Settings → System → About. If you are on an older build, run Windows Update or follow my 25H2 download guide to get current.
Can’t find “For developers” in Settings
The page is at Settings → System → For developers, not under Privacy & security. If it is missing, your Windows install is older than 23H2 or has Group Policy restrictions on the developer page.
Can’t access Registry Editor
If regedit is blocked by Group Policy (common on managed/work PCs), use the Settings toggle instead — it does not require admin and works without policy access. The reg add command also runs without admin since it modifies HKCU only.
Related Taskbar Customization
If you want more taskbar control than Windows 11 ships with — moving the taskbar to the top, restoring the Windows 10 layout, ungrouping icons — see my ExplorerPatcher guide or the paid StartAllBack guide. For transparency only, see my transparent taskbar guide.
Frequently Asked Questions
Does enabling End Task affect performance?
No. The setting just adds a menu item to the existing right-click handler — there is no background process or extra resource usage. Toggling it on or off has zero performance impact.
Does this work on Windows 10?
No. The TaskbarEndTask value and “For developers → End Task” toggle are Windows 11 23H2+ only. On Windows 10 you still need Task Manager (Ctrl+Shift+Esc) to force-close apps.
Will my unsaved work be lost if I End Task?
Yes. End Task is the same as Task Manager’s End Task — it terminates the process immediately with no save prompt. Use it for genuinely frozen apps, not as a regular close shortcut. For normal close, use the X button or Alt+F4.
Does this work on every app, even system apps?
It works on every Win32 and UWP app that appears in the taskbar — Notepad, Edge, Office, games, third-party apps. It will not appear on the taskbar itself or system tray icons (those are not app windows).
Can I deploy this to multiple PCs at once?
Yes. The reg add command above works in any deployment script (Group Policy login script, MDM Custom OMA-URI, Intune script, or a one-liner pushed via PsExec). It runs per-user under HKCU, so deploy it under each user’s context, not as SYSTEM.
