Unattended installation of the DriveLock Agent
From version 2024.1, the Package Installer can be used for software distribution with an MDM system.
The following guidelines explain how to configure the MDM system and how to create installation and uninstallation scripts.
Requirements for the MDM settings (Microsoft Intune, JAMF or others):
-
The DriveLock Endpoint Agent Extension must be given "Full disk access".
-
Allow the DriveLock system extension with the bundle identifier
com.drivelock.agent.extension
to be installed unattended.
Installation:
-
Install the DriveLock Agent App:
% sudo installer -pkg "path/to/DriveLock Agent.pkg" -target /Applications
-
Configure the DriveLock Agent with user-specific settings:
% sudo /Applications/DriveLock\ Agent.app/Contents/MacOS/dlconfig --server 'https://your.drivelock.cloud' --tenant 'your_tenant'
Uninstallation:
-
Unload the DriveLock system extension
% sudo /Applications/DriveLock\ Agent.app/Contents/MacOS/DriveLock\ Agent -d
-
Delete the DriveLock Agent App
% sudo rm -R /Applications/DriveLock\ Agent.app