<?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: Auto Delete History, Cache and Cookies in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Auto-Delete-History-Cache-and-Cookies/m-p/111969#M50225</link>
    <description>&lt;P&gt;In MS Edge you can take a look at below option and try it. It deletes all history upon closing.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tejaskumar_Darji_0-1719811016411.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38797iF18A5ED59EE508B8/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Tejaskumar_Darji_0-1719811016411.png" alt="Tejaskumar_Darji_0-1719811016411.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 01 Jul 2024 05:17:52 GMT</pubDate>
    <dc:creator>Tejaskumar_Darji</dc:creator>
    <dc:date>2024-07-01T05:17:52Z</dc:date>
    <item>
      <title>Auto Delete History, Cache and Cookies</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Auto-Delete-History-Cache-and-Cookies/m-p/111951#M50222</link>
      <description>&lt;P&gt;Team,&lt;/P&gt;&lt;P&gt;Anyone developed a process to delete Browser history, cache and cookies?&lt;/P&gt;&lt;P&gt;Currently we are performing the activity manually to speed up browser. TIA.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 18:56:11 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Auto-Delete-History-Cache-and-Cookies/m-p/111951#M50222</guid>
      <dc:creator>naga007</dc:creator>
      <dc:date>2024-06-28T18:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Delete History, Cache and Cookies</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Auto-Delete-History-Cache-and-Cookies/m-p/111957#M50223</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/53442"&gt;@naga007&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;In order to achieve this, you can create a batch file by opening Notepad application and entering the below code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;:: Close Chrome if it's running
taskkill /F /IM chrome.exe &amp;gt;nul 2&amp;gt;&amp;amp;1

:: Delete browsing data
rd /s /q "%LocalAppData%\Google\Chrome\User Data\Default\Cache"
rd /s /q "%LocalAppData%\Google\Chrome\User Data\Default\Cookies"
rd /s /q "%LocalAppData%\Google\Chrome\User Data\Default\History"

:: Close Edge if it's running
taskkill /F /IM msedge.exe &amp;gt;nul 2&amp;gt;&amp;amp;1

:: Delete browsing data
rd /s /q "%LocalAppData%\Microsoft\Edge\User Data\Default\Cache"
rd /s /q "%LocalAppData%\Microsoft\Edge\User Data\Default\Cookies"
rd /s /q "%LocalAppData%\Microsoft\Edge\User Data\Default\History"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Save this file as a .bat file as in my case, I have saved it as &lt;STRONG&gt;ClearBrowserData.bat&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="devneetmohanty07_0-1719693730951.png" style="width: 999px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38789i028739B795592781/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="devneetmohanty07_0-1719693730951.png" alt="devneetmohanty07_0-1719693730951.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, in the Process Studio, you can use the&amp;nbsp;&lt;STRONG&gt;Start Process&amp;nbsp;&lt;/STRONG&gt;action from&amp;nbsp;&lt;A href="https://digitalexchange.blueprism.com/dx/entry/3439/solution/utility---environment" target="_blank" rel="noopener"&gt;Function for Utility - Environment - 10.1.1&lt;/A&gt;&amp;nbsp;business object and pass the batch file path as the parameter value for&amp;nbsp;&lt;STRONG&gt;Application&lt;/STRONG&gt; input argument:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="devneetmohanty07_1-1719694017859.png" style="width: 999px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38790i065E81CC227CF921/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="devneetmohanty07_1-1719694017859.png" alt="devneetmohanty07_1-1719694017859.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once you run this flow, it should close both Chrome and Edge browsers and should also delete caches, cookies and history.&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Hope this helps you out and if so, please mark the current thread as the 'Answer' so others can refer to the same for reference in future.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Devneet Mohanty,&lt;BR /&gt;SS&amp;amp;C Blueprism Community MVP 2024,&lt;BR /&gt;Automation Architect,&lt;BR /&gt;Wonderbotz India Pvt. Ltd.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Jun 2024 20:52:02 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Auto-Delete-History-Cache-and-Cookies/m-p/111957#M50223</guid>
      <dc:creator>devneetmohanty07</dc:creator>
      <dc:date>2024-06-29T20:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Delete History, Cache and Cookies</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Auto-Delete-History-Cache-and-Cookies/m-p/111969#M50225</link>
      <description>&lt;P&gt;In MS Edge you can take a look at below option and try it. It deletes all history upon closing.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tejaskumar_Darji_0-1719811016411.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38797iF18A5ED59EE508B8/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Tejaskumar_Darji_0-1719811016411.png" alt="Tejaskumar_Darji_0-1719811016411.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 05:17:52 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Auto-Delete-History-Cache-and-Cookies/m-p/111969#M50225</guid>
      <dc:creator>Tejaskumar_Darji</dc:creator>
      <dc:date>2024-07-01T05:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Delete History, Cache and Cookies</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Auto-Delete-History-Cache-and-Cookies/m-p/112081#M50251</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/1843"&gt;@devneetmohanty07&lt;/a&gt;&amp;nbsp;, thanks for your time. I'm getting below error while trying to run the script on Windows 2019 server. I'm I missing anything here? Getting same error even when running the whole script via batch file.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="naga007_0-1720023723615.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38830iA8ABC715D687DE85/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="naga007_0-1720023723615.png" alt="naga007_0-1720023723615.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 16:25:14 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Auto-Delete-History-Cache-and-Cookies/m-p/112081#M50251</guid>
      <dc:creator>naga007</dc:creator>
      <dc:date>2024-07-03T16:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Delete History, Cache and Cookies</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Auto-Delete-History-Cache-and-Cookies/m-p/112084#M50253</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/53442"&gt;@naga007&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Are you able to manually navigate through file explorer using the path:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;%LocalAppData%\Google\Chrome\User Data\Default\&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="devneetmohanty07_0-1720024163525.png" style="width: 999px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38831i857B026FB39EF73D/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="devneetmohanty07_0-1720024163525.png" alt="devneetmohanty07_0-1720024163525.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If no, then try to see what chrome profile you have under the User Data folder. Mine is configured on Default profile. If in your case, there is a specific username folder, then the path would change:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;%LocalAppData%\Google\Chrome\User Data\&amp;lt;User_Name&amp;gt;\&lt;/LI-CODE&gt;&lt;P&gt;See for your system where do you find the Cookies and the other folders. Change those in my provided script.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 16:32:27 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Auto-Delete-History-Cache-and-Cookies/m-p/112084#M50253</guid>
      <dc:creator>devneetmohanty07</dc:creator>
      <dc:date>2024-07-03T16:32:27Z</dc:date>
    </item>
  </channel>
</rss>

