Skip to main content
All CollectionsUser Guides
Guardz Device Agent Uninstallation Instructions
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 over a week ago

Removal of the agent from a Windows device:

  • 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

Removal of the agent from a Mac device

  • 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).

Did this answer your question?