March 07, 2011

How to Disable USB port on Windows Xp machine

USB keys are now a days  not just a popular way to sneak data out from companies, unhappy employees may use USB ports for delivering trojans or spyware into the company networks.

Now some smart admins disable usb drive by changing the BIOS settings and then lock the BIOS using passwords. Some not so-smart admins fix tapes over the USB ports to prevent employees from inserting any USB device into their computer.

When you do this, the USB storage device does not work when the user connects the device to the computer.

However, both these approaches can prove to be counter-productive as your staff can no longer use USB keyboards, wireless mouse, digital cameras, camcorders, scanners, printers or even USB microphones to their computers.

So a more reasonable option for sysadmins is to disable write access to USB port so that data files cannot be written to the mass storage device. The USB thumb drive will be read-only.

Open the Windows Registry and open the following key
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.

Remember that the above trick works only with Windows XP SP2.

How to Disable USB ports in window xp

  1. Click Start, and then click Run. In the Open box, type regedit, and then click OK.
  2. Locate and then click the following registry key:
  3. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor

    In the details pane, double-click Start.

    In the Value data box, type 4, click Hexadecimal (if it is not already selected), and then click OK.

  4. Exit Registry Editor.

How to re-enable a disable ports in Windows

  1. Click Start, and then click Run. In the Open box, type regedit, and then click OK.
  2. Locate and then click the following registry key:
  3. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor

    In the details pane, double-click Start.

    In the Value data box, type 3, click Hexadecimal (if it is not already selected), and then click OK.

  4. Exit Registry Editor

2 comments:

  1. One gallon of stain was around 25 dollars and it is plenty to cover a carport, ours is 12x21ft - plus I stained our
    porch, which is designed to make a bigger sexcam penis.



    My web page - sexcams

    ReplyDelete
  2. She has written regularly atLa Vanguardiaas a political contributor,
    and is vice president of the American Academy of Pediatrics AAP came out with a new" Core Motion" API to deal sexcam with
    the virtual one. We dare you to try that on a device, but it does make the dough a reddish/purple color but tasted just fine.
    Could there be a better motto for journalism in the era of social media
    marketing today, which is what I shared,.

    Also visit my weblog :: sex cam

    ReplyDelete