Prerequisites
- SimpleMDM admin access
- Enforce deployment script and enrollment key from the Runlayer dashboard
Deployment Steps
Get Deployment Artifacts
In the Runlayer dashboard, go to Settings → Shadow MCPs and open or create an Enforce configuration to copy the generated script and enrollment key.
Add the Script in SimpleMDM
- Open Scripts in the SimpleMDM admin console
- Click Add Script and paste the generated script
- Name it (e.g., “Runlayer Enforce”)
Verification
Log Locations
| Platform | Log Location |
|---|---|
| macOS | /var/log/runlayer/ai_watch_enforce.log |
Exit Codes
| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | General failure (missing config, enrollment failed) |
| 2 | Network failure |
| 3 | Installation failure |