nlovric

New Member
Joined
Apr 16, 2011
Messages
50
How can I have a USB port automatically disabled upon device disconnect?
 

Solution
Three main ways of disabling USB ports - in the BIOS, in Device Manager and via the Registry. The first two cannot be managed automatically, the Registry possibly and could be achieved by use of a script (the key of interest is HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor ) but there would remain the problem of re-enabling as and when required.

patcooke

Microsoft MVP
Microsoft MVP
Joined
May 16, 2010
Messages
5,688
Three main ways of disabling USB ports - in the BIOS, in Device Manager and via the Registry. The first two cannot be managed automatically, the Registry possibly and could be achieved by use of a script (the key of interest is HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor ) but there would remain the problem of re-enabling as and when required.
 

Solution