26 June 2009

Disable USB Ports and Enable USB Ports

In some office, the administrators disable the USB ports to prevent employees from inserting any USB device into their computer.


Here is a method to disable and enable USB port.

  • Go to start -> Run ->regedit hit Enter
..
  • Open the Windows Registry and open the following keys


HKEY_LOCAL_MACHINE\SYSTEM\

CurrentControlSet\Services\UsbStor


  • Now in the Right pane, double-click Start and type 4 in the Value data box (Hexadecimal) and quite the registry editor.


  • To enable the USB storage devices, change the Start value back to 3.

.

.

Another Method:

  • Go to start -> Run ->regedit hit Enter .....


  • Open the Windows Registry and open the following keys.

HKEY_LOCAL_MACHINE\SYSTEM\

CurrentControlSet\Control\StorageDevicePolicies


  • Now add a new DWORD called WriteProtect and put the value as 0 to disable write privileges to the USB port.
  • To reverse the step, either delete the WriteProtect REG_DWORD or toggle the value to 1 which will enable the port.


Note: It works only with Windows XP SP2.

.

0 comments: