 You can never be too careful when it comes to keeping your data safe and secure. What if somebody uses your computer to upload something and the USB drive has a virus, you can't afford to infect your PC or lose your personal data, right? Therefore, it is advised to completely disable USB ports on the computer to prevent such mishaps. Follow the method. To open the registry editor, go to the desktop and press Windows button plus R. Run window will appear on the screen, type reach edit, and hit OK button. Follow the path written on your screen. Once you reach to the key, find out start in the working area, right click to select modify option. Now change the value data to 4. This method is the easiest way to disable USB ports. However, if it fails you can try another method. Go to the search box and search for device manager, select the first result on the list. In the device manager, locate universal serial bus controllers option and double click to expand the list of all the connected USB devices. Right click on each entry and select disable to block it. Hit yes button when you see the confirmation dialog. This is how you can disable USB drives on your system. Stay tuned for more troubleshooting videos, tips, tricks, latest tech.