Ashfame | Tech Blog |+| Ashfame.com

I blog about blogging, tips and tricks, tutorials, hacking, hardware and reviews.

A niche is less than what I blog about.

Ashfame | Tech Blog header image

How to enable/disable access to USB mass storage device

It seems that you are new here. You may want to sign up for e-mail updates or subscribe to my RSS feeds. Thanks for visiting!

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.

StumbleDiggRedditDelicious

Tags:   · · · 8 Comments

Leave A Comment

8 responses so far ↓

  • 1 Madhur Kapoor Jan 23, 2008 at 10:43 pm

    THis tip will come in handy as lots of pen drive viruses are spreading.

  • 2 Ashfame Jan 24, 2008 at 5:37 pm

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

  • 3 mauric6943 Jan 29, 2008 at 12:25 am

    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 Feb 2, 2008 at 6:53 pm

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

  • 5 mauric6943 Mar 7, 2008 at 9:40 pm

    Thanks for the followup.

  • 6 arios Apr 23, 2008 at 9:23 pm

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

  • 7 Manish Jul 2, 2008 at 11:27 pm

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

  • 8 Ashfame Jul 5, 2008 at 1:39 am

    @ arios, Manish
    You are welcome. :)