Skip to main content
Question

Detect Casper Restore Partition with Smart Group


Forum|alt.badge.img+3

I was wondering if anybody knew the answer to this question.

We have machines that are encrypted with Check Point Full Disk Encryption (Encrypting the Macintosh HD volume) and the Casper Restore partition in place. Is there anyway to build a Smart Group to detect whether or not a machine has the Casper Restore partition?

Any information would be most appreciated!

Thanks

2 replies

mm2270
Forum|alt.badge.img+24
  • Legendary Contributor
  • 7881 replies
  • May 26, 2015

My guess is you'll need to create an Extension Attribute. I don't think there's any built in criteria to detect that.
I haven't used the Casper Restore partition in a long while now, but if I recall, its always there, mounted, but just hidden in the Finder, so a simple diskutil list and grepping out the Restore Partition should work.
Someone who actually has some Macs using it would need to give you more details though.


russeller
Forum|alt.badge.img+15
  • Valued Contributor
  • 215 replies
  • May 26, 2015

In the JSS you'd go to Settings > Computer Management > Extension Attributes > Name the EA and set Input Type to script. This is an example of something to start with, the JAMF community here is great and there are lots of bash experts on here that can help improve upon this.

#!/bin/sh

# Set the Name of the Restore Partition here
partitionName="Restore HD"

# Lists disks and looks for name of partition
diskCheck=`diskutil list | grep "$partitionName"`

# Returns true if any value is returned, false if null
if [[ "$diskCheck" ]]; then
    echo "<result>True</result>"
else
    echo "<result>False</result>"
fi

exit 0

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings