How to Block USB Devices on Windows 11

Author
Olaniran Olamide
October 17, 2025

Blocking USB devices on Windows 11 can enhance your system’s security by preventing unauthorized access to your data or preventing the introduction of malware. Here’s a breakdown of how to block USB devices using different methods:

Windows 11

Method 1: Using Device Manager (Most Common Approach):

This is the most common and user-friendly method for selectively blocking specific devices.

1. Open Device Manager:

  • Right-click on the Start button and select “Device Manager”.

  • OR, search for “Device Manager” in the Start Menu search bar.

2. Locate USB Controllers:

  • Expand the “Universal Serial Bus controllers” section.

3. Identify the USB Devices You Want to Block:

  • Expand “Universal Serial Bus controllers” to see specific types of USB devices (e.g. USB Mass Storage Device or others).

  • Look for the USB devices that you want to disable. (Hint: this may require experimentation if you are unsure which entries relate to which hardware device)

  • If you’re unsure, unplug the USB device from your computer, see which device entry disappears, then plug it back in to see which one reappears.

4. Disable the Device:

  •  Right-click on the specific USB device you want to block.

  •  Select “Disable device”.

  •  Confirm your choice if prompted.

Note: Disabling a controller will disable all devices connected to that controller. If you would like to block a specific device, disable the related USB device, not a controller.

5. Enable or Disable Later: You can enable the device later by right-clicking it again and selecting “Enable device.”

Method 2: Using Group Policy Editor (Advanced Users)

This method is more powerful, allows fine-grained control, and blocks access to USB drives for all users on the computer.

1. Open Group Policy Editor:

  * Press “Windows Key + R”.

  * Type gpedit.msc and press Enter.

2. Navigate to Device Installation Restrictions:

  •  On the left-hand side menu, expand Computer Configuration, then Administrative Templates, then System, and finally Device Installation.

  * Under Device Installation, select Device Installation Restrictions.

3. Enable Device Installation Restrictions:

  •  In the right-hand pane, find and double-click on “Prevent installation of devices not described by other policy settings.”

  •  Select “Enabled.” Click “Apply” and “OK”.

4. Configure Device Installation Policies:

  •  Find the setting “Prevent installation of devices using drivers that match these device setup classes”.

  •  Double-click and set this to “enabled” then select the “show” button to add the classes you want to block. You can find device setup class GUIDs online. A common class GUID used for preventing mass storage is {53f56307-b6bf-11d0-94f2-00a0c91efb8b}.

  * Click OK, Apply, and OK.

5. Apply the Changes:

 • You may need to reboot your system to apply the changes.

Method 3: Using the Registry Editor (Advanced Users)

This is another advanced approach for blocking specific USB devices using a direct modification of the registry. Use with extreme caution.

1. Open Registry Editor:

  • Press “Windows Key + R”.

  • Type regedit and press Enter.

2. Navigate to the USBStor Key:

  * Expand the following:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR

3. Modify the “Start” Value:

  •  On the right pane, find the “Start” value.

  •  Double-click on “Start” and change the “Value data” to 4. A value of “4” disables the device.

  •  Click OK and reboot.

Important Notes:

•  Administrator Privileges: All of these methods require administrator privileges to make the necessary changes.

•  System Stability: Incorrectly modifying the system settings or registry could cause problems. Be sure to take your time and understand exactly what each setting does. Only modify settings if you are very comfortable working with these advanced configurations.

•  Specificity: Device Manager allows you to block specific devices, while Group Policy settings can block entire classes of devices.

•  Reversible: The methods above are typically reversible; however, it is important to back up your system before making major configuration changes.

•  Updates: Windows updates might sometimes change the behavior of how USB devices work, so be aware that your current settings may not work in the future.

•  Alternatives: There are third-party software applications that also offer solutions for controlling USB device access.

By using these methods, you can control access to USB devices on Windows 11. Choose the method that best fits your technical expertise and the level of control you require.

Forgot Password

Retrieve load password