Resource-Aware Task Terminator
Terminate the active window process, a top resource offender, or a weighted resource-heavy app group with verified process identity and sortable usage metrics.
Author: Math Shamenson
A global-hotkey process terminator that runs in a dedicated Windhawk tool process.
It can target:
- The process that owns the foreground window.
- The highest CPU, page-fault, or read/write I/O offender measured over a sample window.
- An executable group ranked by a weighted aggregate of CPU, page faults, I/O, and working-set memory.
Safety model
This mod force-terminates processes. There is no undo and applications do not receive a
normal save/close request. Unsaved data can be lost.
Before termination, the mod:
- Excludes its own process, low system PIDs, known critical Windows processes, and names
listed in Protected applications.
- Captures each target's PID, process creation time, and full executable path.
- Re-verifies creation time and path immediately before termination using the same handle
passed to
TerminateProcess.
- Skips any target that cannot be inspected or whose identity changed.
A PID alone is never treated as process identity.
Hotkey and prompts
The default hotkey is Ctrl+Alt+F4. The multi-candidate chooser is always shown when
more than one candidate exists. Confirm before termination controls only the final
Yes/No warning; it does not bypass the chooser.
Resource metrics
- CPU is the process's percentage of total machine CPU capacity across all logical processors.
- Page faults include both soft and hard faults.
- I/O uses process read/write transfer counters. It is not limited to physical disk traffic.
- Aggregate mode may terminate multiple verified PIDs that share the same executable path.
It terminates only the PIDs displayed and confirmed; newly spawned processes are not added
silently.
Permissions
Processes that cannot be queried are treated as protected and omitted. Terminating elevated
or otherwise restricted targets may require running Windhawk elevated. The chooser reports
how many processes could not be inspected, and the result dialog reports per-PID failures.