KillAppProcesses.xaml is killing processes completely from the server. Instead it should kill process only for current user.
is there any way to kill any process owned by current user only??
KillAppProcesses.xaml is killing processes completely from the server. Instead it should kill process only for current user.
is there any way to kill any process owned by current user only??
Hi,
i had the same issue and ended up using a .bat file containing following command
taskkill /F /T /FI âUSERNAME eq %USERNAME%â /IM âyourprocessâ
you can invoke this file using âStart Processâ activity and passing the path to the file.
Please bear in mind that this is asynchronous, therefore it will not wait for completion of the bat file to continue execution of your UiPath process
Hi,
Please try this activity will serve the purpose: Kill Process for Current User - RPA Component | UiPath Marketplace
Hi Lalit,
I can see this activity supports only widows server 2016. I think it wonât support 2012 R2
Hi Sourabh,
Ideally it should work but we did not test it for Server 2011 R2 so you can try and revert with any error or exception it is throwing and we try to add those dependencies in it.
Hi,
We added an option in kill process activity to kill process per user, and per session(useful for PiP, since user is same from parent session).
This is from 21.4 System Activity pack. 21.4-beta is already available in the official feed.