How to install Prey with JAMF
If you are looking to deploy Prey remotely on a Mac, you can run an install workflow, below you will find instructions on how to do so.
First, we recommend that you create a policy to deploy that package, first it would cache the file and then run the provided command.
The policy would be set to:
- Trigger: Recurring Check-in
- Execution Frequency: Ongoing
- Under Packages, upload and attach the .pkg file to the policy. Set Action to 'Cache'.
(The file will be cached on computers under /Library/Application Support/JAMF/Waiting Room/)
- Under Files and Process > Execute Command, enter this updated command with the correct path:
API_KEY=(your API key) sudo -E installer -pkg "/Library/Application Support/JAMF/Waiting Room/prey-mac-x.x.x (latest Prey version) -x64.pkg" -target/
For the Scope of that policy, create a Smart Group with Criteria similar to: 'Application Title does not have Prey', so that the policy will only run on computers without the software, and the computers will drop out of the group once the policy completes.
Hope this helps!