Disabling USB storage isn’t just IT paranoia—it’s digital decluttering. Whether you’re locking down a shared office PC, protecting sensitive data from wandering thumbs, or simply tired of your sibling borrowing your flash drive and returning it with “totally not a virus,” here’s the interesting part: you don’t need third-party software. Windows, Linux, and macOS all let you flip a switch that turns every USB port into a read-only ghost town.
Use a configuration profile (or a sneaky sudo nvram boot-args="amfi_get_out_of_my_way=0" plus a kernel extension block). Or simply remove com.apple.usb-storage.kext . Poof. Your Mac now treats flash drives like invisible squirrels.
So go ahead. Pull the plug on digital clutter. Your ports will still work. Your secrets will stay secret. And that questionable USB stick from the conference giveaway? Let it gather dust in peace. desactivar almacenamiento usb
Want a step-by-step for your specific OS? Just say the word.
Disabling storage doesn’t disable keyboards, mice, or printers. You’re not breaking USB—just starving its memory-hungry cousin. And if you ever need to reverse it? Change that 4 back to 3 , reload the kext, or remove the blacklist. Like nothing ever happened. Use a configuration profile (or a sneaky sudo
You know that little USB drive you carry everywhere? The one holding your dissertation, your backup cat photos, and that encrypted file you swore you’d never open again. Now imagine telling your computer: “Nope. Not today.”
echo 'blacklist usb_storage' >> /etc/modprobe.d/blacklist.conf Then update-initramfs -u . Reboot. USB mass storage? What USB mass storage? Your Mac now treats flash drives like invisible squirrels
The Day I Pulled the Plug on My Memory (Or: How to Disable USB Storage Without Losing Your Mind)