Can you enable-disable USB ports or block-unblock Pendrive access of any Computer? If yes, then I appreciate it. But if you answer is “NO”, then please keep reading.

Sometimes we notice that in our office, college or University we can’t connect Pendrive or mobile phone by USB cable to computer to copy paste something. You know why? Because it is disabled for security purpose so that office staff or college student can’t copy paste something or can’t steal official data.

And today we will learn about the process of how to enable-disable USB ports so that we can block-unblock Pendrive access on any computer. But please don’t misuse this trick. This is only for learning purpose.



How to enable-disable USB ports | Block-unblock Pendrive access

To enable-disable USB ports or to block-unblock Pendrive access of windows computer just follow my steps given below-

1. Right click on the windows icon which is placed on the most left bottom of your computer.

enable-disable USB ports
2. Click on Run.

enable-disable USB ports
3. Type regedit. And then click OK.

enable-disable USB ports
4. Now a notification will appear to open Registry editor like the image given below. Just click on Yes.

enable-disable USB ports
5. In the Registry editor, open these folders given below-
HKEY_LOCAL_MACHINE >> SYSTEM >> CurrentControlSet >> Services >> USBSTOR

enable-disable USB ports
In the USBSTOR, locate the Start and double-click on Start to edit the value. Change the Value data to “4” and then click Ok.

Once completed, close the Registry editor, and Windows will no longer start the USB device whenever detected.

That means no Pendrive can be accessed on the computer now.
To enable the USB ports again, Just change the value to “3”, as it was.

Note: The above steps only work if the USB storage driver has already been installed. If the USB storage driver has not been installed, the value gets reset back to 3 when connecting a USB storage device and Windows installs the drivers.

I hope you liked this trick. If so, please share it with your friends. And Subscribe to our Email Newsletter so that you get a notification whenever I share important tricks like this one.

Thank you for being here.

Hope to see you again in our next post how to use Google Chrome as a notepad.

Categories: Computer


mhreja · August 12, 2018 at 3:28 pm

Thank you very much for your kind suggestion. I am working to give you the best.

Anand · August 11, 2018 at 11:19 am

Hello there, just became aware of your blog
through Google, and found that it is truly informative.

I’m gonna watch out for brussels. I’ll be grateful if you continue this in future.
Lots of people will be benefited from your writing.

    mhreja · August 12, 2018 at 3:24 pm

    Thanks for your love.
    Keep visiting.

Leave a Reply

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