Inventory Custom Preference Pane Items

Jason
Contributor II

Hello, I was just reading the process below for adding custom preference panes to the white list:
https://jamfnation.jamfsoftware.com/article.html?id=204

Is there a easy way to have the JSS collect this information for each system during inventory? Right now it's an easy enough process to go to the system and get that information, but as we expand it'd be nice to be able to report on this and fix ahead of a user calling in.

I'm also assuming it would be a feature request to have the JSS automatically populate that in as a 3rd party preference pane item (so a new checkbox appears under the Restrictions payload once an item is found on a client), correct?

1 REPLY 1

mm2270
Legendary Contributor III

We have an Extension Attribute that collects 3rd party Preference Panes and their BundleIDs. We use it for the express purpose of being able to add these in to our MCX settings when someone submits a ticket for that, without needing access to the Mac or bothering the user.

However, I'm not sure if I can post it here since I wasn't the one that originally created the EA script. if I can I will, but to point you in the right direction, it uses a loop as it cycles through both the ~/Library/PreferencePanes and /Library/PreferencePanes directories, gathers both the name and BundleID of anything it locates, and drops results into bash arrays for a final "result" that gets echoed back.

i hope that helps at least a little bit.