I want to disable/enable all usb ports at once. I tried the following:
Changed the registry (with admin privileges):
//disable USB storage... Micros
make USBSTOR value to 4 and restart the PC. Another way is to disable in BIOS. Most of the computer manufacturers support this. But it will disable not only storage but all.