Steps to Write Protect your USB Pen Drive

It was yesterday when I got some data transferred in my pen drive at my College that made me think that I need to Write Protect my pen drive. I just put the drive in a system for about 10 seconds and there were about 7 different types of viruses in my Pen Drive (really college systems sucks). It is so irritating to always scan the drive to remove the viruses that also consumes our important time. So I got something to share with you guys “How you can Write Protect your Pen Drive” or “How you can prevent your pen drive from getting infected”.

Things to note before doing this:

•    As the trick will write protect your pen drive, you will not be able to transfer anymore data until you disable it again (works best if you only wish to copy or read something from the drive).

•    If you are not good at editing registry then backup yours (read this).

•    You need Admin rights to work upon the Registry Editor.

Steps to make your drive Write Protected:

1.    Open Registry Editor by typing regedit in Run dialog.

2.    Navigate to the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\

3.    Find a sub key inside it named “StorageDevicePolicies”. If it does not exist there then we need to make it. Right click on “Control” key -> New -> Key. Name it “StorageDevicePolicies” without quotes.

4.    Now right click on this newly created key and then click New -> DWORD value and name it as “WriteProtect”.

5.    Modify this key and give it a value 1.

6.    Click OK, and remember to restart the PC.

Now no more data can be transferred to the drive but to start using the drive again just give the “WriteProtect” key a value of 0 instead of 1 and restart the PC.

So any thoughts how you are going to use this trick?

To receive more cool updates like this, join us on Facebook
Tagged with: , , , , ,
Posted in Cool Tips and Tricks, Virus, Windows/Windows XP
Enter your email address:
64 comments on “Steps to Write Protect your USB Pen Drive
  1. syafiq says:

    hello i can’t find the name Registry Editor

  2. Nawaz says:

    transcend’s utility onlinerecovery link hurray….my issue really got solved.. I able to format and write in the memory card now..

    http://techsalsa.com/solution-to-remove-write-protection-from-usb-pen-drive/#comment-9714

    in the obove link post there is a link for helping transand card problems hope anyone finds it usefull

  3. orisk8 says:

    thanx alot bro
    sure helpfull and does teh job

  4. orisk8 says:

    DEEP
    u need to modify the “WriteProtect”file back to ZERO value which will allow u to write on USBpendrive

  5. Mark says:

    I always tuned your site. it was a awesome. every updated issues have a great deal of help for me.

    thanks Techsalsa your No.1 for me rightnow.

  6. Jake says:

    It Worked perfectly!!
    I Don’t know what was protected on my Privacy Drive but I got it back to use again.
    Thank You Very Much.

  7. ckay says:

    Why don’t you clean your pc. it wont write data on your usb.
    And how about if you use same USB on others PC. it wont protect over there becuase registry wont go with USB.
    and If you want to use same USB on same pc only. the PC is already infected with lots of virus ( you already wrote that ) why you want to that long procedure to Protect USB.

  8. shikha says:

    hii..
    ma pen drive gt write protected by itself…
    need sm solution other than registry hack…
    if any bdy knowsss plz hel me…

    sshikhaaa@gmail.com

  9. Darkbee says:

    This is not a good solution at all. If you can modify the registry to turn on write-protection on a USB drive, then a virus can re-modify the registry to turn it off.

    If you’re using it on your own computer, how about actually getting rid of the viruses in the first place? Then the issue is moot. Ignoring the problem isn’t a good solution.

    Second, you shouldn’t be able to do this on a public computer because any administrator with half a brain will disallow regular users from modifying the registry. If you can do it, then it’s no wonder that the computer is so heavily infected. I wouldn’t so much as put a floppy disk near it.

    The best solution is to be smart:
    Don’t use highly infected computers, and if they public computers such as library computers then report the infections to staff.
    Do use virus scans and software regularly and make sure you scan files that may have the potential to be infected. There are plenty of free anti-virus/anti-malware options available. AVG, Avira, Microsoft Security Essentials, Windows Defender, Malwarebytes Anti-Malware, Spybot Search and Destroy etc. etc.
    Use an online file storage solution like DropBox, instead of a USB drive and again, make sure you scan synchronized files regularly.
    Stop using warez and pr0n.

  10. Rahed says:

    I can’t do it.please what can i do?

  11. roger says:

    Darkbee buddy you are right, but is this the solution you provide to remove the right protection for the flash drive. don’t just criticize people like that, try to provide better solutions also. ( Its too easy to sit and whistle from the gallery, to playing in the field is a bit difficult)

    Good Day

  12. Elin says:

    Thanks for the guide! It solved my trouble with an write protected extern hdd.I found it easy to do.

  13. Kartik says:

    hey dude my pendrive becomed write protected and its not deleting files.how to remove that plz reply

Leave a Reply

Recommend on Google
Archives