Ask Different (Apple)
Q&A for power users of Apple hardware and software
Latest Questions
0
votes
1
answers
682
views
How to disable Camera and Screen Share for all applications (globally) in mac Using MDM?
We know that using MDM we can handle **Privacy Preferences Policy Control** in mac. > I am able to disable **Screen Sharing** and **Camera feature** for the > Particular Application. Is there any way by which we can disable this globally for all applications? [Payload Example][1] [Device Management...
We know that using MDM we can handle **Privacy Preferences Policy Control** in mac.
> I am able to disable **Screen Sharing** and **Camera feature** for the
> Particular Application.
Is there any way by which we can disable this globally for all applications?
Payload Example
Device Management Profile
PrivacyPreferencesPolicyControl.Services


Anup Gupta
(69 rep)
Jun 17, 2020, 10:45 AM
• Last activity: Aug 4, 2025, 07:01 AM
0
votes
0
answers
20
views
How to deploy Slack on macOS using MDM with configuration profile disabling updates?
I want to install Slack over multiple macOS via MDM, using Munki but I don't want the deployed Slack to update themselves: This is MDM's job to deploy new version when needed. This ["An update on disabling Slack auto-updates" article][1] gives a way using `AutoUpdate` key (as described in [Slack's d...
I want to install Slack over multiple macOS via MDM, using Munki but I don't want the deployed Slack to update themselves: This is MDM's job to deploy new version when needed.
This "An update on disabling Slack auto-updates" article gives a way using
AutoUpdate
key (as described in Slack's documentation ) that can be added to a *configuration profile*:
PayloadContent
AutoUpdate
PayloadDisplayName
Slack Auto-Update Settings
PayloadIdentifier
com.tinyspeck.slackmacgap.7F10399D-8AE8-419F-B4BA-3F0A0E96E33C
PayloadType
com.tinyspeck.slackmacgap
PayloadUUID
0342513E-235C-4D59-9C01-3D3CBB65F5D0
PayloadVersion
1
PayloadDisplayName
Slack Auto-Update Settings
PayloadIdentifier
com.yourcompany.profile.6C5258EA-2E47-41B3-8ABB-C589A2E7B917
PayloadOrganization
Your Company
PayloadType
Configuration
PayloadUUID
463E5146-FF42-4909-9F4A-12A84E2EEF57
PayloadVersion
1
On my MDM, I've added this *PayloadContent* to the custom *Pkginfo* of the application for installing Slack (from Slack-4.44.60-macOS.dmg
).
Installation on macOSes works but when Slack launches it asks for admin credentials in order to install an update.
What's the correct MDM way to deploy Slack with AutoUpdate=false
so that it won't try to update itself?
CDuv
(121 rep)
Jul 17, 2025, 12:58 PM
• Last activity: Jul 18, 2025, 01:15 AM
4
votes
3
answers
5112
views
Deactivate Apple's Mobile Device Management (MDM)
I recently bought a Macbook air laptop at an asset auction held by an appointed liquidating agent for a company that was going into administration with the intention of using it as my own personal computer. The liquidating agent had advertised that they had "wiped" the hard disks prior to the sale....
I recently bought a Macbook air laptop at an asset auction held by an appointed liquidating agent for a company that was going into administration with the intention of using it as my own personal computer.
The liquidating agent had advertised that they had "wiped" the hard disks prior to the sale.
Upon booting the laptop I am greeted with the OS install screen, which is fine and the install's the latest OSX with no issues however after the install is finished I am then presented with MDM Enrolment for remote management.
I've contacted the liquidating agent for help on this and they have advised that the laptop was "sold as seen" and that they don't provide IT support, the MDM enrolment seems to hang and do nothing.
Is there anyway to resolve this or have I just bought an expensive paper weight ?
user1666453
(49 rep)
Aug 10, 2022, 02:56 PM
• Last activity: May 6, 2025, 06:46 PM
0
votes
1
answers
299
views
iPhone MDM and private Data (Inventory vs. Private Device)
I'd like to ask if there is a difference how my personal data is managed on an iPhone. 1. Private Device (enrolled manual MDM): Separate APFS volume, restrictions for the company which data can be accessed and what is controlled on that device. Things are separated. 2. Inventory Device of the compan...
I'd like to ask if there is a difference how my personal data is managed on an iPhone.
1. Private Device (enrolled manual MDM): Separate APFS volume, restrictions for the company which data can be accessed and what is controlled on that device. Things are separated.
2. Inventory Device of the company (DEP enrolled MDM device): Can I use a private iCloud-Account on such device and data is separated like it's my own private property and because of it's a corporate device, they have a bit more rights things to do with it (wiping and so on) except of accessing my personal data?
Would be really helpful to know, can't find specific information about it.
Thank you!
Marjan
(109 rep)
Jul 30, 2021, 08:38 AM
• Last activity: Apr 19, 2025, 06:06 AM
1
votes
1
answers
125
views
MacBook Pro M1 displays a lock screen, asks for a 6-digit PIN
I have a MacBook Pro M1. The computer asks for a 6-digit PIN to proceed with boot. I have admin rights on the machine, how can I bypass the lock screen to access data on the device? It’s my company laptop. I'm trying to access the laptop to get back important data before returning it to company.
I have a MacBook Pro M1.
The computer asks for a 6-digit PIN to proceed with boot.
I have admin rights on the machine, how can I bypass the lock screen to access data on the device?
It’s my company laptop. I'm trying to access the laptop to get back important data before returning it to company.
First Last
(11 rep)
Feb 28, 2025, 02:53 AM
• Last activity: Feb 28, 2025, 08:41 AM
0
votes
1
answers
10600
views
How to get info about System Device Profiles (MDM) on MacOS?
[![enter image description here][1]][1] [1]: https://i.sstatic.net/T1nhF.png I need to get information about **System Device Profiles (MDM or enrollment)**, such as Details: Description, control the computer, Allows and other. But I need to get it from some *FileInfo* in order to write these info to...

appleKey
(1 rep)
Feb 1, 2021, 05:26 PM
• Last activity: Feb 10, 2025, 09:11 PM
2
votes
1
answers
652
views
Can I get a direct download link for a MacOS App Store app?
I want to deploy the Microsoft Universal Print app to our Macbook users via MDM (specifically Microsoft Intune). This isn't possible normally because Intune doesn't support MacOS App Store apps and Microsoft haven't made a PKG or DMG file available yet. We're talking deploying to 500 users, so the m...
I want to deploy the Microsoft Universal Print app to our Macbook users via MDM (specifically Microsoft Intune). This isn't possible normally because Intune doesn't support MacOS App Store apps and Microsoft haven't made a PKG or DMG file available yet. We're talking deploying to 500 users, so the more automated we can make this, the better.
On Windows (with an unrelated app for an unrelated issue) I was able to get a direct download URL. That is, the file that the Microsoft Store would download in the background when I would click on "Get". I'm looking for a similar direct download URL for the Universal Print so I can package it up and deploy it via MDM, but I'm not having any luck.
Is there a way to get a direct download URL of an app from the MacOS App Store, short of installing Wireshark and sniffing traffic that way?
Grayda
(193 rep)
Feb 10, 2025, 01:44 AM
• Last activity: Feb 10, 2025, 03:19 AM
1
votes
1
answers
126
views
Can I use Chrome Enterprise deployment to secure extensions on my child's Mac?
I want to 'force install' some extensions on my son's Mac (to limit access to sites), and was looking at [Chrome Deployment documentation.](https://support.google.com/chrome/a/answer/9020078?hl=en&ref_topic=7650028) I'm at a loss on the last step ... is there a way to install Chrome on his Mac with...
I want to 'force install' some extensions on my son's Mac (to limit access to sites), and was looking at [Chrome Deployment documentation.](https://support.google.com/chrome/a/answer/9020078?hl=en&ref_topic=7650028)
I'm at a loss on the last step ... is there a way to install Chrome on his Mac with policies in effect, without paying for an expensive professional MDM?
Unfortunately Apple's Screen Time does not work in Chrome (yet).
d0g
(4072 rep)
Apr 28, 2021, 10:49 PM
• Last activity: Jan 12, 2025, 10:12 AM
0
votes
0
answers
94
views
Alternative to selfcontrol.app on IOS
On my MacOS I use selfcontrol.app to block a website. Selfcontrol.app blocks the website in the entire network by using hosts. Is there an alternative to that on IOS? An app that I cannot delete or edit until the time is out and it blocks websites on the entire network. My phone is supervised so a p...
On my MacOS I use selfcontrol.app to block a website. Selfcontrol.app blocks the website in the entire network by using hosts. Is there an alternative to that on IOS?
An app that I cannot delete or edit until the time is out and it blocks websites on the entire network. My phone is supervised so a profile alternative would also suffice.
Thanks.
Atrox
(13 rep)
Nov 10, 2024, 10:44 PM
1
votes
1
answers
118
views
Certificate error when downloading initial profile
We still have an old macOS server with profile manager running, with a domain wildcard SSL certificate. After renewing the certificate, I checked that https: was working, and also that management profiles could be downloaded. Great! However, when setting up a new device, the device says that the cer...
We still have an old macOS server with profile manager running, with a domain wildcard SSL certificate. After renewing the certificate, I checked that https: was working, and also that management profiles could be downloaded. Great!
However, when setting up a new device, the device says that the certificate is invalid, and will not install the profile. Reverting back to the (soon to be expiring) old certificate, everything works fine.
So, I'm at a loss for why this is happening.
As far as I can tell, the root for both certs is the same. In fact, the CA which was provided by Digicert/Geotrust looks to be the same as last year's. I've exhausted my basic knowledge of "openssl" commands trying to spot any differences, to no avail.
In testing, I see the same behavior in iOS16, iOS17, iOS18, macOS14, and macOS15. When using the expiring certificate, new devices can download the profile, but when using the newer certificate, errors occur. Also, with the newer certificate, all of the above devices are able to install profiles (manually, from the /mydevices URL).
One interesting note, is that yesterday the error was "invalid certificate"; however, today, it just says "canceled" (iOS16). I read that ABM was having issues overnight, so this may be related. But, my trouble with new devices and the new certificate started over a week ago.
PS - I'm not using profile manager because _I_ want to. But, feel free to add more reasons why it's a bad idea (as long as you try to help solve the original problem).
Kent
(6182 rep)
Oct 16, 2024, 11:04 PM
• Last activity: Oct 28, 2024, 05:07 PM
0
votes
1
answers
3849
views
Bypass MDM or DEP on macOS Sequoia (15.0.1)
I recently acquired a MacBook Pro 13 (Model A2251 EMC 3348), and when setting it up, I encountered an MDM (Mobile Device Management) window that I cannot bypass. Unfortunately, I have no way of contacting the organization that originally enrolled the device, and contacting Apple Support is not an op...
I recently acquired a MacBook Pro 13 (Model A2251 EMC 3348), and when setting it up, I encountered an MDM (Mobile Device Management) window that I cannot bypass. Unfortunately, I have no way of contacting the organization that originally enrolled the device, and contacting Apple Support is not an option for me. System Information:
- macOS Sequoia
- Product Version: 15.0.1
- Build Version: 24A348
- Model Identifier: MacBookPro16,2 (compatible with macOS Sequoia)
What I've Tried So Far:
- Reinstalled macOS Sequoia using the recovery mode.
- Formatted the disk and volumes, followed by a clean reinstall of macOS.
- Booted into recovery mode to try the following actions:
- Modified the hosts file to block MDM server communications.
- Attempted to modify system files related to MDM to disable the enrollment.
- Tried to create a new local user via Terminal using dscl.
Reference Links I Followed:
- [Disable Device Enrollment Program (DEP) notification on macOS Monterey](https://gist.github.com/henrik242/65d26a7deca30bdb9828e183809690bd/32c410e3a1de73539c76fa13ea5486569c4e0c5d)
- https://apple.stackexchange.com/questions/297293/turning-off-device-enrollment-notifications-on-macbook-pro
- [assafdori/bypass-mdm](https://github.com/assafdori/bypass-mdm/blob/main/bypass-mdm.sh)
- [Using Terminal At macOS Setup Assistant](https://chris-collins.io/2018/03/15/Using-Terminal-At-macOS-Setup-Assistant/)
The Problem:
Despite disabling SIP (csrutil disable), none of these attempts have worked. The Mac keeps restoring a snapshot upon each reboot, and I cannot delete this snapshot. Every modification I make is undone on restart, and I am still forced to face the MDM enrollment window.
I feel stuck at this point and am looking for any additional ideas or solutions to bypass the MDM or stop the system from reverting to the snapshot. Any help would be greatly appreciated.
Azrod
(1 rep)
Oct 23, 2024, 06:43 PM
• Last activity: Oct 25, 2024, 01:04 AM
0
votes
1
answers
120
views
Help writing a Microsoft Intune compliance script for macOS
May I please get assistance with a [Microsoft Intune](https://learn.microsoft.com/en-us/mem/intune/fundamentals/what-is-intune) compliance script for macOS. If (app) is not installed set, device as non compliant. This is the srcipt I tried but its isn't working. I want to upload the script to intune...
May I please get assistance with a [Microsoft Intune](https://learn.microsoft.com/en-us/mem/intune/fundamentals/what-is-intune) compliance script for macOS.
If (app) is not installed set, device as non compliant.
This is the srcipt I tried but its isn't working. I want to upload the script to intune so that intune can mark devices without Apex installed as non compliant.
#!/bin/sh
#Enter the Name of the Application here Apex One (Mac)
Security Agent="/Applications/Apex One (Mac) Security Agent"
echo $Apex One (Mac) Security Agent
#Check if Directory Exist
if [ ! -d $ApplicationName ]; then
echo $ApplicationName "is not installed"
exit
fi
echo $ApplicationName " is installed"
Linux Guy
(1 rep)
Sep 26, 2024, 09:35 AM
• Last activity: Sep 26, 2024, 01:52 PM
1
votes
1
answers
282
views
Can MDM collect screen time reports from managed devices by using Apple’s framework?
Looking at the docs, the only restriction I found is related to [Screen Time settings modification][2]. Is there any way to see user's screen time thru [MDM][1]? [1]: https://developer.apple.com/documentation/devicemanagement [2]: https://support.apple.com/ru-ru/guide/deployment/dep6b5ae23e9/web
Looking at the docs, the only restriction I found is related to Screen Time settings modification .
Is there any way to see user's screen time thru MDM ?
LA_
(404 rep)
Sep 18, 2024, 06:26 AM
• Last activity: Sep 18, 2024, 11:31 AM
0
votes
0
answers
27
views
How to control access to Cellular data on iPhone?
I would like to control how my child uses cellular data on their iPhone. Since Screen Time doesn't work properly, I am looking at [Apple's Mobile Device Management (MDM)][2]. The first idea was to enable the [forceWiFiPowerOn][1] option. However, this requires supervising the iPhone, which necessita...
I would like to control how my child uses cellular data on their iPhone.
Since Screen Time doesn't work properly, I am looking at Apple's Mobile Device Management (MDM) .
The first idea was to enable the forceWiFiPowerOn option. However, this requires supervising the iPhone, which necessitates deleting all data on the device.
Is there another way to achieve what I need?
LA_
(404 rep)
Sep 17, 2024, 06:59 PM
0
votes
0
answers
137
views
Workspace ONE - 2 profile 2 extensions Chrome - macOS
I'm trying to deploy 2 different profiles for 2 different extensions for Chrome, I'm using the key: ExtensionInstallForcelist ID;https://clients2.google.com/service/update2/crx and ExtensionInstallForcelist ID2;https://clients2.google.com/service/update2/crx But I think the key 'ExtensionInstallForc...
I'm trying to deploy 2 different profiles for 2 different extensions for Chrome, I'm using the key:
ExtensionInstallForcelist
ID;https://clients2.google.com/service/update2/crx
and
ExtensionInstallForcelist
ID2;https://clients2.google.com/service/update2/crx
But I think the key 'ExtensionInstallForcelist' overwrite any other profile with the same key, that's why I can't have 2 profiles with 2 different extensions, instead my pc is only installing one profile, so one extenions.
Do you know any way to deploy 2 different extensions? The groups are different, that's why I can add both extensions to the same profile
Regards.
jesb
(47 rep)
Mar 2, 2023, 12:57 PM
• Last activity: Aug 12, 2024, 12:25 PM
2
votes
1
answers
244
views
Unable to pick settings in us.zoom.config.plist
I want to configure Zoom’s setting by pushing the plist file to the device from MDM. After pushing the customized us.zoom.config.plist to my macOS device through MDM, I am able to find the plist file over /Library/Managed Preferences folder, but Zoom’s default behavior doesn’t change at all. I tried...
I want to configure Zoom’s setting by pushing the plist file to the device from MDM.
After pushing the customized us.zoom.config.plist to my macOS device through MDM, I am able to find the plist file over /Library/Managed Preferences folder, but Zoom’s default behavior doesn’t change at all.
I tried to restart my machine, reinstall the Zoom app, push different plist content, and none of these helped me to achieve my goal. Would you let me know if I missed anything?
I also include the plist content below, please let me know if the format has any issues. Thank you in advance.
PayloadContent
PayloadDisplayName
us.zoom.config.plist
PayloadIdentifier
us.zoom.config.F9953132-51DD-405B-9989-595CEF531A17
PayloadType
us.zoom.config
PayloadUUID
F9953132-51DD-405B-9989-595CEF531A17
PayloadVersion
1
ZDisableVideo
zDisableChat
NoFacebook
NoGoogle
PayloadDisplayName
us.zoom.config.plist
PayloadIdentifier
Wills-Macbook-Pro.F7329566-3114-452D-AF7C-3F03D825745E
PayloadType
Configuration
PayloadUUID
35B0FD44-754C-4162-86BB-51B34A78110s5
PayloadVersion
2
You can install us.zoom.config.plist I attached above to /Library/Managed Preferences and watch if your Zoom app won’t turn on the camera automatically, disable the chat function, and disable FB/Google login.
angelokh
(41 rep)
Apr 16, 2023, 08:13 PM
• Last activity: Jul 6, 2024, 03:06 PM
1
votes
0
answers
53
views
cfgutil get-icon-layout throws NSInvalidArgumentException in insertObject:atIndex: object cannot be nil
I want to retrieve the home screen layout of an iPad attached with USB-C cable to my macOS device. But the command `cfgutil get-icon-layout` throws an _NSInvalidArgumentException_ in _insertObject:atIndex_ because _object cannot be nil_: ``` % cfgutil get-icon-layout *** Terminating app due to uncau...
I want to retrieve the home screen layout of an iPad attached with USB-C cable to my macOS device. But the command
cfgutil get-icon-layout
throws an _NSInvalidArgumentException_ in _insertObject:atIndex_ because _object cannot be nil_:
% cfgutil get-icon-layout
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil'
*** First throw call stack:
(
0 CoreFoundation 0x000000019d81f2ec __exceptionPreprocess + 176
1 libobjc.A.dylib 0x000000019d306788 objc_exception_throw + 60
2 CoreFoundation 0x000000019d74a934 -[__NSArrayM insertObject:atIndex:] + 1288
3 cfgutil 0x00000001002bc1e0 cfgutil + 49632
4 cfgutil 0x00000001002bc0d0 cfgutil + 49360
5 cfgutil 0x00000001002bc0d0 cfgutil + 49360
6 cfgutil 0x00000001002bc4e0 cfgutil + 50400
7 cfgutil 0x00000001002cc6c4 cfgutil + 116420
8 cfgutil 0x00000001002c7bd0 cfgutil + 97232
9 dyld 0x000000019d3420e0 start + 2360
)
libc++abi: terminating due to uncaught exception of type NSException
zsh: abort cfgutil get-icon-layout
Any ideas what causes this or how to circumvent?
I also tried with -C and -K params since it's supervised, and the different --format json/text/plist params, to no avail.
Other commands work fine, the version is cfgutil 2.17 (906)
% cfgutil list
Type: iPad13,18 ECID: 0xMYECID12345678 UDID: 00001234-56789ABCDEFFFFFF
0010281E02A3A01E Location: 0x100000 Name: Given Sur
% cfgutil version
cfgutil 2.17 (906)
cachius
(301 rep)
Jul 2, 2024, 03:07 PM
• Last activity: Jul 2, 2024, 03:22 PM
3
votes
2
answers
2478
views
Preload and preconfigure an iPad for someone else
I need to preload and preconfigure some software on an iPad, and then give the iPad to someone else. I thought about just buying the software with my App Store account, but is there a way that I can "transfer" the ownership of the app (and the registration of the iPad itself) to the other person? Th...
I need to preload and preconfigure some software on an iPad, and then give the iPad to someone else.
I thought about just buying the software with my App Store account, but is there a way that I can "transfer" the ownership of the app (and the registration of the iPad itself) to the other person?
This is similar to Is it possible to pre-install apps on an iPad? except that I *can* activate the device first, and I want to do more than just install an app, I want to be able to pre-configure everything and then (I suppose) transfer the app to the other person.
Adam Batkin
(479 rep)
Sep 21, 2011, 12:41 AM
• Last activity: Jun 1, 2024, 05:09 AM
0
votes
1
answers
272
views
Override MDM-controlled notification settings
We get Macs issued from my workplace, which has MDM (mobile device management) on it. When there is a scheduled system update upcoming in a couple of weeks I'll get daily reminders about it, which is super distracting and obnoxious. The notification settings in System Preferences for the MDM app (Ka...
We get Macs issued from my workplace, which has MDM (mobile device management) on it. When there is a scheduled system update upcoming in a couple of weeks I'll get daily reminders about it, which is super distracting and obnoxious. The notification settings in System Preferences for the MDM app (Kandji) is locked.
Is there any way I can tweak these settings or otherwise turn the notifications off?
Simon
(347 rep)
May 16, 2024, 07:59 PM
• Last activity: May 18, 2024, 02:18 PM
0
votes
0
answers
151
views
How to change setup language when using Mosyle to manage Mac?
MacBook Air M2 running macOS Sonoma was initially setup using “Français (Canada)” language (during initial setup). Now, when Mac is factory reset using Mosyle, language selection step is no longer displayed and, therefore, I have no way to change setup language to English. According to Mosyle d...
MacBook Air M2 running macOS Sonoma was initially setup using “Français (Canada)” language (during initial setup).
Now, when Mac is factory reset using Mosyle, language selection step is no longer displayed and, therefore, I have no way to change setup language to English.
According to Mosyle docs:
> As part of this process, the previously selected language and region is applied.
Is there a way round this?
sunknudsen
(1012 rep)
May 14, 2024, 02:30 PM
Showing page 1 of 20 total questions