HOw i disable access to pen drive

Discussion in 'Hardware Q&A' started by silicon_fusion, Sep 30, 2009.

Thread Status:
Not open for further replies.
  1. silicon_fusion

    silicon_fusion Member

    Joined:
    Mar 18, 2009
    Messages:
    220
    Likes Received:
    6
    Trophy Points:
    18
    I am using win xp & i want to disable access to pen drive ,when anyone put pen drive in usb port..Is this possible.??
     
  2. Xeno

    Xeno AMD - Aaja Meri Darling

    Joined:
    Sep 12, 2009
    Messages:
    132
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Aapnu Amdavad, Gujjuland.
    Yep its possible, here's how :

    Open Registry Editor. (Start > Run > Regedit)

    See the below screenshot
    [​IMG]
    If you cant see the image then,
    Link to Image ( click here )

    Text version :p

    Navigate to:-

    HKEY_LOCAL_MACHINE\SY
    STEM\CurrentControlSet\Services\USBSTOR


    Locate the field "REG_DWORD" with "Start" as name.
    Default value is "3", make it "4" to disable USB Mass storage devices.
    Revert back to "3" to enable again.

    Note:
    -Any USB disk which is active while you apply this change will not stop functioning and will work like normal. Other USB disks inserted after the change will not be detected.
    -Will not disable any other USB devices like mouse/ keyboard etc.

    :)
     
  3. asingh

    asingh New Member

    Joined:
    May 28, 2008
    Messages:
    5,317
    Likes Received:
    16
    Trophy Points:
    0
    Location:
    New Delhi
    ^^ Wow Xeno..something I learnt today....!

    But one word of advice..since this is a registry edit, it is adviced to take a back-up of the registry before making changes.

    Suggestion:
    @Xeno : make a regedit file and post it here....! Should not take that long...!

    :)
     
  4. Xeno

    Xeno AMD - Aaja Meri Darling

    Joined:
    Sep 12, 2009
    Messages:
    132
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Aapnu Amdavad, Gujjuland.
    Done.
    Learnt this cause my college had a restriction on pendrives ... :p just reversed it when i wanted to use the disks and revert it back.

    Oh and to the thread starter, don't let anyone else see this :D and like asigh said, its always good to backup the files (export them as .reg files) and store it somewhere else (not on the pc you'r making the change)

    However this registry edit is quite minor so it doesnt even require a restart.


    :EDIT: why doesnt the forum have an option to upload zip files :-| ?
    Upload link >> USB-registry keys << (check if its working or not :?)
     
    Last edited: Sep 30, 2009
  5. asingh

    asingh New Member

    Joined:
    May 28, 2008
    Messages:
    5,317
    Likes Received:
    16
    Trophy Points:
    0
    Location:
    New Delhi
    ^^ Great Xeno.

    It works..!
     
  6. OP
    OP
    silicon_fusion

    silicon_fusion Member

    Joined:
    Mar 18, 2009
    Messages:
    220
    Likes Received:
    6
    Trophy Points:
    18
    Thanks Xeno.....
     
  7. royal

    royal New Member

    Joined:
    May 6, 2005
    Messages:
    834
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    Kolkata
    While the registry edit option does work, it is a common and well known one...ppl having the same knowledge can easily reverse it :mrgreen:

    best bet is to go for softwares
     
Thread Status:
Not open for further replies.

Share This Page