≡ Menu

How to Lock Unlock USB ports in Windows 10

Lock-Unlock-USB-ports-Windows-10
It's only fair to share...Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInPin on PinterestShare on VKShare on RedditPrint this pageEmail this to someone

USB devices are one of the most essential part of your PC, Laptop or any device that can benefit by connecting external drives. USB is the most popular interface that is used to connect external drives. However, USB is also a major threat for spreading virus. The simplicity to use USB has made it a potential force that can be used to spread viruses and malware.

There are multiple methods to disable USB on your computer. You can disable USB from inside BIOS, lock it using a software made for this purpose or use the options available inside Operating system. In this article, here is a simple method to lock and unlock USB using Windows Registry.

  1. Open Registry Editor

Registry is one of the most sensitive area in Windows Operating system. Making the wrong changes can make your computer crash and end up in a no boot situation.  So before making any changes to registry, it is advised to take a backup before making any changes.

To open registry

  • Press Windows Key + R to open Run window
  • Type regedit and click OK
  • Click Yes to pop up window to allow registry to make changes on your computer

This will open the Registry Editor window.

  1. Make changes inside registry related to USB

The next step is to find the registry entry related to registry. Then make the changes to the registry entry which is related to lock and unlock USB.

  • Go to HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ USBSTOR
  • Click on USBSTOR on the left panel. On the right side, you can see all entries related to USBSTOR
  • Double click on Start. Under Value data, change the hexadecimal value to 4
  • Now close the registry. Restart your computer.

Connect the USB device and check if it is getting connected.
Lock Unlock USB ports Windows 10

  1. Unlock USB ports

In case, if you want to turn the USB ports on, reverse the steps mentioned above. Go to registry editor and change the Start value back to 3 as it used to be before.

Hope you find the article useful. Use the comment section to share your experience.

It's only fair to share...Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInPin on PinterestShare on VKShare on RedditPrint this pageEmail this to someone

About the author: Anup Raman A Tech Enthusiast|Blogger|Tech Trainer with 10+ yrs experience in the field of IT. My expertise are in Operating Systems, mainly Windows and Computer security which comes from my experience, working as Tech Support and Trainer for Microsoft, Symantec and McAfee. Loves blogging about Technical Troubleshooting, discussing latest Gadgets, Games and doing Reviews.

{ 1 comment… add one }
  • Joy Jan 23, 2017, 5:09 am

    Hey, it’s really helpful. Now i can do it. Thank you so much.

Leave a Comment

Show Buttons
Hide Buttons