How to enable/disable access to USB mass storage device

January 22nd, 2008 | Tagged as: ¤ ¤ ¤ | Download as PDF

You may want to block USB mass storage device to disallow the unauthorized use of pendrives or you may want to unblock USB mass storage device to get access (most of the case in college’s net lab). Well, this can be done by a simple registry tweak. Before doing so, I recommend taking a backup of the regustry because playing with registry can be harmful for your OS. Read (How to backup your windows registry). When you have backup the key :

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR proceed further.

To disable access

REGEDIT4

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

To enable access

REGEDIT4

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

Copy the required code to a text file and save it as *.reg file. Just open that file and information will be added to the registry.

Source : Thinkdigit Forum

Need any kind of help? Let me know through your valuable comments.

 
{ 13 Comments }
  1. THis tip will come in handy as lots of pen drive viruses are spreading.

  2. Ashfame says:

    @Madhur
    Yeah! Many registry trick comes handy. I wish I can remember them all so that they can be recalled anytime.

  3. mauric6943 says:

    Thanks for the info. I was aware of this solution but after my latest reboot, i receive the following message “Cannot edit Start: Error writing the value’s new contents”. This started happening after the latest reboot of my WORK desktop and I am fairly certain some type of script was applied to preclude me from editting the registry file. Any ideas on another workaround?

  4. Ashfame says:

    @mauric6943
    I tried asking on forum but didn’t got a reply. :!:

  5. mauric6943 says:

    Thanks for the followup.

  6. arios says:

    thanx a lot bro…this what i looking for in my office!!!

  7. Manish says:

    its good very good. u r solutions is very useful to me. thank for u.

  8. Ashfame says:

    @ arios, Manish
    You are welcome. :)

  9. Anthony says:

    Simple but workable solutions. Thanks. Cheers

  10. arpit says:

    sorry dear it does not work on my office computer….there is norton installed in my computer before installing this i had no problem but now i can’t use pendrive…..please help me if u can
    thanks

  11. stell says:

    I have a work i did on microsoft publisher on my usb device and i have been able to access this work until a week ago. the program does not respond and when i try going through the pages, it freezes up and does not respond so i will have to close it. i even tried to print it so i can save my work and redo it again, but it wont print and it again says not responding. i’m not sure why. but i believe the program was running on my computer when the lights in the building i was in was turned off, which means my computer also. so help me. how can i save my work. is there any way, i have tried to do everything i know of.

  12. senthilkumar says:

    i had disabled the usb storage drives in regedit.
    two days back,i am remove usb mouse and connect the pendrive its detecting.
    how its possiable?
    Please explain.how to disable permanently.

  13. satrap says:

    Thanks for the post, i enjoyed reading it. blogging is not as easy as many think it is, it’s hardwork. any how thanks.

Leave a Reply

(required)

(required)