Unknown removable devices can pose security problems on your computer, so it’s necessary to restrict their access. In this post from MiniTool, we will introduce how to disable access to removable storage devices on Windows 10/11 in 3 ways.

Why Do You Need to Disable Access to Removable Storage Devices?

Computers come with USB ports to standardize the connection of external devices including keyboards, mouse, printers, disk drives and more, allowing communication and power supply. While there are times when you want to disable access to removable storage devices to prevent spread of malware or data leakage.

If you need to stop others from transferring private data or installing unknown malware, scroll down to get 3 ways to block removable devices on your computer.

How to Check USB History on Windows 10/11?
How to Check USB History on Windows 10/11?

How to check USB history to troubleshoot the peripherals connected to your computer? This post will offer you 3 ways!

Read More

Disable Access to Removable Storage Devices via Local Group Policy Editor

To block removable devices on your computer, you can resort to Local Group Policy Editor which enables you to configure a variety of computer and user settings. To do so:

Tips:
Local Group Policy Editor is only available on Windows Professional and Enterprise editions. If you are a Windows Home user, please skip this solution.

Step 1. Press Win + R to open the Run box.

Step 2. Type gpedit.msc and click on OK to start Local Group Policy Editor.

Step 3. Navigate to the path below:

Computer Configuration > Administrative Templates > System > Removable Storage Access

Step 4. In the right pane, double-click on All Removable Storage classes: Deny all access.

hit All Removable Storage classes: Deny all access in Local Group Policy Editor

Step 5. Tick the Enabled option.

Step 6. Click on Apply & OK to make the changes effective.

Disable Access to Removable Storage Devices via Registry Editor

Modifying some related registries in Registry Editor can achieve the same results. Here’s how to do it:

Warning:
Accidental removal of any essential registry entry might damage your OS, so make sure to back up anything important before making any changes to Registry Editor. To back up the data on your computer, a piece of PC backup software – MiniTool ShadowMaker is worth a try.

MiniTool ShadowMaker TrialClick to Download100%Clean & Safe

Step 1. Press Win + R to open the Run box.

Step 2. Type regedit.exe and hit Enter to launch Registry Editor.

Step 3. Copy and paste the following path in the address bar and hit Enter:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows

Step 4. Right-click on the Windows registry to select New > choose Key > rename it RemovableStorageDevice > hit Enter.

Step 5. Right-click on the new key > select New > DWORD (32-bit) Value > name it Deny_All and hit Enter.

create a new DWORD (32-bit) value under RemovableStorageDevice

Step 6. Double-click on the Deny_All value and change its value data from 0 to 1.

Step 7. Restart your computer to refresh these changes. If you want to regain access to your removable storage devices, change Deny_All ‘s value data from 1 to 0.

Disable Access to Removable Storage Devices via Device Manager

Device Manager allows you to view and manage all the hardware on your computer, so you can also utilize this feature to block USB access. Here’s how to do it:

Tips:
It’s noted that this method comes with the risk that you might disable the USB controller that connected to your keyboard, mouse, or other devices. Please create a system restore point before applying this solution so that you can cancel these changes if anything goes wrong.

Step 1. Right-click on the Start menu and select Device Manager.

Step 2. Expand Universal Serial Bus controller.

Step 3. Right-click on the USB ports that you want to disable and select Disable device.

select Disable device to block USB access on a single computer

Comparison of These Three Methods

Here’s a quick comparison of the 3 methods for disabling access to removable storage devices:

 Limitation
via Local Group Policy EditorNot available on Windows Home
via Registry EditorIncorrect changes might lead to serious system problems.
via Device ManagerPossible effects on the use of printer, keyboard, mouse, and other USB-connected devices.

Final Words

This post walks you through 3 ways on how to disable access to removable storage devices with ease. Different methods have different merits and demerits, so you can choose the one as required.

  • linkedin
  • reddit