Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Intune USB Settings: Blocking and Allowing Removable Storage

· 5 min read · Home Tech

In this article
  1. Block USB Storage With a Device Restrictions Profile
  2. Where Each USB Setting Lives in Intune
  3. Allow Only Specific USB Devices by Hardware ID
  4. One Misconception: Intune Blocks Storage, Not the USB Port
  5. A Worked Example: Read-Only USB for a Sales Team
  6. When the Policy Does Not Apply
  7. What Happens on the User's Side

Yes, Microsoft Intune can control USB storage on enrolled Windows devices, and the main switch is the "Removable Storage Access" section of a device restrictions profile. You can block all USB drives, allow only specific devices, or make storage read-only, and the policy reaches devices within their check-in interval, typically within about 8 hours or immediately after a manual sync.

Time 15 min · Steps 7 · Level Medium

Block USB Storage With a Device Restrictions Profile

  1. Open the Intune admin center. Sign in at the Microsoft Intune admin center (endpoint.microsoft.com or intune.microsoft.com) with an account that has policy and profile manager permissions.
  2. Start a new device profile. Go to Devices > Configuration profiles > Create profile, choose Windows 10 and later as the platform, and pick Templates > Device restrictions as the profile type. Menu labels can differ slightly by version.
  3. Find the removable storage section. In the profile's settings, expand the categories until you reach the removable storage or USB area; in current builds it sits under "Device restrictions > Removable Storage Access".
  4. Choose the block level. Set "Removable Storage Access" or "All removable storage" to Block to deny every USB drive, or leave it Allow and block individual classes such as USB drives, SD cards or portable music players instead.
  5. Scope the policy. Assign the profile to a device group or user group in Entra ID (formerly Azure AD). Device groups are the usual choice for hardware restrictions because they follow the machine, not the person.
  6. Save and wait for check-in. Devices pick up the profile automatically, typically within about 8 hours, or within minutes if you trigger a sync from the device's Intune Company Portal or from the device page in the admin center.
  7. Verify on a test device. Plug in a USB drive on a test machine: with the block applied, Windows shows an access-denied message and the drive does not open in File Explorer.

Where Each USB Setting Lives in Intune

The device restrictions template covers the common cases, and a second location covers the fine-grained ones. In the restrictions template you can separately block USB drives, memory cards, CDs, DVDs and portable media players, and there is a read-only option that lets users copy files from a USB drive but not onto it. For anything more surgical, use Devices > Configuration profiles > Create profile > Windows 10 and later > Templates > Administrative templates, which exposes the same Group Policy settings admins have used for years, including device installation restrictions that work by hardware ID.

The read-only switch deserves a second look if you only want to stop data leaving the company. A laptop set to read-only USB can still read files from a client's drive for a presentation, but any attempt to save to the drive fails, which is often the balance a business actually wants.

Allow Only Specific USB Devices by Hardware ID

Blocking everything is the blunt version; the precise version allows a whitelist of approved drives. Create an Administrative templates profile and open the device installation restriction policies under System > Device installation. There you can prevent installation of all removable devices, then add exceptions by device hardware ID. To find a drive's hardware ID, plug it into a test PC, open Device Manager, open the drive's properties, and check the Details tab, where the hardware IDs are listed. Paste the top ID (something like USBSTOR\Disk&Ven_Generic&Prod_Flash_Drive) into the allowed list in the profile. This is also the approach to use when the goal is blocking write-capable storage but keeping keyboards, mice and webcams working, since those are not USB storage and are untouched by the storage settings.

One Misconception: Intune Blocks Storage, Not the USB Port

A common misunderstanding is that Intune disables the USB port itself, so nothing plugged in works. The removable storage settings only affect storage-class devices: flash drives, external hard disks and card readers. A USB keyboard, mouse, headset or printer keeps working even when every storage option is set to Block. If you genuinely need the port dead to all devices, that is a BIOS or UEFI setting on the machine, not an Intune policy, and it is set per model rather than centrally.

A Worked Example: Read-Only USB for a Sales Team

Suppose a sales team of 40 laptops needs to read client files from USB drives but must never copy company data onto one. Create one device restrictions profile, set Removable Storage Access to Allow, and set the USB-specific read-only option to Enabled. Assign it to the group holding the 40 devices. On a test machine, copy a 500 MB folder from the USB drive to the desktop: it succeeds. Drag a 10 MB file from the desktop onto the USB drive: Windows refuses the write. Total admin time is about 15 minutes, and every device in the group is covered at its next check-in, typically within about 8 hours without any site visits.

When the Policy Does Not Apply

If a USB drive still opens after the block is assigned, check the assignment first: the profile must be assigned to a group that actually contains the device, and the device must show as compliant and enrolled in the admin center. Next, force a sync from Devices > All devices, select the machine, and choose Sync; the profile should arrive within a few minutes. On the device itself, open Settings > Accounts > Access work or school, select the account, and check that the Intune connection is healthy. If the device is co-managed or has local Group Policy for the same setting, the local policy can win, so compare with the Resultant Set of Policy on the machine. Finally, confirm you edited the right profile: a Windows device restrictions profile does nothing on macOS or Android, which need their own platform-specific profiles.

What Happens on the User's Side

From the user's point of view, a blocked drive behaves like a permissions problem, not a broken port. The drive may appear in File Explorer but produce an "access is denied" message when opened, or it may not appear at all depending on which setting was applied. Users can still see the drive in Disk Management, which sometimes causes confusion, so a short note to the team explaining that USB storage is blocked by company policy saves helpdesk calls. Nothing is deleted from a blocked drive; the block only stops Windows from reading or writing it while the policy is in force.

Official source: Microsoft Learn