How to Kill multiple processes

I have Query like How to kill the multiple running processes using single kill process activity.Kindly Help me with this.

Hi @Bhaskar!
You can use “Kill process” activity with the checkbox value set to “Killprocess tree” and “Forcefully kill”.

Look for all user’s processes - allows you to find the running process in any active account.

Forcefully kill - forcibly closes the process.

Killprocess tree - closes the process and all of its running child processes.
To find out the name of the process:

Open the “Task Manager” → select the process you want → right-click on it → go to “Properties”.
image

If these multiple running processes have the same name of process, all such processes will be closed at once. You can test it if you start any application several times (for example, Notepad) and then execute the ‘Kill process’ activity once.

If these running processes are in the same tree (if one process has run another process, they become ‘child’ processes), you can use option ‘Kill process tree’ to kill all these processes.

If you need to kill several truly different processes, use a loop for it. Did you try to use a loop for multiple running processes?

Hello @Bhaskar, We would like to follow up if the solution presented above was helpful. If it was, please mark the answer as the Solution