How to Disable and Enable USB Ports?

September 2016


How to Disable and Enable USB Ports?



Issue

USB flash drives,MP3 or MP4 devices are used everywhere in schools and offices by employees or students. This is sometimes harmful for computers when these portable devices are infected by viruses, even for people who try stealing useful data.

Solution

You can prevent this by disabling the USB ports on the Windows Registry Editor which takes some minutes...


To disable access to USB port
    • Click "Start" then click "Run".
    • type "regedit" to open Registry Editor, and then click "OK".
    • Search for the following registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor
    • At your right, double-click "Start".
    • In the Value data box, type 4, click Hexadecimal, and then click "OK".
    • Close Registry Editor and Restart the machine.


To enable access to USB port
  • To reverse this process and enable USB, follow the above instructions but change the 4 to 3.

Related :

This document entitled « How to Disable and Enable USB Ports? » from CCM (ccm.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.