How to Block USB Storage Devices in Windows – wintips.org

If you want to block access to USB storage devices in Windows, continue reading this guide. As you know, one of the most effective ways to back up your data or transfer data between two different computers is to use a USB storage device. However, the ability to use a USB storage device creates the risk of a third party copying your confidential information without your permission or damaging your computer if the USB storage device is compromised.

This guide will show you step-by-step how to erase (block) USB storage devices (such as USB flash drives, USB external hard drives, smartphones, tablets, etc.) in Windows 10, 8, 7 OS and Windows instructions are available. Server 2008, 2012/2016 (independent versions). *

*Note: After applying the following steps to your computer, when you connect a USB storage device, you receive one of the following error messages when you try to access it.

image image

How to block access to USB drives in Windows (all versions).

Method 1. How to disable access to USB memory using the registry.

*Notes:
1. This method is valid for all Windows operating systems.
2. Turn off all connected USB drives before applying the restriction, as the restriction does not apply to USB storage devices that are already installed.

1. Open the registry editor. For this:

a. press at the same time Windows image + R buttons to open the run command window.
b. Type regedit and press Enter.

regedit

2. In the left panel, go to the following button:

  • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor

3. In the right pane, open Start value and change the value from 3 4 and press OK. *

*Note: If you want to re-enable USB storage access, change this value again 3.

 Block USB storage devices in Windows.

5. Shut down Registry editor and restart Computer.

Method 2. How to disable access to USB storage with the Group Policy Editor.

To prevent access to all removable storage devices in Windows using a policy: *

*Notes:
1. This method only works on Windows Professional editions and Windows Server editions.
2. Turn off all connected USB drives before applying the restriction, as the restriction does not apply to USB storage devices that are already installed.

1. Open the Group Policy Editor. For this:

a. Click Windows at the same time image + R buttons to open the run command window.
b. Type gpedit.msc & press Enter.

image

2. In the Local Group Policy Editor, go to:

  • Computer Configuration > Administrative Templates > System > Access to removable memory

3. open the All removable storage classes: deny all access politics. *

*Note: If you only want to block write access to USB, select Removable disks: do not allow writing.

Disable USB storage devices in Windows - GPEDIT

4. Choose Enabled and press OK.

Block access to USB drives

5. Close the Local Group Policy Editor and restart Computer.

That’s it! Let me know if this guide helped you by leaving a comment about your experience. Please like and share this guide to help others.

If you found this article useful, please support us by donating. Even $1 can make a big difference for us We continue to help others while keeping this site free:

Leave a Comment