Skip to main content
Jamf Nation, hosted by Jamf, is a dynamic and knowledgeable community of Apple-focused IT admins and Jamf Pro users. Join us in person, in October, for the annual Jamf Nation User Conference (JNUC) to discover new and better ways to manage Apple devices.

disableUSB.sh -- Disable the USB drivers

Synopsis

sudo disableUSB.sh
sudo disableUSB.sh <targetVolume> <computerName> <currentUsername>

Description

This script disables the USB drivers, thereby disabling all functionality of the USB ports. After running this script, the USB drivers will be moved to: /Library/Application Support/JAMF/DisabledExtensions/ This way, the USB drivers could be re-enabled in the future. After running this script, the machine will need to be rebooted for the settings to take effect.

Download

Preview

Generating Preview...