How to Block USB Drives on Mac: Step-by-Step Guide 2026
Blocking USB drives on a Mac means stopping macOS from mounting external storage while keyboards, mice and chargers keep working. This guide covers macOS 13 through macOS 26 on Intel and Apple silicon, from Apple’s own settings to open-source and managed tools. It also says plainly where a Windows-only blocking app cannot help.
A Mac has no single System Settings switch that blocks every USB drive. On a Mac you manage, send Apple’s Disk Management setting with ExternalStorage set to Disallowed; it needs macOS 15 or later. On a Mac you do not manage, the closest built-in control is the accessory prompt, which Apple documents for Apple silicon laptops only.
| Applies to | Macs on macOS 13 to macOS 26, Intel and Apple silicon |
|---|---|
| Time needed | About 30 minutes for a first Mac once an MDM service exists (our estimate) |
| Difficulty | Moderate; needs admin rights and usually a management service |
| Cost | No licence fee for Apple’s settings or open-source Santa; MDM pricing varies |
| Needs admin or internet | Admin rights, and an MDM service for Disk Management |
| Last verified | November 2026 |
/1How to Block USB Drives on Mac: Quick Answer
Apple does not ship a one-click USB block for personal Macs. What macOS 15 and later does offer is a Disk Management setting that a management service pushes to a Mac. Set ExternalStorage to Disallowed and the system will not mount any external drive. Set it to ReadOnly and people can open files but cannot copy anything out.
Can you block USB drives on Mac?
Yes, on a Mac you manage. Apple’s Disk Management declaration blocks external storage on macOS 15 or later, and the open-source Santa agent handles USB mounts on older releases. A Mac you do not manage has no documented system-wide block, only an approval prompt on Apple silicon laptops.
What is the easiest way to block USB drives on Mac?
The easiest route is whatever you already run. With an MDM service, Disk Management is one setting plus a pilot group. Without one, Santa takes real setup, so for a single personal laptop the accessory prompt is simpler. The decision table in the verdict section shows the order we use.
You need admin rights on the Mac, a test Mac, one spare USB drive, and a way back. Note which macOS version each Mac runs. Apple lists the Disk Management setting for supervised and local enrollment, and not for device enrollment or user enrollment, so check how each Mac was enrolled first.
/2Why Block USB Ports at All
USB storage is the simplest way for data to leave a machine, and for unknown files to arrive. NinjaOne’s guide lists lost drives, unauthorized copying, malware carried in files or device firmware, and compliance duties under frameworks such as HIPAA, GDPR and PCI DSS among the reasons organizations restrict drives. Those risks do not depend on the operating system.
Apple treats the wired port as an attack path too. Its deployment guide describes accessory security for macOS as protection against close-access attacks with wired accessories, which is why Apple silicon laptops ask before a new accessory connects. Shared family Macs, school labs and kiosks gain the most from a block, because nobody there owns the machine’s data alone.
Is your Mac exposed through USB?
/3Best Free Methods to Block USB Drives on Mac
“Free” here means no licence fee. Every route below still costs admin time, and the managed route needs a management service you may already pay for.
Block USB drives on Mac for free
Two free options exist. Apple’s accessory prompt costs nothing but covers only Apple silicon laptops, and Santa is open source but needs configuration. Neither is a one-click block for every Mac, so most readers combine one of them with a written rule.
The accessory prompt on Apple silicon laptops
Open the Apple menu, choose System Settings, click Privacy & Security, and scroll to Allow accessories to connect. The menu offers Always ask, Ask for new accessories (the default), Automatically allow when unlocked, and Always allow. Apple says that if you click Don’t Allow, the Mac does not recognize the accessory or give it access to your data, and charging still works.
Apple’s support page addresses Mac laptops with Apple silicon. It does not say desktop Macs get the prompt, and once you approve a drive, it connects again without asking under the default setting. Treat this as a speed bump, not a lock.
Santa: open-source USB mount blocking
Santa’s documentation lists three keys. BlockUSBMount turns the feature on, RemountUSBMode sets the mount flags a drive must match (read-only is one example), and OnStartUSBOptions decides what happens to drives already mounted when Santa starts. With no remount options set, matching mounts are rejected outright. The feature page does not state macOS version requirements, so read the release notes before deploying.
The older media-restrictions profile
A configuration profile using the com.apple.systemuiserver mount-controls key blocked external disks for years. A Jamf community thread reports Apple marked the media restrictions deprecated after macOS 10.15, and a January 2025 post says the setting still worked on Intel Macs running macOS 15.2 but not on Apple silicon. That is one forum report, so test before you trust it.
Why old kernel-extension tutorials are risky
Search results still offer guides that remove or rename IOUSBMassStorageClass.kext. Those posts date from the OS X 10.11 era, and one Apple Discussions reader reported errors following them. We do not recommend editing system files on a current Mac; use a supported policy instead.
A fifth option is physical: port covers and locked cases. They suit a kiosk, and they do nothing for a laptop that travels.
/4Step-by-Step: Block USB Drives on Mac
Steps to block USB drives on Mac with a Disk Management policy
These steps use the declaration Apple documents as com.apple.configuration.diskmanagement.settings. Your management console wraps it in its own screen, so the labels differ, but the three values do not.
Confirm the Mac and its enrollment
Check that the Mac runs macOS 15 or later. Apple’s reference allows the setting in supervised enrollment and local enrollment, and lists device enrollment and user enrollment as not applicable.
Pick the mode
Choose Disallowed to block every external drive, ReadOnly to allow reading only, or Allowed to leave things open. Network storage has its own value, so set it on purpose.
Create the setting in your console
Look for a Disk Management item. Kandji’s library item is named that and needs macOS Sequoia, 42Gears documents it for macOS 15.0 or later, and Addigy places it under Catalog, Device Settings.
Scope it to one test Mac
Assign it to a single Mac you can reach. Never start with the whole fleet.
Test, then widen
Run the checks in the verification section below. Add groups only after the test Mac behaves.
{
"Type": "com.apple.configuration.diskmanagement.settings",
"Identifier": "REPLACE-WITH-NEW-UUID",
"ServerToken": "REPLACE-WITH-NEW-UUID",
"Payload": {
"Restrictions": {
"ExternalStorage": "Disallowed",
"NetworkStorage": "Allowed"
}
}
}Apple’s own example uses the same keys with sample identifiers. Generate fresh UUIDs for yours.
Disk Management snippet builder
{
"Type": "com.apple.configuration.diskmanagement.settings",
"Identifier": "REPLACE-WITH-NEW-UUID",
"ServerToken": "REPLACE-WITH-NEW-UUID",
"Payload": {
"Restrictions": {
"ExternalStorage": "Disallowed",
"NetworkStorage": "Allowed"
}
}
}What changed for Mac USB blocking in 2026
Apple’s reference lists macOS 15.0 as the first release for the declaration. Some consoles draw the line elsewhere: Addigy’s guide uses macOS 26 and newer for the declaration path and a script for macOS 15 and older. Check your console’s minimum, not just Apple’s. One developer also reported that macOS Tahoe stopped honoring ro and noauto entries in /etc/fstab for external volumes, which makes that older trick unreliable.
/5Block USB Drives on Mac: Methods Compared
Security ratings in this table are our editorial assessment, based on each method’s documented behavior.
| Method | Difficulty | Security | Cost | Best for | Limitations |
|---|---|---|---|---|---|
| Accessory prompt | Easy | Low: a prompt, not a lock | No licence fee | One personal Apple silicon laptop | Laptops only; approved drives reconnect without asking |
| Disk Management declaration | Moderate | Moderate to high: system mount policy | Needs an MDM service; pricing varies | Managed Macs on macOS 15 or later | No per-drive exceptions; supervised or local enrollment |
| Santa USB mount blocking | Hard | High when configured well | Free software; admin time | Technical admins | Needs configuration; macOS requirements not stated on the feature page |
| Device-control agent (Defender) | Moderate | High: rules by vendor, product, serial | Needs a Defender plan | Fleets that need approved-drive exceptions | Licence, onboarding and a recent Defender version required |
| Older media-restrictions profile | Moderate | Unreliable | Free with an MDM service | Intel Macs on older macOS only | Deprecated; one report says it fails on Apple silicon |
| Eject-on-a-timer script | Moderate | Low: the drive mounts briefly | Free | A short stopgap | Addigy’s version runs every 60 seconds and ignores network storage |
| Windows-only blocking apps, such as NewSoftwares USB Block | Not applicable | Not applicable | $49.95 one-time for Windows, per the store | Windows PCs in a mixed office | Does not run on macOS |
| Verdict | On a managed Mac running macOS 15 or later, start with Disk Management. Add a device-control agent only when you need exceptions for named drives. | ||||
Pick the method by how the Mac is enrolled before you compare features. An unmanaged Mac cannot receive a Disk Management setting, so the feature list never matters until enrollment is settled.
/6Which Mac Setup Do You Have?
Method picker
/7Built-in Windows Methods Compared
Readers arriving from Windows search for the same three tools, and none of them exists on macOS. NinjaOne’s Windows guide covers the registry USBSTOR value, the Group Policy removable-disk restriction and Device Manager, and says Device Manager can disable keyboards and mice too. Its walkthrough of those three Windows methods is a fair reference if you also run PCs.
| Windows control | What it does | Mac counterpart |
|---|---|---|
| Registry USBSTOR Start value | Stops the storage driver; other USB devices keep working | No documented user-level equivalent; use Disk Management or Santa |
| Group Policy removable-disk restriction | Blocks access locally or across a domain | Disk Management declaration from an MDM service |
| Device Manager, disable USB controllers | Can also switch off keyboards and mice on the same ports | No equivalent; Mac storage policies leave keyboards alone |
Group Policy vs registry vs software-based control
On Windows, the registry edit suits one machine, Group Policy suits a domain, and a dedicated app suits a mixed room of PCs. The Mac gap is that the policy layer lives in a management service and the agent layer lives in a tool such as Santa. Software-based control on Mac therefore means an agent, not a registry setting.
Local Group Policy Editor is missing from Windows Home editions, according to Microsoft’s own Q&A answers and several independent guides. Home users who want a storage block on Windows usually use the registry route instead.
/8USB Blocking Software
Most USB blocking software is written for Windows. An ITPRC review of nine USB port locking tools describes only one, EndPoint Protector Device Control, as working with macOS, and calls most of the others Windows-only, per its 2026 roundup. That is the main fact to hold onto when a search result promises “USB blocker for Mac”.
One more trap is the name. A Mac App Store listing called USB Block-Data Leak Prevention comes from a different developer and showed version 2.6, last updated June 13, 2021, when we checked. It is not a NewSoftwares product.
Four questions to ask before installing a Mac blocking app
- Which macOS versions does the vendor list, and is Apple silicon named?
- When was the last update, and does it cover macOS 26?
- What happens to the policy if the app is removed or the Mac restarts?
- Can you lock the settings with a password so a standard user cannot undo them?
If a vendor cannot answer the last two questions in writing, treat the app as a prompt, not a block.
/9USB Malware Blocker
People type this phrase to mean two different things: a tool that blocks drives, and a scanner that checks them. This guide covers the first. A storage block stops files on a drive from reaching the Mac, so it removes the most common route for drive-borne malware.
What a storage block does not stop
AIMultiple’s guide to free USB blocking software covers threats such as BadUSB, where a device pretends to be a keyboard. A storage policy never sees that, because the device is not storage. Apple’s approval prompt on Apple silicon laptops is aimed at that class of attack, and a mouse or keyboard you already approved keeps working.
Blocking is also not scanning. If you allow read-only access, keep malware protection on the Mac and treat executable files from any drive as untrusted.
/10How to Verify It Worked After You Block USB Drives on Mac
Test on one Mac first, and write down the result. This checklist keeps count as you tick it.
Verification checklist
0 of 7 completed
- Open System Settings, General, Device Management, and confirm the profile or policy is listed.
- Plug in a test drive with ordinary files. No volume should appear on the Desktop or in the Finder sidebar.
- Open Disk Utility. Apple’s own guidance says a drive that did not mount appears there as not mounted.
- Run the Terminal command below and check the drive is listed but not mounted.
- Plug in a keyboard or mouse. It should work normally.
- Insert an SD card if the Mac has a slot; JumpCloud’s policy covers SD cards too.
- Restart once and repeat step two, because some profile changes take effect only after a restart or login.
diskutil list external| What you see | Likely cause | What to do |
|---|---|---|
| Policy listed, drive still mounts | Legacy media-restrictions profile on Apple silicon | Move to a Disk Management declaration |
| Setting never appears on the Mac | Wrong enrollment type, or macOS below 15 | Check enrollment and the console’s minimum macOS |
| Drive mounts for a moment, then ejects | A timer script, not a mount policy | Replace it with a declaration or Santa |
| Works on one Mac, not another | Intel and Apple silicon differ | Test both chips before rollout |
/11Common Mistakes When You Block USB Drives on Mac
Starting with the whole fleet
A bad scope locks out staff who need a drive today. Pilot on one Mac.
Trusting an old profile on Apple silicon
The media-restrictions profile is deprecated, and one report says it fails on Apple silicon Macs.
Forgetting network storage
The Disk Management setting has a separate NetworkStorage value. A timer script like Addigy’s does not touch network drives.
Blocking the dock along with the drive
Apple says hubs and docks that charge your Mac can keep charging even when you choose Don’t Allow. Test the dock you actually use.
Assuming removal is instant
Applivery warns that after a profile is removed, macOS may keep enforcing the block until a restart.
No written exception path
Someone will need a drive for a legitimate job. Decide who approves it before you switch the policy on.
/12Is This Enough? What Else to Do After You Block USB Drives on Mac
A mount block closes the front door, and several side doors remain. Plan for these.
What a storage block leaves open
- Disk images
- Jamf Protect’s documentation says its removable storage controls ignore disk images such as DMGs.
- Bluetooth file transfer
- Microsoft’s Defender device control lists Bluetooth transfers as a separate device type, so a USB rule does not cover them.
- Phones
- The same Defender page says Android devices are restricted only in PTP mode; File Transfer, USB Tethering and MIDI modes are not.
- Cloud and email
- A block on drives does not stop uploads, so pair it with account controls.
Read-only mode also stops executables running from the drive, according to Jamf Protect’s documentation. That helps, but it is a Jamf Protect behavior, so check your own tool before relying on it.
Protect the files themselves too. If a drive must leave the building, encrypting the data first limits the damage when it is lost. Folder Lock for Mac runs on macOS 13 and later and uses AES-256, as its product page states; it encrypts files and does not block drives.
For monitoring, check what your tool records. Santa’s Workshop product page says every mount attempt streams to its events view, and Defender’s audit enforcement sends an event for allowed access. Neither is on by default in a basic setup.
/13How to Allow Approved Drives Only
Apple’s Disk Management setting has no per-drive exceptions. An answer in Apple’s developer forums says it has no granularity: one configuration covers external storage and another covers network storage. To allow a single approved drive, you need a device-control agent that matches on vendor ID, product ID and serial number.
Our full walkthrough, including how to find those three values and how to keep a keyboard and mouse working, is on its own page: allow only approved USB drives on a Mac.
Block everything by default, then add the approved drive by serial number. A drive that reports no serial number cannot be matched that way.
/14How to Re-enable USB Ports Safely
Only an administrator of the Mac should reverse a block. If you are a user on a work or school Mac, ask whoever manages it; this guide does not cover ways around a policy your organization set.
Change the setting, do not delete blindly
Set ExternalStorage to Allowed, or to ReadOnly as a middle step, and save the declaration.
Restart the Mac
Applivery notes macOS may keep enforcing the old rule until a restart, so restart before you conclude it failed.
Test with a spare drive
Plug in a test drive and confirm it mounts and the Device Management pane shows the new state.
Re-enable by group
Widen scope in stages, and record who asked and why.
If a drive is not appearing and you cannot tell why, use the diagnosis page: Mac USB drive not mounting after a restriction.
/15Netsoftwares USB Block: Where It Fits and Where It Does Not
NewSoftwares USB Block is a Windows program, so it is not the answer for a Mac. Its product page describes software for Windows PCs, lists Windows 10, 8 and 7 plus Windows Server 2008 to 2019, and says installation needs administrator rights. NewSoftwares’ downloads page lists a macOS version only for Folder Lock.
Where it does fit is a mixed office. If your Macs get the Disk Management policy, the Windows PCs next to them still need a drive control. For those, the product blocks USB drives, external drives, SD cards, phones, discs, network drives and non-system partitions, lets you keep your own devices on a whitelist, protects its settings with a password and logs wrong-password attempts, per its product page.
Real limitations: no Mac version, no price on the product page itself, and no trial terms published there. If you run only Macs, there is nothing here to buy.

/16What USB Block Controls on a Windows PC
Switches in the Control Center
| Block USB Devices | Unauthorized USB drives, external drives and memory cards |
|---|---|
| Block Discs and Floppy Drives | CDs, DVDs, Blu-ray and floppy drives |
| Block Network Access | Access to other computers on the network |
| Block Non-System Drives | Drives and partitions other than the system drive |
Best for: Windows PCs where staff plug in their own drives. Not ideal for: Macs, or any machine that needs per-device rules managed from a central console, since the product page describes a per-PC program.

/17Software-Based USB Blocking Step-by-Step
This applies to Windows PCs only. The steps follow the screens in NewSoftwares’ own screenshots.
Install with administrator rights
The product page says installation needs admin rights, so sign in as an administrator on the PC.
Switch on the device types
Open the Control Center tab and tick the types to block: USB devices, discs, network access or non-system drives.
Set the password
On the Program Options tab, use Change Password so a standard user cannot switch protection off.
Keep trusted drives on the list
The Authorized Devices tab holds each approved drive’s serial number, device type and device name.
Check the logs
The Reports and Logs tab keeps recent device and usage reports, including counts of drives blocked.

/18How Mac Storage Policies Work Under the Hood
/19USB Block Pricing for Windows Fleets
| Item | What the official pages show |
|---|---|
| Price | $49.95 USD, listed as a one-time purchase on the NewSoftwares store |
| Platforms | Windows only |
| Mac version | None listed |
| Trial | The product page implies a trial but publishes no terms |
| License terms | Not stated on the store page |
Is it worth it? Only if you have Windows PCs to protect. A Mac-only office gains nothing from it, and the Disk Management route above costs no licence fee beyond the MDM service you may already have.

/20Who Should Use Which Method
| You are | Use this | Does USB Block fit? | Honest alternative |
|---|---|---|---|
| A person with one MacBook | Accessory prompt, Always ask | No | Keep drives you trust and nothing else |
| A parent with a shared iMac | Standard accounts and a house rule | No | Santa if you are technical |
| An office admin with Macs and an MDM service | Disk Management declaration | Only for its Windows PCs | Device-control agent for exceptions |
| An IT lead with Macs and PCs | Disk Management on Macs, a Windows tool on PCs | Yes, on the Windows side | Defender device control covers both |
| A school lab | Disk Management, Disallowed | No on Macs | ReadOnly if students must open files |
/22Frequently Asked Questions About Blocking USB Drives on a Mac
How to block usb drives on mac?
On a managed Mac running macOS 15 or later, push a Disk Management setting with ExternalStorage set to Disallowed. On older releases, Santa can reject USB mounts. On an unmanaged Apple silicon laptop, set Allow accessories to connect to Always ask. The step-by-step section shows each route.
Can I block usb drives on mac without paid software?
Yes, with limits. Apple’s accessory prompt and open-source Santa carry no licence fee. The Disk Management setting is free from Apple but needs an MDM service to deliver it. Expect to spend admin time instead of money.
What is the fastest way to block usb drives on mac?
If an MDM service is already in place, a Disk Management setting scoped to a test Mac is the quickest. Without management, switching the accessory prompt to Always ask takes under a minute on an Apple silicon laptop, though it only prompts and does not lock.
What mistakes should I avoid when I block usb drives on mac?
Skip a fleet-wide first rollout, do not rely on the old media-restrictions profile on Apple silicon, and set NetworkStorage deliberately. Restart before declaring a removal failed. The common-mistakes section lists six in full.
How do I check that it worked after I block usb drives on mac?
Plug in a test drive and confirm no volume appears in Finder. Then check Disk Utility and run diskutil list external in Terminal. Finish by testing a keyboard, since a storage policy should leave it working.
Can I block USB storage but keep my keyboard and mouse working?
Yes. A storage policy stops drives from mounting and does not touch keyboards or mice, as JumpCloud’s Mac policy notes. Device Manager on Windows behaves differently and can disable them too.
Does blocking USB ports stop phone charging?
No. Apple says an accessory can still charge even if you choose Don’t Allow, and a mount policy never cuts power. Data access to the phone is a separate question that depends on your tool.
Will USB blocking work on Windows Home?
This guide is about Mac, but for Windows: Home editions lack the Local Group Policy Editor, so the registry route or a dedicated app is used instead. NewSoftwares USB Block lists Windows 10, 8 and 7 and several Server editions.
How do I re-enable USB ports as the administrator?
Set ExternalStorage to Allowed in the declaration, restart the Mac and test with a spare drive. Applivery warns that enforcement can continue until a restart. Widen the change by group, not all at once.
Can I allow only one approved USB drive?
Not with Apple’s Disk Management alone, which has no per-drive granularity. A device-control agent can match vendor ID, product ID and serial number. The approved-drives page walks through it.
Does NewSoftwares USB Block run on a Mac?
No. The product page describes Windows PCs, and NewSoftwares’ downloads page lists a macOS version only for Folder Lock. For Macs, use a management policy or an agent such as Santa.
Will a profile that blocks drives also block SD cards?
Often yes. JumpCloud’s Mac policy covers storage attached through USB, Thunderbolt or an SD card slot. Check your own tool, and test an SD card during verification.
/23Our Verdict: Pick by Enrollment First
Pick by enrollment first, then by whether you need exceptions, then by macOS version. A managed Mac on macOS 15 or later gets the Disk Management setting. A Mac that needs approved-drive exceptions gets a device-control agent. An unmanaged Apple silicon laptop gets the accessory prompt on Always ask, and everything else gets a written rule.
The enrollment-first rule
- Is the Mac enrolled in MDM? If not, use the prompt and physical controls.
- Do you need approved-drive exceptions? If yes, use a device-control agent.
- Otherwise send Disk Management, Disallowed or ReadOnly.
NewSoftwares USB Block is the right call for the Windows PCs in a mixed office and is not an option for Macs. See USB Block for Windows →
/24Go Deeper on Mac USB Blocking
About this guide. The NewSoftwares.net team publishes it, and we make USB Block. Free and built-in options are covered alongside our own. Facts come from vendor documentation checked in November 2026, and prices are as the official pages showed them. To reach the developer, use the contact page.