How to remove write protected error for the flash drive

How to remove write protected error for the Pen drive or Other USB devices:

Some USB Errors Shown:

  • Cannot copy files and folders, drive is write protected
  • Cannot format the drive, drive is write protected
  • The disk is write protected
  • Remove write protection or use another disk
  • Media is write protected

Some times USB drive becomes write protected and deleting/Copying files or Folders on the USB drive is not Possible.

Let’s now see how to remove write protection on your portable devices like pen drives, memory cards, iPod and other USB mass storage devices.

What Actually causes This Problem?

Write Protection on any portable USB Device can be applied by the physical lock provided on the card adjuster or some times provided on the pen drives, so make sure to make your drive not write protected by moving the lock in right direction.

But even after moving the physical lock for write protection the problem can happen due to some virus action. This happens when some virus or script which applies the registry hack to make any drive write protect when connected to the computer, In that case follow the procedure below to remove write protection from your pen drive.

1. Open Start Menu –> Run, type regedit and press Enter, this will open the registry editor.

2. Navigate to the following path:


Note: If the registry key StorageDevicePolicies key does not exist, you will need to create it
3. Double click the key WriteProtect in the right pane and set the value to 0 in the Value Data Box and press OK button

4. Exit Registry, restart your computer and then again re-connect your USB pen drive on your computer. That is it, done.

Subscribe to receive more Computer Tips & Tricks to your Inbox

Share this Post:
Digg Google Bookmarks reddit Mixx StumbleUpon Technorati Yahoo! Buzz DesignFloat Delicious BlinkList Furl

6 Responses to “How to remove write protected error for the flash drive”

i have asolution fo this…u can format it by a utility then write protection error is not show…7 your pen drive working properly….copy this link to address bar “” “”


I have tried that StorageDevicePolicies stuff and it worked but only for a few times like twice or thrice then the next time i inserted the pen again and tried to put some files on it, it became write-protected again. I scanned my pen and found 2 virus, the recycler.exe and autorun.inf. I tried to remove the virus but I can’t. there would always be the pop up “cannot delete files”.

what will i do? please help me.

My oen drive is Toshiba 4GB.


i tried this its not working for me again it saying its write protected

File has 1 in it, change it to 0 or do it manually through registry


Thank you very much i tried this and it worked very well , but i want to ask you what if i have my flash drive and i want to make it write protected .
if i have my own data at the flash and i want to protect it how can i do this???

Leave a Reply:

Name (required):
Mail (will not be published) (required):
Comment (required):
XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>