Enable and disable write protect in your removable storage devices like pen drive, memory card etc.

Add a comment

Enable and disable write protect in your removable storage devices like pen drive, memory card etc.


Do you want to write protect your removable storage device like pen drive, memory card etc.?
If yes, here is a way for you.
Enabling write protect in your storage devices will help you if you want to use your storage device in your virus infected computer but you don’t want to get your storage device infected and there are also many other reasons to ; why would you like to enable and disable write protect in your removable storage media.

So now let’s get to the work,

To enable or disable write protect or to make your pen drive or files in pen drive and other removable storage media non editable you can simply use a code in command prompt of your computer.


To enable write protect in your removable storage media:

Open command prompt by following method:

Click on “start” in your desktop menu and click on “run
Then type “cmd” and hit enter.

Now, go to the root of the drive where you have installed your windows
By typing
cd\

And write the following code and hit enter:

reg add “HKLM\System\CurrentControlSet\Control\StorageDevicePolicies” /t Reg_dword /v WriteProtect /f /d 1

You are done now!
Now if you use any removable storage media in your computer then the files in storage device will be non editable to make your files secure and prevent from virus infection.


To disable write protect in your removable storage media:


Open command prompt by following method:
Click on “start” in your desktop menu and click on “run
Then type “cmd” and hit enter.

Now, go to the root of the drive where you have installed your windows
By typing
cd\” and hitting enter.

And write the following code and hit enter:

reg add “HKLM\System\CurrentControlSet\Control\StorageDevicePolicies” /t Reg_dword /v WriteProtect /f /d 0

So now you are done again.
Now the files in your removable storage device will be editable again.


Or if you think it’s boring to type all those codes then you can just download a ZIP file from here:


sciencego.info/justtechnika/softs/Disable_and_enable_StorageDevice_writeprotect.zip

And after you unzip the files there double click the “enablewriteprotect.cmd” file to enable write protect in your storage device and double click on “disablewriteprotect.cmd” to disable write protect in your storage device.

  • Share/Bookmark


Please don't forget to leave your ideas , feedback and question using the comment form below:
  1. | #1

    dude its not working…
    not even its zip file….obusly it willl not work…as it contain the same thing

  2. | #2

    Nope it works!
    And it is tested!

    I have tested it in windows xp and it works!
    But I cannot say about vista and windows7 but it should be working on them too.

  3. | #3

    yes it is working with the zip file but not with the code actually….i dont know how to make it work with it…please suggest me how could i do this with cmd prompt

  1. No trackbacks yet.
Comments feed