<?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 RE: How to kill all chrome instances in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/How-to-kill-all-chrome-instances/m-p/92265#M42089</link>
    <description>Hi Vivek,&lt;BR /&gt;&lt;BR /&gt;It's not working for me. Can you please suggest, where I might be wrong. Thank you.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Simanchala Pattanayak&lt;BR /&gt;Lead Solution Advisor&lt;BR /&gt;Deloitte USI&lt;BR /&gt;Bangalore&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Tue, 08 Nov 2022 18:36:00 GMT</pubDate>
    <dc:creator>SimanchalaPatt1</dc:creator>
    <dc:date>2022-11-08T18:36:00Z</dc:date>
    <item>
      <title>How to kill all chrome instances</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-kill-all-chrome-instances/m-p/92260#M42084</link>
      <description>Is there any way to kill all instances of chrome open?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Esteban Montesinos&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sun, 11 Oct 2020 01:46:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-kill-all-chrome-instances/m-p/92260#M42084</guid>
      <dc:creator>EstebanMontesi1</dc:creator>
      <dc:date>2020-10-11T01:46:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to kill all chrome instances</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-kill-all-chrome-instances/m-p/92261#M42085</link>
      <description>You will probably need to use either code stages or batch files (tasklist + taskkill command?) to do this.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;James Man&lt;BR /&gt;Professional Services&lt;BR /&gt;Blue Prism&lt;BR /&gt;Asia/Hong_Kong&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Oct 2020 01:04:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-kill-all-chrome-instances/m-p/92261#M42085</guid>
      <dc:creator>james.man</dc:creator>
      <dc:date>2020-10-12T01:04:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to kill all chrome instances</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-kill-all-chrome-instances/m-p/92262#M42086</link>
      <description>What code will be needed on the code stage?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Esteban Montesinos&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Oct 2020 04:33:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-kill-all-chrome-instances/m-p/92262#M42086</guid>
      <dc:creator>EstebanMontesi1</dc:creator>
      <dc:date>2020-10-12T04:33:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to kill all chrome instances</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-kill-all-chrome-instances/m-p/92263#M42087</link>
      <description>Simple use "Utility -Environment" --&amp;gt; Kill process with "chrome" as input.&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="24354.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/24488iEB1C20FDBB719C21/image-size/large?v=v2&amp;amp;px=999" role="button" title="24354.png" alt="24354.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Vivek Goel&lt;BR /&gt;Register for "The" RPACULT 2020- The Unique RPA Hackathon of 2020. &lt;BR /&gt;&lt;A href="https://rpatools.com/the-rpacult/" target="test_blank"&gt;https://rpatools.com/the-rpacult/&lt;/A&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Oct 2020 05:15:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-kill-all-chrome-instances/m-p/92263#M42087</guid>
      <dc:creator>vivek.kumar.goel</dc:creator>
      <dc:date>2020-10-12T05:15:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to kill all chrome instances</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-kill-all-chrome-instances/m-p/92264#M42088</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can achieve this using below method.&lt;BR /&gt;&lt;BR /&gt;1.using navigate stage - select root element in navigate stage and select terminate from drop down action.&lt;BR /&gt;2.using action stage - select utility Environment vbo and select action kill process ( Parameter will be "Chrome")&lt;BR /&gt;&lt;BR /&gt;I hope it will help.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Nilesh Jadhav &lt;BR /&gt;Senior RPA Specialist&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Oct 2020 21:24:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-kill-all-chrome-instances/m-p/92264#M42088</guid>
      <dc:creator>NileshJadhavBP</dc:creator>
      <dc:date>2020-10-12T21:24:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to kill all chrome instances</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-kill-all-chrome-instances/m-p/92265#M42089</link>
      <description>Hi Vivek,&lt;BR /&gt;&lt;BR /&gt;It's not working for me. Can you please suggest, where I might be wrong. Thank you.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Simanchala Pattanayak&lt;BR /&gt;Lead Solution Advisor&lt;BR /&gt;Deloitte USI&lt;BR /&gt;Bangalore&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Nov 2022 18:36:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-kill-all-chrome-instances/m-p/92265#M42089</guid>
      <dc:creator>SimanchalaPatt1</dc:creator>
      <dc:date>2022-11-08T18:36:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to kill all chrome instances</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-kill-all-chrome-instances/m-p/92266#M42090</link>
      <description>Can you please share a screenshot of your "kill process" properties?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Michael Annis&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Nov 2022 15:31:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-kill-all-chrome-instances/m-p/92266#M42090</guid>
      <dc:creator>MichaelAnnis1</dc:creator>
      <dc:date>2022-11-09T15:31:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to kill all chrome instances</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-kill-all-chrome-instances/m-p/92267#M42091</link>
      <description>Hello Annis,&lt;BR /&gt;&lt;BR /&gt;Sorry, can't share the screenshots due to security concern. Let me brief the issue bit more.&lt;BR /&gt;We can able to close the Chrome instance in our PROD environment, but in DEV the Kill Process is not working. It's not throwing any error, it's just crossing the stage without closing the Chrome.&lt;BR /&gt;&lt;BR /&gt;FYI:&lt;BR /&gt;BP Version: 6.10.4&lt;BR /&gt;Chrome 107&lt;BR /&gt;Chrome Extension: 6.10.4&lt;BR /&gt;&lt;BR /&gt;Kindly advise.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Simanchala Pattanayak&lt;BR /&gt;Lead Solution Advisor&lt;BR /&gt;Deloitte USI&lt;BR /&gt;Bangalore&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Nov 2022 17:33:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-kill-all-chrome-instances/m-p/92267#M42091</guid>
      <dc:creator>SimanchalaPatt1</dc:creator>
      <dc:date>2022-11-10T17:33:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to kill all chrome instances</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-kill-all-chrome-instances/m-p/92268#M42092</link>
      <description>You could try via command line:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;taskkill /IM chrome.exe /F&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;Good luck!&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Michael Annis&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Nov 2022 20:32:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-kill-all-chrome-instances/m-p/92268#M42092</guid>
      <dc:creator>MichaelAnnis1</dc:creator>
      <dc:date>2022-11-10T20:32:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to kill all chrome instances</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-kill-all-chrome-instances/m-p/92269#M42093</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/30644"&gt;@SimanchalaPatta&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Utility -Environment" --&amp;gt; Kill process&amp;nbsp; uses Process.Kill.&lt;/SPAN&gt;&lt;BR /&gt;This is description of Process.Kill Method : &lt;A href="https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.process.kill?view=netframework-4.8" target="_blank" rel="noopener"&gt;Process.Kill Method (System.Diagnostics) | Microsoft Learn&lt;/A&gt;&lt;BR /&gt;It says:&lt;BR /&gt;&lt;EM&gt;WaitForExit and HasExited will indicate that exiting has completed after the given process exits, even if all descendants have not yet exited.&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;So I made Code Stage. "ProcessName" is a input argument.&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;Dim p As New System.Diagnostics.Process()&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;p.StartInfo.FileName = System.Environment.GetEnvironmentVariable("ComSpec")&lt;/CODE&gt;&lt;BR /&gt;&lt;CODE&gt;p.StartInfo.Arguments = "/c taskkill /F /T /FI ""username eq %USERNAME%"" /IM " &amp;amp; ProcessName&lt;/CODE&gt;&lt;BR /&gt;&lt;CODE&gt;p.StartInfo.UseShellExecute = false&lt;/CODE&gt;&lt;BR /&gt;&lt;CODE&gt;p.StartInfo.CreateNoWindow = true&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;p.Start()&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;p.WaitForExit()&lt;/CODE&gt;&lt;BR /&gt;&lt;CODE&gt;p.Close()&lt;/CODE&gt;&lt;/P&gt;
&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Mitsuko &lt;BR /&gt;Asia/Tokyo&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Nov 2022 05:06:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-kill-all-chrome-instances/m-p/92269#M42093</guid>
      <dc:creator>sumire</dc:creator>
      <dc:date>2022-11-11T05:06:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to kill all chrome instances</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-kill-all-chrome-instances/m-p/92270#M42094</link>
      <description>Hi Annis,&lt;BR /&gt;&lt;BR /&gt;Blue Prism is getting hang every time I used to run this. Please advise.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Simanchala Pattanayak&lt;BR /&gt;Lead Solution Advisor&lt;BR /&gt;Deloitte USI&lt;BR /&gt;Bangalore&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Nov 2022 17:14:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-kill-all-chrome-instances/m-p/92270#M42094</guid>
      <dc:creator>SimanchalaPatt1</dc:creator>
      <dc:date>2022-11-30T17:14:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to kill all chrome instances</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-kill-all-chrome-instances/m-p/92271#M42095</link>
      <description>I apologize; apparently I still have a lot to learn about Blue Prism as I haven't finished my Surface Automation training.&amp;nbsp; I find it incomprehensible that I can't even get a command line to work.&amp;nbsp; I was trying to get it to physically open a command prompt and use a Global Send Keys to the command prompt screen to bypass whatever issue you are having, but I can't get an Application Modeller to attach to the command prompt window which I opened using the Utility - Environment VBO.&amp;nbsp; The fact that I can't just use a global send keys event without an application modeller is beyond me.&amp;nbsp; It should be an internal business object...it already has to have the correct window in focus to work and should just be a basic process action.&lt;BR /&gt;&lt;BR /&gt;Sorry I couldn't help more.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Michael Annis&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Dec 2022 17:11:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-kill-all-chrome-instances/m-p/92271#M42095</guid>
      <dc:creator>MichaelAnnis1</dc:creator>
      <dc:date>2022-12-02T17:11:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to kill all chrome instances</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-kill-all-chrome-instances/m-p/92272#M42096</link>
      <description>Hi Estaban,&lt;BR /&gt;&lt;BR /&gt;In the attach objects I used multiple wild cards in the Window title to include common words (eg *https*) to attach to all instances and then Global Send Key Event&lt;BR /&gt;"{CTRL}{W}&amp;gt;{CTRL}" to close all intsances.&lt;BR /&gt;&lt;BR /&gt;I hope this helps.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Simphiwe Tshezi&lt;BR /&gt;Software Developer (RPA)&lt;BR /&gt;Altron Managed Solutions&lt;BR /&gt;Johannesburg&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Dec 2022 08:03:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-kill-all-chrome-instances/m-p/92272#M42096</guid>
      <dc:creator>SimphiweTshezi</dc:creator>
      <dc:date>2022-12-13T08:03:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to kill all chrome instances</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-kill-all-chrome-instances/m-p/92273#M42097</link>
      <description>Hi Esteban,&lt;BR /&gt;&lt;BR /&gt;Try using Utility Environment &amp;gt; Kill Process and enter "chrome.exe" in Process Name.&lt;BR /&gt;In my case I have modified the VBO a little and it kills the process and waits for it to end dynamically.&lt;BR /&gt;Here is the script -
&lt;PRE class="language-vbnet"&gt;&lt;CODE&gt;Success = False
Dim bProcFound as Boolean = True
Dim iLoop as Integer = 0
Dim myProcesses() As System.Diagnostics.Process
Dim instance As System.Diagnostics.Process
Try
	Do While bProcFound = True AND iLoop &amp;lt; timeOut
		myProcesses = System.Diagnostics.Process.GetProcessesByName(Process_Name)
		for each p as System.Diagnostics.Process in myProcesses
			if iLoop = 0 OR iLoop Mod 3 = 0 then
				try
					p.CloseMainWindow()
					p.kill()
				catch ex As Exception
					Msg &amp;amp;= iLoop &amp;amp; ":" &amp;amp; Process_Name &amp;amp; " - " &amp;amp; ex.Message 
				end Try
			end if
		next
		bProcFound = False
		For Each instance In myProcesses
			bProcFound = True
		Next
		Threading.Thread.Sleep(200)
		iloop += 0.2
	Loop
	if iLoop &amp;gt;= timeOut then Msg = "Timeout" 
	if not bProcFound then Success = True
Catch
End Try​&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;Another way to do this is using a cmd file. Create a killChrome.cmd with "taskkill /im chrome.exe /f"&lt;BR /&gt;Now use Utility Environment &amp;gt; Start Process. Use "cmd" in Application and "/c &amp;lt;path&amp;gt;\killChrome.cmd"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this Helps,&lt;BR /&gt;Regards&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;WeighyRPAMatey&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Dec 2022 08:16:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-kill-all-chrome-instances/m-p/92273#M42097</guid>
      <dc:creator>rsrivastava2</dc:creator>
      <dc:date>2022-12-13T08:16:00Z</dc:date>
    </item>
  </channel>
</rss>

