<?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 remove Old versions of Cortex  Agent in Cortex XDR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/how-to-remove-old-versions-of-cortex-agent/m-p/1232015#M8449</link>
    <description>&lt;P&gt;Hi Arman_Zaheri,&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;First recommendation is to uninstall XDR agents from the XDR tenant console so you can do it in a bulk automated manner.&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;For the endpoints that are not accessible, the way to uninstall them is to ask TAC support for the Agent Cleaner and this is more like a manual way rebooting in safe mode, etc.. They will give you the instructions on how to uninstall together with the agent cleaner executable. Instead of using the global password you can create at the agent profile as per the operating system level and set a password for every profile and assign the target endpoints to that profiles. This last password setting by profiles is a recommended good practice from PANW.&amp;nbsp;&lt;BR /&gt;Please check the doc link:&lt;BR /&gt;&lt;A href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XDR/Cortex-XDR-Documentation/Manage-agent-tokens" target="_blank"&gt;https://docs-cortex.paloaltonetworks.com/r/Cortex-XDR/Cortex-XDR-Documentation/Manage-agent-tokens&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Additionally you have the Token creation (temporary token -you can select the maximum expiration 21 days- you can create per needs and give to your sysadmins, and rolling tokens too which are renewed automatically every 14 days by the tenant)&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;As a good practice PANW recommends to maintain your endpoints with XDR agents installed on a daily basis to prevent a kind of chaos of many agents not able to communicate with the tenant, which will cause more manual operations on the endpoints with XDR agents.&amp;nbsp;&lt;BR /&gt;As a help to reconnect non-connected agents you can use the cytool reconnect force command to force the reconnection of lost agents.&lt;BR /&gt;Please check how to use the cytool command tool at:&amp;nbsp;&lt;BR /&gt;&lt;A href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XDR/8.2/Cortex-XDR-Agent-Administrator-Guide/Cytool-for-Windows" target="_blank"&gt;https://docs-cortex.paloaltonetworks.com/r/Cortex-XDR/8.2/Cortex-XDR-Agent-Administrator-Guide/Cytool-for-Windows&lt;/A&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Feel free to click on like the answer if this helped you.&lt;/P&gt;
&lt;P&gt;If you feel this has answered your query, please let us know by clicking like and on "mark this as a Solution". Thank you.&lt;/P&gt;
&lt;P&gt;KR,&lt;/P&gt;
&lt;P&gt;Luis&lt;/P&gt;</description>
    <pubDate>Wed, 18 Jun 2025 09:32:10 GMT</pubDate>
    <dc:creator>eluis</dc:creator>
    <dc:date>2025-06-18T09:32:10Z</dc:date>
    <item>
      <title>How to remove Old versions of Cortex  Agent</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/how-to-remove-old-versions-of-cortex-agent/m-p/1232008#M8448</link>
      <description>&lt;P data-start="249" data-end="264"&gt;Hello everyone,&lt;/P&gt;
&lt;P data-start="249" data-end="264"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="266" data-end="464"&gt;We're facing issues upgrading older versions of the Cortex agent on Windows endpoints — particularly versions 7.x and in some cases 8.x. These agents fail to upgrade both automatically and manually.&lt;/P&gt;
&lt;P data-start="466" data-end="809"&gt;Requesting a cleaner for each minor version and sharing the uninstall/disable password with IT support is not only time-consuming but also raises security concerns. Things become even more complicated when using the cleaner in safe mode, where there's often no network access — requiring us to hand over the password just to disable the agent.&lt;/P&gt;
&lt;P data-start="811" data-end="966"&gt;Is there any streamlined or supported method to remove outdated Cortex agents more efficiently, &lt;STRONG data-start="907" data-end="918"&gt;without&lt;/STRONG&gt; having to go through all of these manual steps?&lt;/P&gt;
&lt;P data-start="811" data-end="966"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="968" data-end="1026"&gt;Any suggestions or best practices are greatly appreciated.&lt;/P&gt;
&lt;P data-start="968" data-end="1026"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="1028" data-end="1046"&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jun 2025 08:45:02 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/how-to-remove-old-versions-of-cortex-agent/m-p/1232008#M8448</guid>
      <dc:creator>Arman_Zaheri</dc:creator>
      <dc:date>2025-06-18T08:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove Old versions of Cortex  Agent</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/how-to-remove-old-versions-of-cortex-agent/m-p/1232015#M8449</link>
      <description>&lt;P&gt;Hi Arman_Zaheri,&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;First recommendation is to uninstall XDR agents from the XDR tenant console so you can do it in a bulk automated manner.&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;For the endpoints that are not accessible, the way to uninstall them is to ask TAC support for the Agent Cleaner and this is more like a manual way rebooting in safe mode, etc.. They will give you the instructions on how to uninstall together with the agent cleaner executable. Instead of using the global password you can create at the agent profile as per the operating system level and set a password for every profile and assign the target endpoints to that profiles. This last password setting by profiles is a recommended good practice from PANW.&amp;nbsp;&lt;BR /&gt;Please check the doc link:&lt;BR /&gt;&lt;A href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XDR/Cortex-XDR-Documentation/Manage-agent-tokens" target="_blank"&gt;https://docs-cortex.paloaltonetworks.com/r/Cortex-XDR/Cortex-XDR-Documentation/Manage-agent-tokens&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Additionally you have the Token creation (temporary token -you can select the maximum expiration 21 days- you can create per needs and give to your sysadmins, and rolling tokens too which are renewed automatically every 14 days by the tenant)&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;As a good practice PANW recommends to maintain your endpoints with XDR agents installed on a daily basis to prevent a kind of chaos of many agents not able to communicate with the tenant, which will cause more manual operations on the endpoints with XDR agents.&amp;nbsp;&lt;BR /&gt;As a help to reconnect non-connected agents you can use the cytool reconnect force command to force the reconnection of lost agents.&lt;BR /&gt;Please check how to use the cytool command tool at:&amp;nbsp;&lt;BR /&gt;&lt;A href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XDR/8.2/Cortex-XDR-Agent-Administrator-Guide/Cytool-for-Windows" target="_blank"&gt;https://docs-cortex.paloaltonetworks.com/r/Cortex-XDR/8.2/Cortex-XDR-Agent-Administrator-Guide/Cytool-for-Windows&lt;/A&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Feel free to click on like the answer if this helped you.&lt;/P&gt;
&lt;P&gt;If you feel this has answered your query, please let us know by clicking like and on "mark this as a Solution". Thank you.&lt;/P&gt;
&lt;P&gt;KR,&lt;/P&gt;
&lt;P&gt;Luis&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jun 2025 09:32:10 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/how-to-remove-old-versions-of-cortex-agent/m-p/1232015#M8449</guid>
      <dc:creator>eluis</dc:creator>
      <dc:date>2025-06-18T09:32:10Z</dc:date>
    </item>
  </channel>
</rss>

