Most of the computers in our school or college has blocked Pen drive/ USB Flash drive. Many of you must have faced this situation. When I was in school no matter how many times I tried to copy files from the school’s computer lab, the system would not read the pen drive. At that time I was unaware of the disabled ports. Simply the administrator had a disabled USB port on the Windows. If you are a student or if you frequently share your device with other people it is highly recommended for you to disable USB ports as well. Virus and other corrupted files may enter your system resulting in malfunction of the device.

How to enable or disable USB ports in Windows?

There are numerous ways to restrict unauthorized access to the USB ports on your device. Among them, we have selected the best method with no installation of any third-party application.

  1. Using Registry Editor
  2. Disabling the USB Ports using Device Manger
  3. Uninstalling USB Mass Storage Driver

Using Registry Editor

  • Press Windows (flag) key + R for run command. Type ‘Regedit’ and hit enter. This will open the Windows Registry Editor.

windows registry

  • Navigate the following path;

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR

windows registry usb port disable-enable

  • Double click on the USBSTOR. In the working area (right side) you will see ‘Start’. Select it and change the default value data. The value 3 will enable the ports while value 4 will disable the ports.

windows registry usb port disable-enable vlaue change

  • Restart your device for changes to take effect.

Disabling the USB Ports using Device Manager

  • Click on Windows (flag) icon, type ‘Device Manager’ and hit enter. This will open Device Manager OR Press Windows (flag) icon + R, type ‘devmgmt.msc’.

windows device manager

  • Expand Universal Serial Bus Controller. Right-click on the give USB ports and click on ‘Disable.

disable usb port windows

  • Next time if you want to enable the USB port, just click on ‘Enable’ instead of disable.

Uninstalling USB Mass Storage Driver

  • Click on Windows (flag) icon, type ‘Device Manager’ and hit enter. This will open Device Manager OR Press Windows (flag) icon + R, type ‘devmgmt.msc’.
  • Expand Universal Serial Bus Controller. Right-click on the give USB ports and click on ‘Uninstall.

uninstall usb port windows.jpg

  • If you use this method, the Windows will search and automatically install the USB drivers in the system.

You might like:


More on Tutorials: