Posted on 03-12-2020 03:39 AM
When a new users enroll their computer through DEP and pre-stage setup, how can I setup a default dock with certain apps
I have used the dock policy, but it seems that it does not work when running in prestage and jamf connect.
I only want to apply the dock for new users, so it is not that I just can apply it to all users
Posted on 03-12-2020 05:11 AM
I take it you have a notify script triggering policies as part of your Jamf Connect Prestage Enrolment workflow?
The easiest way I've found is to customise the dock on your Mac, then drag and drop the file "~/Library/Preferences/com.apple.dock.plist" into composer and build as a DMG, adding that to a policy with FEU and FUT selected. You can obviously then call the policy from your Jamf Connect notify script.
There's other ways of doing it though, you could install Outset and have that launch a custom Docklib script to set the dock upon first login.
Both methods have worked for me previously, the Docklib method is nice because you don't get the question mark in the dock if an app is specified to be added to the dock but not installed.