Skip to main content
Jamf Nation, hosted by Jamf, is the largest Apple IT management community in the world. Dialog with your fellow IT professionals, gain insight about Apple device deployments, share best practices and bounce ideas off each other. Join the conversation.

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...

612 Downloads
Uploaded: 11/5/11 at 7:50 PM by jake
Product: Mac OS X