USB Port is very important, because your data can be stolen by using a flash drive. If you have sensitive data on your computer and you don’t want anyone who uses your computer can copy and take your data, then you can disable USB Port with the help of Registry. This trick is very useful for office computers.


You have to follow below steps for it:

  1. Click on computer ‘Start‘ button.
  2. Click on ‘Run‘. If you do not get Run then you can type term given below in the Search box.
  3. Type ‘regedit‘ in the search box, it will open Registry Editor on your computer.
  4. Now navigate below in registry editor and find “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR“.
  5.  Then double click on ‘Start‘ in work area on right side.
  6. Enter 4 in ‘value data‘ box.
  7. Click on OK.
  8. Now close the Registry Editor and restart computer.
  9. To re-enable USB Port, enter 3 in value data box mentioned in step #6.