+3 votes
225 views
How to block USB ports Windows 10

in Windows 10 by (551k points)
reopened | 225 views

1 Answer

+4 votes
Best answer

1. Disable USB ports using the Windows 10 Registry Editor
2. Disable USB ports using the Windows 10 Group Policy Editor

One of the most used hardware devices today is USB devices. This is because the USB have advanced in such a practical way that today it not only serves to save information but can also serve as a means of installing operating systems or applications with the respective configuration process as a boot medium..

Undoubtedly, USB media (memories, external hard drives, etc.) are a practical alternative for many users. We must also be aware of the risk that this brings because, being connected on various computers, safe and unsafe, multiple threats can be integrated into the device and then you are installed or staying on our computer with the consequences of security or information theft that We already know.

When we connect any USB device in Windows 10, we can verify that by default it will be mounted in File Explorer :

image

Being mounted on the system, we will have the ability to perform any action on this USB medium (read or write), making security options increasingly vulnerable..

Luckily for us, Windows 10 integrates a storage policy through which it will be possible to deny access to all removable drives and in this way we will prevent all users who have access to the computer from performing both writing and reading tasks. files and folders on said removable drive. TechnoWikis will explain how we can activate and configure this policy in Windows 10 and thus increase security with this type of devices.

To keep up, remember to subscribe to our YouTube channel! SUBSCRIBE


1. Disable USB ports using the Windows 10 Registry Editor

Before using this method, TechnoWikis recommends creating a backup or a restore point in case any error is generated..

Step 1

Now, to access the registry editor, we will use the following key combination and in the displayed window we execute the regedit command:

+ R

image

Step 2

Press Enter or Accept and in the displayed window we will go to the following route:
 HKEY_LOCAL_MACHINE \ SOFTWARE \ Policies \ Microsoft \ Windows \ RemovableStorageDevices 
Note
In case the “RemovableStorageDevices” key is not available, we must right click on the “Windows” key and select the “New / Password” option: image
Step 3

In the new key we enter the name "RemovableStorageDevices". image
Step 4

Now we must right click on the key "RemovableStorageDevices" and select the option "New / DWORD Value (32 bits)": image
Step 5

We will name this DWORD value "Deny_All": image
Step 6

We will double click on it or right click / Modify and there, in the field "Value information" we can assign one of the following options:
one
Disable self-assembly of USB media.
0
It is the default value and this allows USB media to be recognized and mounted by Windows 10.
Step 7

In this case we will use the value 1. Click OK to save the changes and we can exit the Windows 10 registry editor.

image

Note
The registry editor is available in all editions of Windows 10.

2. Disable USB ports using the Windows 10 Group Policy Editor

Step 1

This option only applies to the Pro, Education and Enterprise editions of Windows 10, to access this editor we will use the following keys and execute the gpedit.msc command:

+ R

 gpedit.msc 

image

Step 2

Click on OK and in the window we will go to the following route:
  • Equipment configuration
  • Administrative Templates
  • System
  • Removable Storage Access
image
Step 3

In the central policies, we locate a so-called “All kinds of removable storage: deny access to everything” and double click on it, in the displayed window we activate the Enabled box to activate this policy. Click on Apply and Accept to save the changes.

image

Thus, we have two different ways to protect in a total way both the information and the parameters of the operating system itself preventing any type of USB media that connects to the computer from being connected and recognized without the need to go to the end of blocking ports or use BitLocker for that purpose.


by (3.5m points)
edited

Related questions

+4 votes
1 answer
+4 votes
1 answer
asked Jun 23, 2019 in Windows 10 by backtothefuture (551k points) | 291 views
+5 votes
1 answer
asked Apr 27, 2020 in Security by backtothefuture (551k points) | 281 views
+5 votes
1 answer
asked Oct 26, 2019 in Windows 10 by backtothefuture (551k points) | 250 views
+3 votes
1 answer
asked Jun 23, 2019 in Windows 10 by backtothefuture (551k points) | 1.1k views
Sponsored articles cost $40 per post. You can contact us via Feedback

Most popular questions within the last 30 days

  1. Cell phone location by number: How easy it is to do it in Latam
10,634 questions
10,766 answers
510 comments
3 users