Answer the question
In order to leave comments, you need to log in
How to disable USB (for mass storage) on Mac OS Sierra and above?
Good afternoon, how to disable / disable USB flash drives, disks and other drives in Mac OS Sierra?
Did it like this:
sudo kextunload /System/Library/Extensions/IOUSBMassStorageClass.kext
sudo mv /System/Library/Extensions/IOUSBMassStorageClass.kext ~/backup
sudo touch /System/Library/Extensions/
sudo reboot
Failed to unload com.apple.iokit.IOUSBMassStorageClass - (libkern/kext) kext is in use or retained (cannot unload)."
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question