Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How can we enable or disable USB ports on a PC running Windows Vista?

I have 6 USB ports; 2 in front and 4 at the back. Is it possible to disable the front USB ports and enable 4 ports at the back?

share|improve this question

4 Answers 4

The only way to disable the ports in software is to disable the USB Root Hub device that the ports are connected to.

There's no way to determine in software which port connects with which hub. However, you can use the Windows Device Manager (set the view to Devices by Connection mode) to locate the USB Root Hub devices on your system. When you plug a USB device into a port, Device Manager will update the view to show which hub the device is connected to.

You can then disable that port by disabling the hub it's connected to. This will also disable all other ports connected to that hub. There is no way around this.

The DevCon command-line utility functions as an alternative to Device Manager (more about using DevCon). You can use this to enable/disable the hub devices from the commandline.

share|improve this answer

The two front ports probably have a cable running from the front of the pc to the motherboard, just unplug it. It usually runs to a block of pins about 2 pins by 5 I think.

share|improve this answer
  1. Go to Start → Run, type regedit and hit Enter or click on the OK button.

  2. Browse to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor. Notice the value Start, it should currently be set to 3.

  3. Change the value to 4 to disable USB storage devices, and back to 3 to enable them.

share|improve this answer

This is very easy task. It also can be done by going to system's BIOS. Watch video tutorial on here http://www.tutorialhall.com/2015/03/how-to-enable-front-usb-ports-of-computer.html

share|improve this answer
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. –  Ramhound Jul 20 at 13:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.