The USB ports let you connect peripherals such as hard through which you can transfer data, this represents a security risk because this way you can copy or move virus to a computer file.
In some cases it is therefore possible that you want disable USB There are several applications that allow you to do this but the quickest way is to intervene on registo performing the following steps.
-Click Start and type regedit to open the registry editor.

Access to the key – HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesUsbStor
Double-click on Start in the right place 4 as a hexadecimal value.

-Click Ok.
This will disable access to USB ports on your computer from Windows.