Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MDM detection #1073

Open
tudorcraciun opened this issue Jun 18, 2024 · 4 comments
Open

MDM detection #1073

tudorcraciun opened this issue Jun 18, 2024 · 4 comments

Comments

@tudorcraciun
Copy link

Hello!
I have just stumbled upon this tool, and I was wondering if you found any way to detect if an MDM/DEP lock is present on a device without any configuration? A query to com.apple.mobile.chaperone with the key DeviceIsChaperoned returns true only after some setup is made on the device, and I cannot find a way to work around that.

@doronz88
Copy link
Owner

I guess you are trying to get the value while in the Setup.app?

@tudorcraciun
Copy link
Author

If by Setup.app you mean the configuration wizard where you go through selecting Language, Country, etc, then yes. The ideal scenario would be to check for the MDM/DEP lock on a freshly reset device.

@AnNEDoMini
Copy link
Contributor

You can make activation, then query DeviceIsChaperoned, after that you can reset it to bring to blank state. If I understand you correctly

@tudorcraciun
Copy link
Author

Yes, but activation is not enough by itself, some more setup is required after that point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants