This is a POC of how to remotely enable UAMDM on machines running 10.13.2 or higher. It requires having remote access to a machine (via VNC or ARD) and having administrator privileges on the machine as well.
The basic setup steps needed are:
- Open System Preferences --> Security & Privacy --> Privacy
- Click the Accessibility option
- Add, using the plus (+) button, the app Script Editor (/Applications/Utilities/Script Editor.app) to allow it extra privileges over your machine
- Close System Preferences
- Run the downloaded "Remotely Approve UAMDM.scpt" from this repo
- Your machine should now have an approved UAMDM status
This script will handle the following for you now:
- Open System Preferences
- Click the Profiles prefPane
- Find the Device Manager profile
- Click the Approve button(s)