arubdesu / umad

A tool to help users with pre-existing devices enrolled into MDM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UMAD

[U]ser-facing [M]DM [A]pproval [D]ialog

Important Information

You most certainly want to customize the following values:

  • cutoffdate
  • duedatetext
  • manualenrollmenturl
  • moreinfourl
  • profileidentifier

Also, you will at the very least want to change the nag_ss.png

Screenshots

DEP

Screenshot DEP

Manual

Screenshot Manual

UAMDM

Screenshot UAMDM

Simplified Diagram

Simplified Diagram

Building this package

You will need to use munki-pkg to build this package

Credits

This tool would not be possible without nibbler, written by Michael Lynn

Notes

Because of the way git works, umad will not contain the Logs folder required for the postinstall to complete.

In order to create a properly working package, you will need to run the following command: munkipkg --sync /path/to/cloned_repo/mdm/umad

OS Support

The following operating system and versions have been tested.

  • 10.10.0 Note 1, 10.10.5 - Note 2
  • 10.11.0, 10.11.6
  • 10.12.0, 10.12.6 (10.12 is very unreliable with DEP nagging)
  • 10.13.0 10.13.3, 10.13.6
  • 10.14.0

Options

Essentially every component of the UI is customizable, all through the LaunchAgent.

Cutoff date

Cut off date in UTC.

<string>--cutoffdate</string>
<string>2018-12-31-17:00</string>

Cut off date warning

This is the number, in days, of when to start the initial UI warning. When this set of days passes, the user will be required to hit an "I Understand" button, followed by the "Close" button to exit out of the UI.

<string>--cutoffdatewarning</string>
<string>14</string>

Due date text

This is the bolded portion of the UI towards the top.

<string>--duedatetext</string>
<string>MDM Enrollment is required by 12/31/2018 (No Restart Required)</string>

DEP failure text

If a user has a DEP capable device, but they are passed the enrollment window, they will have an option to manually enroll.

This is the first set of text above the enrollment button.

<string>--depfailuretext</string>
<string>Not getting this notification?</string>

DEP failure subtext

If a user has a DEP capable device, but they are passed the enrollment window, they will have an option to manually enroll.

This is the second set of text above the enrollment button.

<string>--depfailuresubtext</string>
<string>You can also enroll manually below:</string>

Enable enrollment button

Always show the manual enrollment button, DEP or not.

<string>--enableenrollmentbutton</string>

Honor DND settings

If a device is DEP capable, umad will not honor DoNotDisturb settings so the nag can actually appear.

If the admin wants to honor DoNotDisturb for DEP devices, use this feature.

Non-DEP devices will honor the users DND settings

<string>--honordndsettings</string>

Logo path

A custom logo path. Alternatively, just replace the included company_logo.png

<string>--logopath</string>
<string>/Some/Custom/Path/company_logo.png</string>

Manual enrollment text

If a user does not have a DEP capable device, they will have the option to manually enroll.

This is the bolded text that takes place of the DEP or UAMDM screenshot.

<string>--manualenrollmenttext</string>
<string>Manual Enrollment Required</string>

Manual enrollment h1 text

If a user does not have a DEP capable device, they will have the option to manually enroll.

This is the first set of text above the enrollment button.

<string>--manualenrollh1text</string>
<string>Want this box to go away?</string>

Manual enrollment h2 text

If a user does not have a DEP capable device, they will have the option to manually enroll.

This is the second set of text above the enrollment button.

<string>--manualenrollh2text</string>
<string>Click on the Manual Enrollment button below.</string>

Manual enrollment URL

This is the URL to open for the Manual Enrollment button.

<string>--manualenrollmenturl</string>
<string>https://apple.com</string>

More info URL

This is the URL to open for the Manual Enrollment button.

<string>--moreinfourl</string>
<string>https://google.com</string>

Nag screenshot path

A custom nag screenshot path. Alternatively, just replace the included nag_ss.png

<string>--nagsspath</string>
<string>/Some/Custom/Path/nag_ss.png</string>

No timer

Do not attempt to restore the umad GUI to the front of a user's window.

<string>--notimer</string>

Paragraph 1 text

This is the text for the first paragraph.

<string>--paragraph1</string>
<string>If you do not enroll into MDM you will lose the ability to connect to Wi-Fi, VPN and Managed Software Center.</string>

Paragraph 2 text

This is the text for the second paragraph.

<string>--paragraph2</string>
<string>To enroll, just look for the below notification, and click Details. Once prompted, log in with your username and password.</string>

Paragraph 2 text

This is the text for the third paragraph.

<string>--paragraph3</string>
<string>To enroll, just look for the below notification, and click Details. Once prompted, log in with your OneLogin username and password.</string>

Profile identifier

This is the profile identifier for < 10.13 machines to check for enrollment. Should you not set this value, umad will attempt to look for a profile installed on the machine with the PayloadType of com.apple.mdm

<string>--profileidentifier</string>
<string>B68ABF1E-70E2-43B0-8300-AE65F9AFA330</string>

To get this value, run the following command on a computer with your MDM profile installed: profiles -C -o stdout-xml

Look for the MDM profile and notate the identifier. Some MDMs may use a UUID for this value.

Some examples:

<dict>
	<key>ProfileDescription</key>
	<string>MDM profile</string>
	<key>ProfileDisplayName</key>
	<string>MDM Profile</string>
	<key>ProfileIdentifier</key>
	<string>220cad8d-c273-422f-afcb-9740857b38a0</string>
</dict>
<dict>
	<key>ProfileDescription</key>
	<string>MDM profile</string>
	<key>ProfileDisplayName</key>
	<string>MDM Profile</string>
	<key>ProfileIdentifier</key>
	<string>com.awesome.mdm.profile</string>
</dict>

Sub-title text

This is the text right under the main title.

<string>--subtitletext</string>
<string>A friendly reminder from your local IT team</string>

System Preferences H1 text

Should the user have a 10.13.4+ device that is not User Approved MDM, they will be notified that they need to approve the MDM.

This is the first set of text above the system preferences button.

<string>--sysprefsh1text</string>
<string>Want this box to go away?</string>

System Preferences H2 text

Should the user have a 10.13.4+ device that is not User Approved MDM, they will be notified that they need to approve the MDM.

This is the second set of text above the system preferences button.

<string>--sysprefsh2text</string>
<string>Open System Preferences and approve Device Management.</string>

Title text

This is the main, bolded text at the very top.

<string>--titletext</string>
<string>MDM Enrollment</string>

Timer Day 1

The time, in seconds, to restore the umad GUI to the front of a user's window. This will occur indefinitely until the UI is closed or MDM is enrolled.

This is when the MDM cutoff is one day or less.

<string>--timerday1</string>
<string>600</string>

Timer Day 3

The time, in seconds, to restore the umad GUI to the front of a user's window. This will occur indefinitely until the UI is closed or MDM is enrolled.

This is when the MDM cutoff is three days or less.

<string>--timerday3</string>
<string>7200</string>

Timer Elapsed

The time, in seconds, to restore the umad GUI to the front of a user's window. This will occur indefinitely until the UI is closed or MDM is enrolled.

This is when the MDM cutoff has elapsed.

<string>--timerelapsed</string>
<string>10</string>

Timer Final

The time, in seconds, to restore the umad GUI to the front of a user's window. This will occur indefinitely until the UI is closed or MDM is enrolled.

This is when the MDM cutoff is one hour or less

<string>--timerfinal</string>
<string>60</string>

Timer Initial

The time, in seconds, to restore the umad GUI to the front of a user's window. This will occur indefinitely until the UI is closed or MDM is enrolled.

This is when the MDM cutoff is over three days.

<string>--timerinital</string>
<string>14400</string>

Timer MDM

The time, in seconds, to check if the device is enrolled into MDM.

<string>--timermdm</string>
<string>5</string>

User Approved MDM paragraph 1 text

This is the text for the first paragraph on the user Approved MDM UI.

<string>--uamdmparagraph1</string>
<string>Thank you for enrolling your device into MDM. We sincerely appreciate you doing this in a timely manner.</string>

User Approved MDM paragraph 2 text

This is the text for the second paragraph on the user Approved MDM UI.

<string>--uamdmparagraph2</string>
<string>Unfortunately, your device has been detected as only partially enrolled into our system.</string>

User Approved MDM paragraph 3 text

This is the text for the third paragraph on the user Approved MDM UI.

<string>--uamdmparagraph3</string>
<string>Please go to System Preferences -> Profiles, click on the Device Enrollment profile and click on the approve button.</string>

User Approved MDM screenshot path

A custom uamdm screenshot path. Alternatively, just replace the included uamdm_ss.png.png

<string>--uasspath</string>
<string>/Some/Custom/Path/uamdm_ss.png</string>

About

A tool to help users with pre-existing devices enrolled into MDM


Languages

Language:Python 100.0%