Skip to content

Latest commit

 

History

History
123 lines (73 loc) · 10.5 KB

File metadata and controls

123 lines (73 loc) · 10.5 KB

Frequently Asked Questions

Is there a custom JSON Schema for Jamf Pro?

Yes.

Can you block the user desktop with user initiated enrollment?

Yes, use the top-level background key and point it to a local image file or a http URL to an image file. If you don't want custom branding, you can set background to /System/Library/CoreServices/DefaultDesktop.heic for the default image.

Setup Manager is not launching after enrollment?

There can be many causes for this.

First, check whether the Setup Manager.app exists at /Applications/Utilities/Setup Manager.app and a Setup Manager log file gets created at /Library/Logs/Setup Manager.log. When the app and the log file exist, read the log file for errors and messages which should give you a hint as to what is going on. When you have no user account to log in, you can boot to Recovery to check on these files.

If neither of those files exist, then the download and/or installation of Setup Manager is failing or not occurring in the first place. A few common causes are:

  • Jamf Pro:
    • when using a distribution point other than Jamf Cloud Distribution Point, you need to provide a manifest
    • check that Setup Manager is added to your Prestage and the package does not have the label "Availability pending" in Settings> Packages. Pending packages will not install during prestage. Wait a few minutes to see if the pending label updates
    • in Prestage > Enrollment Packages verify that the Package is added and the Distribution Point is set correctly (the DP resets to "none" when you remove the last enrollment package from Prestage, so this is easy to miss)
    • you can try deleting the Setup Manager pkg from Packages, re-uploading the package and re-adding it to the Prestage. (and verify that the Distribution Point is set correctly in the Prestage)
  • when the above steps do not remedy the issue, please engage Jamf Support.
  • when running at 'enrollment,' Setup Manager requires Setup Assistant to be running in the background. When you are using standard macOS user account creation, Setup Assistant will be showing that pane "behind" Setup Manager, so you should be fine. But if you are using Jamf Connect Login or a similar tool for account creation, you need at least one of the 'Setup Assistant Options' in the Prestage to be set to not skip. 'Location Services' or 'Terms & Conditions' are a good choice that you generally want to leave up the user anyway. Otherwise, Setup Assistant may quit before Setup Manager can launch and do its actions.

Does Setup Manager require Jamf Connect?

No.

Setup Manager will run fine without Jamf Connect. You can even build 'single-touch' style workflows with Setup Manager without Jamf Connect. Some workflows, such as pre-assigning a device to a specific user require Jamf Connect, though.

How can I use the icon for an app before the app is installed?

  • preinstall icon files with a custom package installer in prestage. Set the priority of the media/branding package lower than that for Setup Manager, or give the branding/media package a name that is alphabetically earlier than Setup Manager, so it installs before Setup Manager
  • use http(s) urls to the image files
    • you can host them on a web server/service that you have control over
    • you can add the icon to a Self Service policy in Jamf and then copy the url to the icon once uploaded

What is happening during "Getting Ready" and "Finishing"?

During the "Getting Ready" phase, Setup Manager is waiting for the enrollment configuration to be complete. The steps taken during these phases depend on the version of Setup Manager and the management system.

When enrolled into Jamf Pro, Setup Manager runs (among other things) a recon/Update Inventory during "Getting Ready" and "Finishing." This will make up most of the time in these phases.

You can open the log window (command-L) or review the log file for detail for each step. Should Setup Manager stall during one of these steps, you can quit out of Setup Manager and review the log file after completing the setup.

(Jamf Pro) Getting Ready is taking very long (several minutes). What is happening and can I do something to make it faster?

The "Getting Ready" phase prepares some steps and waits for all essential Jamf Pro fraemwork components (the jamf binary, certificates, Jamf apps, etc.) to be installed and configured before starting with the actual enrollment workflow. Depending on the network connection this can take a while, but there are several steps you can take to order your enrollment workflow to avoid conflicts and timeouts which should speed things up.

You can see the individual steps and how much time is spent on each step in the Setup Manager log].

If the "Getting Ready…" phase in your enrollment is taking significantly more than 1-3 minutes (on a decent network connection) then there are issues in your enrollment workflow that can almost certainly be improved.

Mac App Store/VPP and Jamf App Installer apps that are scoped to the computer will begin installing immediately after enrollment. Since macOS will only perform one installation at a time, these might delay the installation of essential Jamf Pro components. You can create smart groups to defer these installations.

Verify that no policies are being triggered by enrollmentComplete when using Setup Manager. This can lead to policies running in parallel, which, at best, will lead to delays, but at worst can lead to unexpected bahavior or deadlocks.

With Setup Manager 1.3 and higher, you can check whether apps are getting installed before Setup Manager starts the actions in the Setup Manager log.

Any configuration profiles that affect network settings can lead to a brief drop of the network connection which can slow down or completely interrupt the download and configuration of the Jamf Pro framework. The Setup Manager (1.3 and later) log will show changes to network or outages. When you see those in connection with long delays, you should look for profiles that are installed before that might affect the network. Setup Manager 1.4 and higher log will show profile installations and removals. Profiles that affect Wifi, firewall, VPN settings or the installation of security tools that affect or change network access are critical here and should be deferred to be installed at a later stage with scoping.

Once Jamf Pro's enrollment workflow is complete, Setup Manager runs a full update inventory/recon. In general, if the recon takes a long time, you should review the inventory collection settings in Jamf Pro. Calculating home directory sizes and gathering fonts can take a lot of time and CPU power, and speed up things significantly when turned off, not just during enrollment with Setup Manager. You should also review extension attributes, for how long each one runs.

Gathering software update information in inventory collection may lead to long recon times or even stalls. Since recent versions of macOS use DDM status channels for both reporting of the current macOS version and the status of software updates, you do not generally require this information in the inventory collection.

If the time for the recon remains in the minutes after reviewing the settings, you should review the custom extension attributes in your Jamf Pro. Dan Snelson has an helpful blog post and recorded JNUC session (YouTube) on this topic.

Can I set the wallpaper/desktop picture or dock with Setup Manager?

The settings for the dock and wallpaper/desktop picture are user settings. Since the user account usually does not yet exist when Setup Manager runs, you cannot affect those settings.

What you can do is run a script at login which sets the desktop (using desktoppr ) or the dock (using dockutil or a similar tool).

If Setup Manager cannot do it, how can I run scripts at first login

There are several options:

Can Setup Manager run at first login, rather than right after enrollment?

Technically, yes.

With Jamf Pro, you can set the Setup Manager pkg to install at the login trigger or manually from Self Service. Then it will launch within the user session.

This is not, however, the primary workflow for Setup Manager and not something that we will test or verify. We believe running right after enrollment over Setup Assistant is the preferable deployment.

With Jamf Pro, you should consider macOS Onboarding in Self Service or a login trigger instead.

Installer or Policy Script is failing with access errors

For some policy scripts or installers it may be necessary to give the Setup Manager app Full Disk Access or some other exemptions with a PPPC Profile.

Installomator actions are all failing

The log shows exit code 4, which means the download was rejected.

Installomator uses Gatekeeper to verify the downloads. When Gatekeeper is set to allow Mac App Store apps only it will reject all third party apps and installers and the verification will fail.

Can I set Installomator variables?

Yes. The installomator action has an arguments key, which takes an array strings, one for each argument. With this, you can override variables in Installomator.

Example:

<dict>
  <key>label</key>
  <string>Example App</string>
  <key>installomator</key>
  <string>example</string>
  <key>arguments</key>
  <array>
    <string>downloadURL=https://example.com/alternativeURL</string>
  </array>
</dict>