Many times you might observe that your pen drive is not detecting in cyber cafe or in your college lab or etc places.Have you ever ...
So here is the to block USB ports of your PC.
I have described three Different methods.
DISABLING THROUGH REGISTRY EDITOR
Three simple steps for this trick.
Step 1)
Open Run window and type regedit and press enter.
Step 2)
nevigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlset\Services\UsbStor
Step 3)
Double click on Start (right side)
change value to 4 and select hexadecimal(if not selected).
Done!!
to enable it:change value to 3.
DISABLING THROUGH DEVICE MANAGER
Steps are:
Step 1)
Open Run window
Step 2)
type “devmgmt.msc” and follow the step shown in image
DISABLE THROUGH BIOS
Steps are:
Step 1)
At system startup press DEL or F2 key to open BIOS settings
Step 2)
In BIOS find advance settings or Onboard devices menu(change with BIOS manufacturer).
Step 3)
Find USB configurations and Disable USB controllers to disable all USB ports.
Change it to Enable if you want to enable.
Thank you