Uninstalling the DriveLock Agent

There are two ways to uninstall DriveLock Agent, depending on whether you want to keep the agent configuration on the client computer or not.

Default uninstallation:

Uninstalling the DriveLock Agent will remove only the DriveLock Agent program files by default. All configuration files and registry entries are preserved.

Advanced uninstall:

In order to uninstall the DriveLock Agent along with all configuration files, you need to run the MSI parameter in the commaREMOVEDATA=1nd line.

msiexec /x <MSI Product GUID> REMOVEDATA=1

Example:

msiexec /x {E9EC6C0E-CFC2-4BBD-BE4D-8E0A353E4EB8} REMOVEDATA=1

This mode deletes the following on the DriveLock Agent:

  • All program files

  • All registry keys in HKEY_LOCAL_MACHINE

  • All files from "C:\ProgramData\CenterTools DriveLock\".

  • Firewall rules

The following files are not deleted:

  • Log directory, usually in C:\ProgramData\CenterTools DriveLock\.

  • User entries in the registry

  • DriveLock events

  • Firewall rules defined in the policy and created by the DriveLock Firewall component.

Tip: We do not recommend uninstalling the agent via the Windows user interface, but via the command line (using the msiexec /x command) or via software distribution tools.

Uninstalling the agent can be influenced by two policy settings:

  • Password for uninstalling DriveLock: To prevent a DriveLock Agent from being uninstalled on a computer without permission, you can assign a password for the uninstallation for protection.

  • Run DriveLock agent services in unstoppable mode: It is not possible to uninstall the agent if unstoppable mode is activated.