Learn how to uninstall the Cortex XDR agent from a Windows endpoint.
You can uninstall the Cortex XDR agent using any of the following methods on a Windows endpoint:
From the Cortex XDR management console. Refer to Uninstall the Cortex XDR Agent in the Administrator’s Guide for your Cortex XDR license type.
After you uninstall the agent, the endpoint is no longer protected by the Security policy of your company and the license returns to the pool of available licenses.
Manually Uninstall the Cortex XDR Agent for Windows
Use the following workflow to manually uninstall the Cortex XDR agent. If you intend to use Cytool in Step 1, ensure that you know the uninstall password before performing this procedure.
Use one of the following methods to disable the Cortex XDR agent security protection on the endpoint:
Run the
Cytool protect disable
command.Apply an Agent Settings profile that disables XDR Agent Tampering Protection on the endpoint.
Select
→ → → .Select Cortex XDR from the list and then Uninstall.
When prompted to continue uninstalling, click Yes and acknowledge any notifications.
Uninstall the Cortex XDR Agent for Windows Using Msiexec
Use the following workflow to uninstall the Cortex XDR agent using Msiexec. If you intend to use Cytool in Step 1, ensure that you know the uninstall password before performing this procedure.
If you are uninstalling XDR Agent using the MSI file via SCCM or another software management system, use one of the following methods to disable the Cortex XDR agent security protection on the endpoint:
Run the
Cytool protect disable
command.Apply an Agent Settings profile that disables XDR Agent Tampering Protection on the endpoint.
Use one of the following options to open a command prompt as an administrator:
Select Command prompt and Run as administrator.
→ → . Then right-clickSelect Start. In the Start Search box, type cmd. Then, to open the command prompt as an administrator, press CTRL+ SHIFT+ ENTER.
Run the
msiexec
command followed by one or more of the following options or properties:Uninstall and logging options:
/x<installpath>\<installerfilename>.msi
—Uninstall a package./l*v <logpath>\<logfilename>.txt
—Log verbose output to a file.
For a full list of Msiexec parameters, see https://docs.microsoft.com/en-us/windows/desktop/Msi/command-line-options
For example, to uninstall the Cortex XDR agent using the cortexxdr.msi installer with the specified password and log verbose output to a file called uninstallLogFile.txt, enter the following command:
C:\Users\username>
msiexec /x c:\install\cortexxdr.msi /l*v c:\install\uninstallLogFile.txt