How to lock USB port without software?

This is my first post in this blog and happy to have you here,

You can prevent you Computer USB port from hardware without detecting it. you don’t need any software to lock the USB port. if you are the windows user its very simple.

step 1: Go to “My computer” and right click then “Properties”

my computer

step 2: Go to “Device Manager”

device manager

Step 3: Find and expand “Universal serial bus controllers”


usb controllers

Step 4: Choose the port which you want to lock (be aware and choose open usb port otherwise connected device will be disconnected) right click and select disable

usb controllers dis

Step 5: Now the USB root hub disabled


Now check the particular USB port with pendrive or hardware you will not get device detected message

If you want to enable the USB port, then do right click on the particular USB root hub and click enable


Thats all, thank you


Add a Comment

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