USB port and the USB devices are most dangerous loop wholes in computing to transfer malware in order to high jack the security barriers. This article list downs the steps you need to follow to disable your usb via registry.
- Click on Start.
- Click on Run. If you cannot find RUN, type it in the search box.
- Type "regedit" without quotes. This will launch the Registry Editor.
- Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\usbstor.
- In the work area, double click on Start.
- In the Value Data box, enter 4.
- Click on OK.
- Close Registry Editor and refresh your desktop.
- To re-enable access to your USB ports, enter 3 in the Value Data box in Step 6.
Note: This trick also disables access to your USB connected peripheral devices. So, do not use it if you have USB connected keyboard and mouse.