How to manage: accessory access setting in System Preferences

JevermannNG
Contributor II

I am looking for a way to manage the settings to allow accessory (USB/Thunderbold).

In the System Preferences are these settings available:

  • Ask every time

  • Ask for new accessories

  • Automatically when unlocked

  • Always

But I didnt find any setting options in the following MDM command:

https://support.apple.com/guide/deployment/manage-accessory-access-depf8a4cb051/1/web/1.0

Is there a different way to set this option to "Ask every time" ?

5 REPLIES 5

jamf-42
Valued Contributor II

if you need to block connecting USB / Thunderbolt devices.. there is nothing in macOS / JAMF that provides this function. You'll need to look at 3rd party solutions.

I dont want to block USB Devices.

I want to manage the setting. My target is that the user gets an requester each time a USB Device connects to the Mac.

A_Collins
Contributor

It can be managed by MDM.. 

The domain is com.apple.applicationaccess and the key is allowUSBRestrictedMode

More info : apple

If false, the system allows iOS devices to always connect to USB accessories while locked. On macOS, allows new USB and Thunderbolt accessories and SD cards to connect without authorization. If the system has Lockdown mode enabled, it ignores this value. Available in iOS 11.4.1 and later, and macOS 13 and later. Requires a supervised device in iOS.

Default: true

 

Well, that is the same like I referred to by the URL in my first post.

That setting allows only a permanent Yes or No.

I am looking for a way, that "always ask" enables.

m_oravec
New Contributor II

I am looking to do something similar but to always allow since it seems there is a bug in 14.4 causing usb issues. Did anyone find a solution ?