Prevent Users from Writing to USB Drives

Discussion in 'Performance & Tweaks' started by Jason, Mar 24, 2007.

  1. Jason

    Jason

    Joined:
    Sep 26, 2005
    Messages:
    2,081
    Likes Received:
    1
    Location:
    Chicago,IL
    Whether you refer to them as flash drives, USB drives, or pen drives, these portable storage devices can be both a blessing and a curse. More and more administrators are being tasked with preventing users from being able to copy important documents onto these drives to prevent loss of important data. To prevent a user from writing to USB drives attached to a computer running Vista, follow these steps:



    1. Open Notepad.



    2. Copy and paste the following into Notepad:



    Windows Registry Editor Version 5.00



    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]

    "EncryptionContextMenu"=dword:00000001



    3. Save the text file as Vista_USBNoWrite.reg.



    4. Double-click the newly created file.



    5. When the UAC prompt appears, click Continue.



    6. When the confirmation box appears, click Yes.



    7. The file will be merged to the registry. A confirmation box will appear, click OK.



    8. Restart the computer for the change to take affect.



    Now when a user tries to send files to a USB drive, they will see something like this:





    To Restore Write Capability, follow the above steps using:



    Windows Registry Editor Version 5.00



    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]

    "EncryptionContextMenu"=dword:00000000
     
    Jason, Mar 24, 2007
    #1
    1. Advertisements

  2. Jason

    94YellowTAGT

    Joined:
    Feb 6, 2007
    Messages:
    4
    Likes Received:
    0
    Nice tip! I am going to give it a try.
     
    94YellowTAGT, Mar 28, 2007
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.