trying to understand using deploystudio with autodmg

I'm a school tech working on a project for my district. I'm trying to write a start to finish guide for creating and deploying our computers en masse in a modular way using thin imaging. I think i'm doing alright so far, because i had already found most of the apps in the sidebar like munki and deploystudio.

What I'm having trouble with is how do i bundle up and export all of the user preferences without imaging the entire drive? That's my main roadblock right now because every time osx updates i need to create a whole new image from a clean install for each machine type.

For example I have two labs with two different types of iMac. I can deploy the same AutoDMG image to both types because it's not machine-specific. Then i want to apply the same preferences for both machines so they have identical docks, preferences in chrome, etc. Sort of like how Apple Configurator 2 will let me apply the same blueprint on different generations of iPads/iPhones

I think I'm looking for something called MCX or managed preferences? but I think it was deprecated a few years ago

Posted Apr 14, 2017, 9:53 PM UTC

103
no__id•

You can convert managed preferences to a configuration profile using: https://github.com/timsutton/mcxToProfile. Then import that into Munki to deploy.

1
MustangTechOP•

all i knew was the name of MCX and Managed Preferences. what is MCX? is it a standalone piece of software or part of a package? I've also gotten the impression MCX is deprecated?

I'm a relatively experienced linux guy and i find it frustratingly hard to understand a lot of stuff about macs. It's not that the concepts are difficult, it basically assumes i'm already in the apple ecosystem. I would be embarrassed to tell you how long it took me to realize Apple Server is the name of a program, not just a description of the computer i'm using (a Mac Mini Server, which is what i thought they meant).

where would someone go to start learning about MCX and managed preferences from square one?

1
no__id•

MCX is basically just the shorthand for managed preferences. Managed preferences was how you managed bound Macs from an Apple Server. That has since been deprecated for Configuration Profiles. Using Profile Manager from the Server App, or from an MDM. Or you can use the mcxToProfile script I linked to turn any plist file into a Configuration Profile. In any of those cases, you usually have to clean up the Configuration Profile with a text editor if you're trying to target specific settings. I don't know of any specific resources off the top of my head, but I'd take a look through the Community Resources links and specifically [Greg Neagle's(https://managingosx.wordpress.com/).

edit: actually I remembered last year's MacAdmins conference had a couple good sessions on this.

Preference Management with Profiles

Implementing Configuration Profiles for OS X management

Here are other videos from the conference if you're interested: http://macadmins.psu.edu/conference/resources/

3