How to Remove Read Only from SD Card Using CMD - Windows 10/8/7?

How to Remove Read Only from SD Card Using CMD - Windows 10/8/7?

How to Remove Read Only from SD Card Using CMD - Windows 10/8/7?

Geeks - There are a few different methods you can use to remove the read-only attribute from an SD card using Command Prompt in Windows. Here are the steps for each method:


Method 1:


Insert the SD card into your computer's SD card reader.


Open the Start menu and type "cmd" into the search bar.


Right-click on the "Command Prompt" result and select "Run as administrator".


In the Command Prompt window, type the following command and press Enter:

diskpart


Type the following command and press Enter:

list disk


Identify the disk number of your SD card. It will be listed as a "Removable" disk.


Type the following command and press Enter, replacing "X" with the disk number of your SD card:

select disk X


Type the following command and press Enter:

attributes disk clear readonly


Type the following command and press Enter:

exit


Method 2:


Insert the SD card into your computer's SD card reader.


Open the Start menu and type "cmd" into the search bar.


Right-click on the "Command Prompt" result and select "Run as administrator".


In the Command Prompt window, type the following command and press Enter:

fsutil behavior set disablelastaccess 1


Close the Command Prompt window.


Method 3:


Insert the SD card into your computer's SD card reader.


Open the Start menu and type "regedit" into the search bar.


Press Enter to open the Registry Editor.


Navigate to the following key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies


Double-click on the "WriteProtect" value and set it to "0".


Close the Registry Editor.


After following these steps, the read-only attribute should be removed from your SD card and you should be able to read and write to it as normal.


Note: These steps may not work for all SD cards, as the read-only attribute can sometimes be set at the hardware level. In these cases, you may need to use a different SD card or contact the manufacturer for further assistance.





Previous Post Next Post