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:

http://justtechnika.com/wp-content/uploads/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.



Popular Searches: