Sunday, December 23, 2007

Disable Access to USB Mass Storage Drive

This hack will disable access to the usb flash drive
also known as usb mas storage drive ( also usb hard
disks but not sure as I don't have one).

Goto start > run > and type in regedit and press enter.
This will open registry editor window. Now go to the
following key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\USBSTOR

Right click on the key and select export and save a backup copy in case
anything goes wrong. Now on the right pan of the regedit window double
click on the value called Start & set it value to 4 & click OK.

When you need to use your USB mass storage drive just change the value of
Start to 3.

If you're too lazy just copy & paste these codes into a notepad
file and save it with a .reg extension.

code for Disable access to the usb mass storage drive :

REGEDIT4

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR]
"Start"=dword:00000004


code for enable access to the usb mass storage drive :

REGEDIT4

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR]
"Start"=dword:00000003

No comments: