Skip to main content
Jamf Nation, hosted by Jamf, is the largest Apple IT management community in the world. Dialog with your fellow IT professionals, gain insight about Apple device deployments, share best practices and bounce ideas off each other. Join the conversation.
Posted: by therealmacjeezy
Product: macOS Sierra
Downloads: 381


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


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


Generating Preview...