<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic I have faced this issue, in in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Kill-Process/m-p/76999#M29360</link>
    <description>I have faced this issue, in my QA environment, the kill command requires administrator permissions to kill any process, the kill process command in the kill process action is surrounded by try catch and hence that will not throw you any exceptions, if you remove that exception handling in the code stage of kill process action, then you might come to know the exact issue why it's failing to kill. Give a try.. hope this will help.</description>
    <pubDate>Fri, 24 Nov 2017 13:45:00 GMT</pubDate>
    <dc:creator>chethanmogarala1</dc:creator>
    <dc:date>2017-11-24T13:45:00Z</dc:date>
    <item>
      <title>Kill Process</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Kill-Process/m-p/76990#M29351</link>
      <description>Hello All,

I'm having a very weird issue wherein i do have a stage using "Utility - Environment, Kill Process" with parameter "iexplore" for process name. 

It's part of my exception handling wherein i kill all existing IE processes first before trying to relaunch the website and try working on the item again. 

It doesn't kill any process nor does it close the IE browser. Logs show it went to that action but for some reason it does not do anything and just relaunches IE. 

I then am left with a lot of IE browsers open and a never ending loop of it relaunching. 

I never experienced any of these when i was running on production laptops, but when we migrated it over to a server platform a lot of errors i never encountered just popped up and not to mention it is running extremely slow!! 

Any help and guidance is much appreciated

Thanks!

Brianne</description>
      <pubDate>Mon, 24 Apr 2017 12:35:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Kill-Process/m-p/76990#M29351</guid>
      <dc:creator>BrianneGacad</dc:creator>
      <dc:date>2017-04-24T12:35:00Z</dc:date>
    </item>
    <item>
      <title>Hi Brianne - if you look in</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Kill-Process/m-p/76991#M29352</link>
      <description>Hi Brianne - if you look in the code stage in the Kill action you'll see it's not doing anything fancy like re-launching, all it does is try to terminate any exe with the given name. Something else must be causing the re-launches. When you say 'server platform', hopefully you don't have more than 1 user logged into the same OS?</description>
      <pubDate>Mon, 24 Apr 2017 13:19:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Kill-Process/m-p/76991#M29352</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2017-04-24T13:19:00Z</dc:date>
    </item>
    <item>
      <title>Hey John,</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Kill-Process/m-p/76992#M29353</link>
      <description>Hey John,
Thanks for the really prompt reply
The relaunch is part of my exception handling, to try and relaunch target app and start process again. 
My main issue is within that exception handling logic, the kill IE process stage i have is not terminating any ""iexplore"" instances. Do i need to put multiple actions or loop back to the kill IE action x amount of times for it to work? 
And for the server platform bit, each user (I have 10 total virtual workers running) have its own OS. They use the same codes and the exact same queue which can be viewed from your web desktop (control room) 
Thanks for the help again!</description>
      <pubDate>Wed, 26 Apr 2017 05:39:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Kill-Process/m-p/76992#M29353</guid>
      <dc:creator>BrianneGacad</dc:creator>
      <dc:date>2017-04-26T05:39:00Z</dc:date>
    </item>
    <item>
      <title>It sounds to me like your</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Kill-Process/m-p/76993#M29354</link>
      <description>It sounds to me like your kill command is correct - and it should kill all running instances of iexplore.  So i am not sure what is happening in your case.
One point of note is that I would not usually recommend killing IEXPLORE in this way - because it the process often used by lots of different applications.  So killing your application could also kill other applications that are running fine - this could cause issue for other people using your objects in their process if they are also using other browser apps.
The only truely safe place to kill iexplore would be at the start of your process when you know no applications should be running.
Have you tried a cleaner close logic where you terminate the session you are attached to using terminate in a navigate stage.</description>
      <pubDate>Wed, 26 Apr 2017 13:39:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Kill-Process/m-p/76993#M29354</guid>
      <dc:creator>Denis__Dennehy</dc:creator>
      <dc:date>2017-04-26T13:39:00Z</dc:date>
    </item>
    <item>
      <title>Kill is, as it sounds, a</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Kill-Process/m-p/76994#M29355</link>
      <description>Kill is, as it sounds, a brutal way of closing an application. Often it's better to close down more like a user would, eg by closing the main IE window. When restarting you have to be careful not to relaunch too soon, before the previous instance has gone - some apps don't close as fast as you think. The simplest option is to pause before the relaunch, or better still, wait for the detach from the previous instance. The way to do this is to turn in a loop, checking IsConnected every second. When it returns False, go to the End. If you've waited too long and it still returns True, something is wrong.</description>
      <pubDate>Wed, 26 Apr 2017 14:18:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Kill-Process/m-p/76994#M29355</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2017-04-26T14:18:00Z</dc:date>
    </item>
    <item>
      <title>Recently, I come across</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Kill-Process/m-p/76995#M29356</link>
      <description>Recently, I come across similar situation and I found that killing iexplore is the quickest way to deal with application issues (except for 1 error which has a retry button).
Turned out to be that a Virtual Machine (VM) was running iexplore in background which could only be closed as administrator.
This can be tested form command prompt - Start &amp;gt; Run ""cmd"" type ""tasklist"" and look for iexplore.
To clarify, even if task manager in Windows does not show it as running the command prompt window will.
You can test it to see if an admin permission is required by using TASKKILL /F /IM  iexplore.exe /T
(please note that it will close a browser, if you reading this message in ie).
For me the solution was to close IE 6 times and then continuing running the process.
On some occasions IE have tried to recover from being closed in such a manner, hence as the people above say, this is not necessarily a good way of closing the application, but it fits some of the circumstances.</description>
      <pubDate>Thu, 07 Sep 2017 12:56:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Kill-Process/m-p/76995#M29356</guid>
      <dc:creator>ivan.gordeyev</dc:creator>
      <dc:date>2017-09-07T12:56:00Z</dc:date>
    </item>
    <item>
      <title>Hi All,</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Kill-Process/m-p/76996#M29357</link>
      <description>Hi All,
I was facing same issue 'Utility - Environment, Kill Process' not working to kill IE however i just remove "".exe"" from input parameter.(just put iexplore)
Now its working fine.
hope it will help you</description>
      <pubDate>Thu, 05 Oct 2017 15:33:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Kill-Process/m-p/76996#M29357</guid>
      <dc:creator>NileshJadhav2</dc:creator>
      <dc:date>2017-10-05T15:33:00Z</dc:date>
    </item>
    <item>
      <title>Hi, I just encountered this</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Kill-Process/m-p/76997#M29358</link>
      <description>Hi, I just encountered this issue too with IE. I've experimented with a simple process on multiple machines where the only action is to kill IE. For one particular machine, ""Utility - Environment"" &amp;gt;&amp;gt; ""Kill Process"" doesn't work. I've tried ""iexplore"" and ""iexplore.exe"" as the parameter, and IE just doesn't want to shut down. But for some reason, it's working perfectly fine on my other computers that are effectively set up identically. Any suggestions here?</description>
      <pubDate>Wed, 22 Nov 2017 05:14:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Kill-Process/m-p/76997#M29358</guid>
      <dc:creator>WesGrey</dc:creator>
      <dc:date>2017-11-22T05:14:00Z</dc:date>
    </item>
    <item>
      <title>I've seen this before. I</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Kill-Process/m-p/76998#M29359</link>
      <description>I've seen this before. I always use a clean up stage (nice name for kill) at the start of my process to get rid of straddling instances. Always have a short sleep afterwards before trying to launch as iexplore can take time to actually die. ""iexplore"" not ""iexplore.exe"" in the kill action</description>
      <pubDate>Fri, 24 Nov 2017 02:18:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Kill-Process/m-p/76998#M29359</guid>
      <dc:creator>MikeHiggs</dc:creator>
      <dc:date>2017-11-24T02:18:00Z</dc:date>
    </item>
    <item>
      <title>I have faced this issue, in</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Kill-Process/m-p/76999#M29360</link>
      <description>I have faced this issue, in my QA environment, the kill command requires administrator permissions to kill any process, the kill process command in the kill process action is surrounded by try catch and hence that will not throw you any exceptions, if you remove that exception handling in the code stage of kill process action, then you might come to know the exact issue why it's failing to kill. Give a try.. hope this will help.</description>
      <pubDate>Fri, 24 Nov 2017 13:45:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Kill-Process/m-p/76999#M29360</guid>
      <dc:creator>chethanmogarala1</dc:creator>
      <dc:date>2017-11-24T13:45:00Z</dc:date>
    </item>
    <item>
      <title>Hi,…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Kill-Process/m-p/77000#M29361</link>
      <description>Hi,
I have a similar problem. I have&amp;nbsp;a&amp;nbsp;process with&amp;nbsp;an .exe that BP recognises as&amp;nbsp;'Exists' but 'Kill Process' has no effect so will result in an infinite loop if not handled.
Even when stepping through the action it has no effect so I don't believe its anything to do with a delay as I can wait for hours and the application remains active.
I've been trying to work around the issue by terminating the program but this causes a scenario where multiple instances&amp;nbsp;are&amp;nbsp;being held of another program which then causes the process to fail to launch.
Any ideas?
Paul.</description>
      <pubDate>Wed, 17 Jan 2018 21:10:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Kill-Process/m-p/77000#M29361</guid>
      <dc:creator>Paul.Curran</dc:creator>
      <dc:date>2018-01-17T21:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: Kill Process</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Kill-Process/m-p/116965#M52349</link>
      <description>&lt;P&gt;Hello Brianne,&lt;/P&gt;&lt;P&gt;I just had a similar case with this working on a client platform. As already mentioned by others the code here in the Utility is meant to close out all instances found of a program name given. So for example with iexplore it would then close out every instance you have of Internet Explorer. However this code is not compatible to when there are multiple users left logged into a machine. For your case any anyone else seeing this would recommend double checking in task manager how many users are logged in. Here is an example of one user:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="aarondiaz_0-1731962282612.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39847i2144180C3C87D834/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="aarondiaz_0-1731962282612.png" alt="aarondiaz_0-1731962282612.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;If you have a case where it shows other users for example but are disconnected this will cause the code to attempt but be unable to close the application due to not being able to make sure it is on the current user only it will then accept the kill command and then move on which would result in the performance, you have reported. Let us know if this resolves the issue for you or if you have only one user on the machine and still have the issue. Would be good to get a screen shot of the user's tab like I showed here &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 20:39:39 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Kill-Process/m-p/116965#M52349</guid>
      <dc:creator>aaron.diaz</dc:creator>
      <dc:date>2024-11-18T20:39:39Z</dc:date>
    </item>
  </channel>
</rss>

