How to Block USB Ports in Windows

computer usb ports
Computer USB Ports

USB devices are very common nowadays. Because of it’s portability and large disk space capacity, it has become a major choice for most computer users in saving documents and other important files. But together with these benefits are possible threats.

Whether we are using an office or personal computer / laptop, having an open or enabled USB ports on our machines can pose a great computer security threat where any computer user can plugin a possible virus infected flash disk, external hard drive, or any other USB capable devices. Unrestricted USB ports can also create an uncontrolled flow of data within our computers; enabling other users to sneak out personal or corporate data and save it via USB.

With these, two (2) possible workaround or solutions would be either (1) disable or block USB ports or a smarter way is to (2) disable write access of USB ports.  Here’s how to do it:

Disable or Block USB Ports in Windows

(works on Windows XP, Vista, and 7)

disable usb ports windows registry

1. Click Start, and then click Run.
2. In the Open box, type regedit, and then click OK.
3. Locate, and then click the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\ Services\UsbStor
4. In the right pane, double-click Start.
5. In the Value data box, type 4, click Hexadecimal (if it is not already selected), and then click OK.
6. Quit Registry Editor.

Note: may require Administrative privileges to open RegEdit.

Disable Write Access of USB Ports in Windows

(works on Windows XP SP2 or higher)

1. Click Start, and then click Run.
2. In the Open box, type regedit, and then click OK.
3. Locate, and then click the following registry key:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\ Control\StorageDevicePolicies
4. In the right pane, create a new DWORD called WriteProtect.
5. In the Value data box, type 0, click Hexadecimal (if it is not already selected), and then click OK.
6. Quit Registry Editor.

Did these tricks work for you? Don’t forget to share this post to your friends if you find it useful.



You may also like to read:


One Response to How to Block USB Ports in Windows

  1. 35d60070-1b99-11e1-859d-000bcdcb471e December 1, 2011 at 5:21 AM #

    What would be the benefit of blocking my USB ports, or blocking write access? Are you suggesting this for users that do not use USB ports frequently?

Leave a Reply