How to block a USB storage device in Windows PC without affecting the USB keyboard, Mouse, and Printer.

How to block a USB storage device in Windows PC without affecting the USB keyboard, Mouse, and Printer.

In almost any computer, you can attach USB storage devices such as pen drives, external hard drives, etc. Once the removable device is attached, you can read, write, and modify the data in those devices. Most people use some kind of USB storage device to transfer or store data.  

There will be situations somewhere where you will need to block all USB ports in Windows. Mainly because you don’t want users to attach USB drives and transfer or read data without authorization. If your PC or laptop is in a place where people are more likely to transfer data from your PC through USB Pendrive, then in this situation, there is a risk of virus infection in your PC as well as data theft. Apart from this, USB devices can damage the company’s computer with ransomware and other types of malicious software. In this case, you can get rid of the above problem by disabling the USB port of your PC or laptop. Windows Family has an important feature of enable/disable USB ports through which we can protect the data of our PC or laptop.

You can follow these steps to restrict USB storage device access without affecting functional devices such as mouse, keyboards, and printers.

Step 1. Press Windows + R key to open Run box then type gpedit.msc in the run box then press enter key, Group Policy editor window open.
type group policy command
type group policy command
Step 2. On the Group Policy editor window go to Computer Configuration> Expand Administrative Templates folder> Expand System subfolder> Double Click Removable Storage Access
open removable storage access
open removable storage access
Step 3. In right side window, double click on the following items and check enable radio button in the popup window:
Group Policy editor window for removable storage
Group Policy editor window

Removable Disk: Deny execute access ———>enable

Removable Disk: deny execute access
deny execute access

Removable Disk: Deny read access    ———>enable

Removable Disk: deny read access
deny read access

Removable Disk: Deny write access    ———>enable

Removable Disk: deny write access
deny write access
Step 4. Restart the windows then plug a removable storage device and try to open but it can’t proceed any action.

If you want to reverse the PC configuration default state, select “Not configured” or “Disabled” in the policy properties window for all three policies.

Leave a Reply

Your email address will not be published. Required fields are marked *

error: Content is protected !!