If you see a diskette with a piece of foil covering its notch, it is said to be.
If you see a diskette with a piece of foil covering its notch, it is said to be write-protected.
Close Regedit and restart your computer. Connect your USB flash drive or pen drive again, and you should find the write protection is removed and the device is no longer write protected. After that, you can now format the drive as normal by right-clicking on it in My Computer and choosing Format.
To remove the write protection, simply open your Start menu, and click on Run. Type in regedit and press Enter. This will open the registry editor. Double-click the WriteProtect key located in the right side pane and set the value to 0.
There is a Lock switch on the left side of the SD card. Make sure the Lock switch is slid up (unlock position). You will not be able to modify or delete the contents on the memory card if it is locked.