<?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>article EPM Uninstall Using Remote Powershell in Endpoint Privilege Manager (EPM) Articles</title>
    <link>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/epm-uninstall-using-remote-powershell/ta-p/1428299</link>
    <description>Many customers use a remote PowerShell shell to perform actions on endpoints without bothering end users.&amp;nbsp; Running some EPM commands can be an issue due to the placement of quotation marks.&amp;nbsp; Here is how to run several commands remotely.

&lt;H3&gt;Steps&lt;/H3&gt;
1) Connect to the computer remotely using PowerShell&lt;BR /&gt;&lt;BR /&gt;2) Optional - run this command to get the status of Agent Self Defense before making changes&lt;BR /&gt;get-service vfpd&lt;BR /&gt;&lt;BR /&gt;3) Try to stop Agent Self Defense with the following command. &amp;nbsp;Replace the token with your actual token. &amp;nbsp;Note that double quotation marks "" are needed as shown below:&lt;BR /&gt;&lt;BR /&gt;Start-Process cmd -ArgumentList "/C ""C:\Program Files\CyberArk\Endpoint Privilege Manager\agent\vf_agent.exe"" -UseToken 1ABCEXAMPLETOKEN4567891011121314"&lt;BR /&gt;&lt;BR /&gt;4) Optional - run this command to get the status of Agent Self Defense after the stop attempt&lt;BR /&gt;&lt;BR /&gt;get-service vfpd&lt;BR /&gt;&lt;BR /&gt;if it's still running, that means step 3 failed and you can stop here. &amp;nbsp;Otherwise proceed below:&lt;BR /&gt;&lt;BR /&gt;5) Run another command to uninstall EPM. &amp;nbsp;In this example I'm using an example of uninstalling using the GUID for version 23.8.0.1415. &amp;nbsp;You'll need to either replace the GUID with the GUID for your version, or use the msiexec method that involves using the msiexec file instead&lt;BR /&gt;&lt;BR /&gt;Start-Process cmd -ArgumentList "/C MsiExec.exe /x {&lt;SPAN style="font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;003B1BE5-373A-49B5-8834-D7B6715EB98B&lt;/SPAN&gt;&lt;/SPAN&gt;} /qn"&lt;BR /&gt;&lt;BR /&gt;6) You can check the following service to confirm if EPM was removed.&amp;nbsp;&lt;BR /&gt;get-service vfdrv</description>
    <pubDate>Mon, 16 Dec 2024 18:47:34 GMT</pubDate>
    <dc:creator>CyberArkAlumni</dc:creator>
    <dc:date>2024-12-16T18:47:34Z</dc:date>
    <item>
      <title>EPM Uninstall Using Remote Powershell</title>
      <link>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/epm-uninstall-using-remote-powershell/ta-p/1428299</link>
      <description>Many customers use a remote PowerShell shell to perform actions on endpoints without bothering end users.&amp;nbsp; Running some EPM commands can be an issue due to the placement of quotation marks.&amp;nbsp; Here is how to run several commands remotely.

&lt;H3&gt;Steps&lt;/H3&gt;
1) Connect to the computer remotely using PowerShell&lt;BR /&gt;&lt;BR /&gt;2) Optional - run this command to get the status of Agent Self Defense before making changes&lt;BR /&gt;get-service vfpd&lt;BR /&gt;&lt;BR /&gt;3) Try to stop Agent Self Defense with the following command. &amp;nbsp;Replace the token with your actual token. &amp;nbsp;Note that double quotation marks "" are needed as shown below:&lt;BR /&gt;&lt;BR /&gt;Start-Process cmd -ArgumentList "/C ""C:\Program Files\CyberArk\Endpoint Privilege Manager\agent\vf_agent.exe"" -UseToken 1ABCEXAMPLETOKEN4567891011121314"&lt;BR /&gt;&lt;BR /&gt;4) Optional - run this command to get the status of Agent Self Defense after the stop attempt&lt;BR /&gt;&lt;BR /&gt;get-service vfpd&lt;BR /&gt;&lt;BR /&gt;if it's still running, that means step 3 failed and you can stop here. &amp;nbsp;Otherwise proceed below:&lt;BR /&gt;&lt;BR /&gt;5) Run another command to uninstall EPM. &amp;nbsp;In this example I'm using an example of uninstalling using the GUID for version 23.8.0.1415. &amp;nbsp;You'll need to either replace the GUID with the GUID for your version, or use the msiexec method that involves using the msiexec file instead&lt;BR /&gt;&lt;BR /&gt;Start-Process cmd -ArgumentList "/C MsiExec.exe /x {&lt;SPAN style="font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;003B1BE5-373A-49B5-8834-D7B6715EB98B&lt;/SPAN&gt;&lt;/SPAN&gt;} /qn"&lt;BR /&gt;&lt;BR /&gt;6) You can check the following service to confirm if EPM was removed.&amp;nbsp;&lt;BR /&gt;get-service vfdrv</description>
      <pubDate>Mon, 16 Dec 2024 18:47:34 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/epm-uninstall-using-remote-powershell/ta-p/1428299</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2024-12-16T18:47:34Z</dc:date>
    </item>
  </channel>
</rss>

