You will surely happen to have in your hands one of those SD cards so used today, but you will find with annoyance that you cannot use it to save a file because it is write protected. To lift this ban, two choices: either you toggle the lock or you enter lines of code in the command prompt, it is possible on both Windows PCs and Mac computers.
Method 1 of 3: Manually remove write protection
Step 1. Position your SD card correctly
Place it flat on a table with the brand label facing you. This makes it easier to find the small locking tab.
If you are using a microSD or miniSD card, you will first need to slide it into an adapter, which will also be placed with the label facing up
Step 2. Locate the interlock switch
It forms a small protrusion on the left side of the SD card.
This white or silver switch, admittedly not very big, otherwise very visible, is sensitive if you run your finger over the edge of the SD card
Step 3. Unlock the SD card
Move the tab down (where the gold connectors are) to allow writing on the digital media. If you don't have a fingernail, grab an opening pick.
Method 2 of 3: Remove write protection in Windows
Step 1. Register under your administrator account
Indeed, you will go through the disk partition, which is only accessible by the administrator account which authorizes all privileges. It is on this condition that you will be able to release the write protection of the SD card.
Step 2. Connect the SD card to your computer
With an SD card reader, you must insert the SD card with the gold connectors first and the brand label facing up.
If your PC does not have an SD card reader, you will need to have an external reader that attaches to one of the machine's USB ports
Step 3. Open the Start menu (
Click on the Windows logo in the lower left corner of the screen.
Step 4. Open command prompt
Type command prompt, and then click command prompt (
) at the top of the search results.
Step 5. Enter the disk partition command
Type diskpart in the command prompt, then validate with the Enter key.
Step 6. Click Yes at the appropriate time
In doing so, you allow the disk partition window to open, which looks like a command prompt window.
Step 7. Bring up the disks of your computer
Type list disk, then validate with the Enter key.
Step 8. Locate the number assigned to your SD card
To know which disk is your SD card, you must know its size (in bytes), and especially the available space. Once the size is located in the… Size column, look on the same line on the far left: there is the disk number.
- So if you see that it's Disk 3 that roughly matches the capacity of your SD card, your card number is 3.
- The first disk in the list (Disk 0) is always your computer's primary hard drive.
Step 9. Select your SD card
Type select disk [number] by replacing number with that of your SD card, then validate with the Enter key. So done, the disk partition tool will apply the next commands to your SD card.
If your SD card is disk 3, you will logically type
select disk 3. The phrase “Disk 3 is now the selected disk” appears on the screen.
Step 10. Remove read-only mode
Type the expression attributes disk clear readonly and press Enter. If all went well, you will see the phrase “The disk attributes have been deleted correctly”: your SD card is now able to save your files.
Method 3 of 3: Remove write protection in Mac OS X
Step 1. Plug your SD card into your Mac
On newer Macs, you need to get an external SD card reader that you plug into a USB port on the machine first, then the SD card into the reader.
If your Mac is a bit older, it should have a slot (on the side or back). Route the gold connectors into the slot first with the brand label facing up
Step 2. See if there is a read-only file
This is often enough to block a digital card. Changing the permission from Read Only to Read & Write will remove the block. Right click on the affected file and choose Read the information. At the bottom of the window Sharing and permissions, you will be able to read the activated permission.
- If your file is read-only, change its permission by clicking on the small opposite arrows and choosing the mode Reading and writing. See if this is enough to remove the write block from the entire SD card.
Step 3. Open Spotlight (
Click on the magnifying glass icon at the top right of the screen. A search bar then appears on the screen.
Step 4. Open Disk Utility
Type disk utility in this search bar, then double click Disk Utility which appears first.
Step 5. Select your SD card
In the left column of the Disk Utility window, click once on the name of your SD card.
Step 6. Click on the SOS tab
This is the first tab in the row of tabs at the top of the window. A message asks you to confirm the start of the control.
During the procedure, follow the instructions that appear as you wish
Step 7. Give your authorization
At that time, your SD card will be examined with a magnifying glass and if it has been locked by mistake, it will be repaired and finally unlocked.