Before uninstallation, ensure that the GuardMode Agent service is stopped and disabled. This prevents the service from automatically starting during the uninstallation process:
sed-i's/^RefuseManualStop=no$/RefuseManualStop=yes/'/usr/lib/systemd/system/auditd.service# For OES 2023 only:sed-i's/^[ \t]*ProtectHome=read-only$/ProtectHome=true/'/usr/lib/systemd/system/augenrules.servicesed-i's/^[ \t]*ProtectHome=read-only$/ProtectHome=true/'/usr/lib/systemd/system/auditd.service
Reload the system daemon:
systemctldaemon-reload
Remove the GuardMode Agent installation directory and any related configuration files: