Skip to main content
Jamf Nation, hosted by Jamf, is a dynamic and knowledgeable community of Apple-focused IT admins and Jamf Pro users. Join us in person, in October, for the annual Jamf Nation User Conference (JNUC) to discover new and better ways to manage Apple devices.

Encrypt External Volume

Synopsis

This script will allow you to encrypt, change the passphrase (if the current one is known) and rename an external volume.

Description

This script can be used to encrypt an external volume. The script will make any changes that are needed to the partition map and then prompt the user to create a password for the external volume (Current requirements for the password is 7 characters or longer, this can be changed and uses AppleScript to capture the input). The script will also allow the user to rename the external volume, erase it and re-encrypt it again, or change the password (NOTE: The user must know the current volume password in order for this function to work). The script also has a section that will encode the passcode and upload it to the JSS to be used in the future if the user forgets their password or access to the external volume is needed. Note: This feature requires an Extension Attribute to be created in the JSS in order for the password to be accessible inside the JSS

Download

Preview

Generating Preview...