Hi guys, we can block usb ports by using registry editor. Many of you guys already know but some one asked me to tell so I am posting here for those who don't know with snapshots....
Step1: Open run and type "regedit" press Enter
The window of registry editor would open..like this
Step2: Now expend the folders as shown below in this image with yellow highlighter
Step3: Scroll down and expend USBTOR ....
Step4: Double click on the "start" file highlighted by yellow as above a window would open like this......
Step5: Set the value data to '4' and click 'OK'..
All USB ports on your system will be disabled. No pendrive would detect.
Thank you guys keep visiting and give your feedback.