Tip & How-To about Computers & Internet

How to enable & disable USB ports easily

If you need to disable USB devices from working accessing your system or prevent devices from working on usb ports (USB port blocking) create the following Registry file.

open note pad and copy/paste the following 2 lines

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor]

"Start"=dword:00000004

save the file name as

disableUSB.reg

when you double click the file it will disable all usb ports on your system ..and preventing anyone from installing or copying files to/from your system and usb devices will no longer work

to reverse this process/access do the same as above but copy/paste these 2 lines

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor]

"Start"=dword:00000003

save the file name as

enableUSB.reg

Now when you double click the file it will enable all usb ports on your system ..and allowing access to installing or copying files to/from your system and connecting devices to your system.

This has been tested on WIndows 98/XP ..and may not work on Vista/Windows 7

Posted by on

Computers & Internet Logo

Related Topics:

Related Questions:

2 Answers

my two right hand usb ports won't work


Ist u check the BIOS Setup if the Usb port are enable then u r ports need to repair on shop

http://software1cracks.blogspot.com/

Oct 30, 2013 | Acer Aspire E1-571-6650 Laptop

2 Answers

usb port not working


Printers are particular about which usb port they are plugged into, a virtual printer port is assigned to USB1 in the computer, when you select the printer port for it to use. You may need to plug the printer into each USB port, until you fine the USB port 1 which it works in, remember to always connect it to this same usb port, otherwise it will not work. There is only one USB port number 1.

Apr 10, 2013 | Brother MFC-7340 All-In-One Laser Printer

2 Answers

Hi. The USB ports on my lenovo y430 seem not to be working, as the computer does not recognize my external harddisks or external dvd writer. Is there any way I can fix this myself?


If you have tried every USB port and you use another USB device to it.. You may check the device manager ryanpajaro20_7.jpg and check if the USB controllers are disabled.. If not, you may click View and then click Scan Hardware Changes.. If still won't work, that is time that you call lenovo and have you laptop replaced defective USB ports..

Mar 21, 2011 | Lenovo IdeaPad Y430-3231U Notebook

1 Answer

device media is write protected


To disable writing access to USB drives and make all USB drives has only read-only access, follow these steps:
  1. Run Registry Editor (regedit).
  2. Navigate to the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
  3. Create a New Key named as StorageDevicePolicies.
  4. Highlight StorageDevicePolicies, and then create a New DWORD (32-bit) Value named as WriteProtect.
  5. Double click on WriteProtect, and set its value data to 1. write-protect-usb.jpg
Once set, all users on the computer is now blocked and prevented from copying, transferring or writing any files, documents and data to the USB disk drives, without the need to restart or reboot computer. Any attempt to download or copy files to USB drive will return the following error message:
The disk is write protected.
The media is write-protected.
Remove the write protection or use another disk.
usb-removable-disk-write-protected.jpg To revert and remove the blocked write access to USB drivers, just delete the StorageDevicePolicies registry key, or delete the WriteProtect registry entry, or change the value data for WriteProtect to 0.
For user who doesn't want to manually editing the registry, simply download the following registry registration files to enable or disable the write protection (block writing attempt) to USB removable drive. Double click the .reg file unpacked from the .zip archive to merge the registry key entries.
Download DisableWriteToUSB.reg
Download EnableWriteToUSB.reg
The trick works in Windows XP SP2 and SP3, Windows Vista, Windows Server 2003 and 2008.

Feb 27, 2011 | Transcend 4GB JetFlash 110 USB 2.0 Flash...

Not finding what you are looking for?

357 people viewed this tip

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Doctor PC
Doctor PC

Level 3 Expert

7733 Answers

kakima

Level 3 Expert

102366 Answers

David Payne
David Payne

Level 3 Expert

14161 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Loading...