cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to kill the process which is listed under background process in Task manager

Anonymous
Not applicable
Hi,  I'm trying to kill one process which is coming under background process list in task manager. but, BP not killing the process. The process belongs to an exe file. Please help.
7 REPLIES 7

AnatoliyBanniko
Level 4
Hi. What function do you use for killing the process? 

Anonymous
Not applicable
Using Kill available under environment Objects

Did you find a work around for this?

------------------------------
Jon Lloyd
RPA Developer
CGI
Europe/London
------------------------------

We had the same issue when the Kill Process action in Utility - Environment did not end the processes as expected but neither returned an error.
Instead we now use Start Proces in Utility Environment with:
Application: "taskkill"
Arguments: "/IM <processname> /f"

https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/taskkill

------------------------------
Walter Koller
Solution Manager
Erste Group IT International GmbH
Europe/Vienna
------------------------------

Try the KILL PROCESS action using the application name without the '.exe'. As an example, use 'AcroRd32' for Acrobat Reader instead of 'AcroRd32.exe'.

------------------------------
Gaetan Viau
Developer
CGI
America/Toronto
------------------------------

 

Walter Koller, thanks so much for sharing your solution!  This solution worked perfectly first time.

We had the same issue when the Kill Process action in Utility - Environment did not end the processes as expected but neither returned an error.
Instead we now use Start Proces in Utility Environment with:
Application: "taskkill"
Arguments: "/IM <processname> /f"

------------------------------
Kerrie Whelan
Technology Product Owner
Lincoln Investment
America/New_York
------------------------------