Skip to main content

Guardz Device Agent Uninstallation Instructions

This article describes the steps you need to take in order to remove/uninstall the Guardz device agent from your device.

Updated this week

Uninstall agent directly from the Devices page

How It Works

  1. Go to the Device page in the platform.

  2. Locate the device you want to manage.

  3. Click the Remove Device icon.

4. Select the agent you wish to uninstall (Guardz or SentinelOne)

Once initiated, the selected agent will move to a Pending Uninstall status.

This status remains until the uninstallation process is successfully completed.

After the process is complete, the device will appear under the Uninstallation status.

Viewing Uninstallation History

Clicking on a device row will open an drawer with an audit log, showing all actions related to the uninstallation process.

This helps track progress and provides visibility into any issues or delays.



Manual removal of the agent from a Windows device:

If your agent is updated to version 1.4, only the following step is relevant:

  • Open Settings and navigate to Apps > Installed Apps, then delete the Guardz Agent app.

For older versions, follow the instructions below:

  • Open PowerShell with administrator privileges and run the following commands:

    • sc.exe stop "Guardz Agent"

    • sc.exe delete "Guardz Agent"

  • Open Settings and navigate to Apps > Installed Apps and delete the Guardz Agent app.

  • Open File Explorer and delete the following directories:

    • %SystemRoot%\System32\config\systemprofile\AppData\Roaming\com.guardz

    • %ProgramData%\com.guardz

Manual removal of the agent from a Mac device by Terminal:

If your agent is updated to version 1.4, only the following step is relevant:

  • sudo '/Applications/Guardz Agent.app/Contents/MacOS/Guardz Agent' --mode uninstall
    ​

    For older versions, follow the instructions below:

  • Open Terminal and run the following commands:

    • sudo launchctl bootout system/com.guardz.daemon

    • sudo rm -r /var/root/Library/Application\ Support/com.guardz

    • sudo rm -r /var/root/Library/Logs/com.guardz

    • sudo rm -r /Library/Application\ Support/com.guardz

  • Open Finder and navigate to the /Applications folder.

  • Right-click the Guardz Agent app and select Move to Trash.

You can use the following one-liner script as well:

​Mac script - ends with .sh

Windows script - ends with ps1

Make sure you run them for every machine that has the installed Guardz agents with sudo (or as root).


FAQs: Guardz Device Unintallation
​

  • Question: Is there a way to run a CLI command on the endpoint to check the Guardz agent version?

    • πŸ“Answer: Yes, you can use a PowerShell command to determine the version of the Guardz agent installed on a Windows endpoint.
      Command:

Get-WmiObject -Class Win32_Product | Where-Object { $_.Name -eq "Guardz Agent" }

Steps:

  1. Open a PowerShell window with administrative privileges.

  2. Copy and paste the command above.

  3. Press Enter.

  4. The output will display details about the Guardz agent, including its version.

Did this answer your question?