Steps to Disable USB Ports from Registry
Steps to deactivate them on a PC from Windows registry are:
- Click on start
- Type regedit on Run window or Search and press enter. Now the registry editor opens
- Navigate to the following registry path
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor - Click on UsbStor and a list of attributes will be displayed on the right panel
- Double click on start and set the hexadecimal value to 4 and click OK
Now the Universal Serial Bus on your PC is disabled. If you connect any USB device, your computer will not recognize them.
=====================
How to Enable USB Ports On Your Computer from Registry
To do this you need to follow the steps 1 to 4 and set 3 as the hexadecimal value for start. This will reverse the effect.