This script locates gets the 'main' hwnd for the current (injected) process, and sets a unique AppId on that window, ensuring the taskbar will show it as a unique button.
- Install Frida (
npm install -g frida frida-compile
) - Execute
compile.cmd
to merge the scripts - Execute
run.cmd
to launch and attach Frida - Observe that
notepad.exe
has a unique button in the taskbar, and doesn't group with other notepad.exe instances.