Disable USB ports to prevent others from taking your data

Ever wanted to disable your USB ports to prevent others from using their flash drives on your PC? This post explains how to do just that with a simple registry trick. Do note that disabling USB ports will also disable your USB connected peripheral devices.

With this trick, you can disable access to your USB(Universal Serial Bus) ports on your Windows based PC to prevent people from taking out data without permission or spreading viruses through the use of USB (pen and flash) drives.

To use this trick to disable USB ports, follow the steps given below:-

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.

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.
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.

Comments