How To Enable Or Disable USB Pen Drive Access
Method 1(Using Registry)
To disable the access to USB port, in windows XP and 2000:
1. Click Start–>Run.
2. Type regedit, and then click OK.
3. Locate, and then click the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor
4. In the right pane, double-click Start.
5. In the Value data box, type 4, click Hexadecimal (if it is not already selected), and then click Ok.
6. Quit Registry Editor.
To re-enable a disabled port:
1. Click Start–>Run.
2. Type regedit, and then click OK.
3. Locate, and then click the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor
4. In the right pane, double-click Start.
5. In the Value data box, type 3, click Hexadecimal (if it is not already selected), and then click Ok.
6. Quit Registry Editor.
Or
Try this Method 2 (Using Notepad)
- Open notepad
To Disable USB Port Copy and paste the below code then save it as “disableUSB.reg” (With Quotes)
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR]
“Start”=dword:00000004
- Then double click disableUSB.reg file and it will ask do you want to add the information to registry.
- Click yes.
If you wish to Enable USB Port then Copy & Paste the Below Code and save it as “enableUSB.reg”(With quotes)
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR]
“Start”=dword:00000003
- Then double click enableUSB.reg file and it will ask do you want to add the information to registry.
- Click yes.
अपडेट लगातार हासिल करने के लिए हमे फेसबुक (Facebook) पर ज्वाइन करे Click Now