Config Server Firewall

How to Block or Disable USB Storage Devices in Windows 11/10

Disabling USB storage devices in Windows is an effective way to prevent unauthorized data access and improve system security. In this guide, we will look at how to disable USB storage devices in Windows 11 and Windows 10 using Group Policy.

We will cover two scenarios:

Note on Active Directory: This guide is for standalone Windows computers. If your computer is part of an Active Directory domain, you will apply the same Group Policy setting, but you must do it through the Active Directory Domain Controller.

Method 1: System-Wide USB Storage Denial (All Users)

In this first example, we apply the configuration system-wide, which means all users on the computer will be denied access to USB storage devices.

Open Microsoft Management Console (MMC)

To begin, open Microsoft Management Console (MMC):

Add the Local Group Policy Snap-in

Configure the USB Storage Policy

Navigate to:

Double-click All Removable Storage Classes: Deny all access. Set the policy to Enabled, then click OK.

Open Microsoft Management Console (MMC)
Open Microsoft Management Console (MMC)
Add/Remove Snap-in
Add Group Policy Object
Add Group Policy Object
block usb group policy
Block USB Group Policy
Enable Block USB Group Policy
Enable Block USB Group Policy

This setting disables all USB storage devices for every user on the computer.

Save the Console (Optional but Recommended)

Before closing the window, it's helpful to save a shortcut to this management console for quick access later.

Apply the Policy Changes

For the setting to become effective, you must either run the gpupdate /force command in the Command Prompt or restart the computer. Restarting is recommended for a full application.

Blocking USB Drives on Windows
Blocking USB Drives on Windows

After the restart, insert a USB device. When you try to access it via File Explorer, you should see an Access Denied message, confirming the system-wide denial is working.

Undoing the System-Wide Setting

To revert this change:

Method 2: Disable USB Storage Devices for Specific Users or Groups

In this method, we block USB storage devices only for specific users or groups, while allowing other users (such as administrators) to continue using USB devices. The most efficient way to target multiple users is by using a group.

Create a New Management Console and Target a Specific User or Group

You must create a new management console snap-in for this targeted configuration.

Applying this to Non-Administrators will deny standard users but allow administrative users to continue accessing USB devices.

Navigate and Configure the Setting

This time, you will navigate under User Configuration, Navigate to:

Then, open All Removable Storage Classes: Deny all access and set it to Enabled.

Click the Browse button
Disable USB Storage Devices for Specific Users or Groups
All Removable Storage Classes: Deny all

Apply and Test the Setting

Save the MMC console if needed, then restart the computer.

Important Note About Group Policy and MMC Shortcuts

Deleting an MMC shortcut does not remove the policy. It only deletes the shortcut—the Group Policy setting remains active.

If you delete the shortcut or didn’t create one, you need to create a new MMC console the same way to reconfigure the USB settings.

Conclusion

This is how you can disable USB storage devices in Windows 11 and Windows 10, either system-wide or for specific users or groups, using Group Policy on a standalone Windows computer.

This method is useful for improving security, preventing data leaks, and controlling USB access in Windows environments.