Disabling USB ports on a Windows machine

If for some reason you want to disable your USB ports, maybe for security reasons, you can do this with a simple registry hack.

  1. Launch your registry editor, by pressing WIN+R and typing regedit.
  2. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor
  3. Change the value of the start key to 4
  4. Reboot your machine
Your USB ports will now be disabled completely.