[SOLVED] Block\Disable USB ports on Windows PC

How to Block\Enable\Disable USB ports on Windows PC via Registry?
To use this trick to disable USB ports, follow the steps given below:
  1. Click on Start.
  2. Click on Run. If you cannot find RUN, type it in the search box.
  3. Type "regedit" without quotes. This will launch the Registry Editor.
  4. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\usbstor
  5. In the work area, double click on Start.
  6. In the Value Data box, enter 4.
  7. Click on OK.
  8. Close Registry Editor and refresh your desktop.
  9. To re-enable access to your USB ports, enter 3 in the Value Data box in Step 6.

Use tool "tRegEdit" to Disable/Block USB ports on Windows PC by 1 Click

This trick also disables access to your USB connected peripheral devices. So, do not use it if you have a USB connected keyboard, mouse or any other peripheral device without which your computer might become inoperable

Try it yourself to make your PC invulnerable from data theft and malware which spread through USB ports. This works on Windows 10, Windows 8, Windows 8.1, Windows 7 and Windows XP.