Sunday, 4 August 2013

Disable USB port in a Windows by editing registry.

This articles describes how to disable USB port in a Windows PC by editing registry. Follow the steps given below to disable USB port from registry editor.

Warning: Modifying the registry is always risky, if anything goes wrong Windows OS needs to be reinstalled. So be very careful while modifying the registry.
  1. Clcik Start and then click Run
  2. Type regedit in Run window and click  OKRegistry editor window o pens.
  3. Expand HKEY_LOCAL_MACHINE key on the left pane under My Computer (by clicking on + sign on left side of HKEY_LOCAL_MACHINE)
  4. Expand SYSTEM key under HKEY_LOCAL_MACHINE.
  5. Expand CurrentControlSet key under SYSTEM.
  6. Expand Services key under CurrentControlSet. (as shown below)
  7. Select usbstor key under Services.
  8. Select Start value on the right pane
  9. Right click Start value, select Modify in right click menu
  10. Edit DWORD value dialog will pop-up. Modify the Start value data to 4. Click OKbutton to commit the changes done. After modifying the value, the registry editor's right pane looks as shown below.
  11. Close the registry editor. Now USB port is disabled.
Note: To enable USB port modify the Start value to 3.

No comments:

Post a Comment