How To Disable Access To Usb Ports On A Computer
Click on “Start” and navigate to “Run”[you can use the search] or by simply clicking the Windows button + R.
Type “regedit” in the text box and hit “Enter”.
Now,navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor
Click on UsbStor and at the right-panel,double click “START”
Now,in the Value Data box, set the hexadecimal value to 4 and finally click on “OK” and exit the Registry editor.That’s all for disabling USB ports.
Now,if you would like to re-enable an already disabled port,just:
Follow the instructions above and on getting to the Value Data box, replace “4” with 3 and that would be all.