Verdict: When an SD or microSD card fails to appear in Windows 11 File Explorer or macOS Finder—or blocks file transfers with “The disk is write-protected” / “Read-only” errors—the cause is usually a slipped mechanical lock tab on a full-size SD card or adapter, an oxidised card reader sense pin, a missing drive letter in Disk Management, a software read-only attribute, or an incompatible file system such as NTFS on a Mac. Inspect and slide the physical lock switch toward the gold contact pins first, test the card in an external USB-C UHS-I/UHS-II reader, clear software read-only flags via diskpart attributes disk clear readonly on Windows, and check whether the card’s internal flash controller has entered permanent End-of-Life read-only protection.
Removable flash media—used in mirrorless cameras, drones, action cameras, dashcams, handheld gaming PCs, and Raspberry Pi boards—relies on exposed gold contact pads, mechanical slot switches, and non-journaling file systems (`FAT32` and `exFAT`) that are easily disrupted when a card is pulled out mid-write or inserted into an older SDHC-only slot. If you are trying to read a memory card or thumb drive on an Android phone or iPhone rather than a laptop or desktop, see our dedicated guide on fixing a phone not reading a USB flash drive, SSD, or SD card reader.
Symptom and Root-Cause Diagnostic Matrix
Match your exact symptom on Windows 11 or macOS to the underlying hardware, driver, or file system cause before running repair commands—especially if the card contains unbacked-up photos or 4K video footage.
| Observed Symptom | Likely Root Cause | Recommended First Action |
|---|---|---|
| Windows reports “The disk is write-protected” or macOS Finder info says “You can only read” on a full-size SD card (or a microSD inside an SD adapter) | The sliding plastic lock tab on the left edge of the SD card/adapter is pushed down, or the spring-loaded write-protect sense lever inside the laptop’s SD slot is bent | Slide the physical lock tab firmly upward toward the gold contact pins; if it slides loosely back down when inserted, replace the microSD-to-SD adapter or apply a single layer of clear tape over the notch (Fix 1) |
| A 64GB, 128GB, 256GB, or 1TB SDXC card is completely invisible when inserted into an older built-in laptop SD slot or budget USB 2.0 reader | Standard mismatch: SDXC cards (>32GB) require an SDXC-compliant host reader and exFAT support; legacy SD/SDHC readers max out at 32GB (`FAT32`) | Test the card in a modern external USB-C UHS-I / UHS-II SDXC reader and clean the 9 or 17 gold contact pads with 90%+ isopropyl alcohol (Fix 2) |
| Card is invisible in Windows File Explorer (`This PC`), but appears in Disk Management (`diskmgmt.msc`) as a healthy partition with no drive letter or as an offline disk | Windows Mount Manager failed to assign an available drive letter (`D:`, `E:`, `F:`), or the disk policy set the volume Offline | Right-click the partition in Disk Management, select Change Drive Letter and Paths > Add, and assign an unused drive letter (Fix 3) |
| A bare microSD card (which has no physical lock switch) says “The disk is write-protected” or refuses to format on Windows 11 | A software Read-Only volume or disk attribute is set in the partition descriptor, or Windows Registry StorageDevicePolicies\WriteProtect is set to 1 | Run attributes disk clear readonly inside an Administrator diskpart session and set Registry WriteProtect to 0 (Fix 4) |
| Card mounts as Read-Only on a Mac (you can open and copy files off the card, but cannot delete files or drag new files onto it), yet writes normally on a Windows PC | The SD card is formatted as Microsoft NTFS (which macOS mounts strictly as read-only out of the box), or a dirty `exFAT` allocation bitmap triggered read-only safety mount | Check Disk Utility for `Windows NT Filesystem (NTFS)` and reformat to exFAT after backing up data, or run Disk Utility First Aid (Fix 5) |
| Windows prompts “You need to format the disk in drive X: before you can use it” (“The volume does not contain a recognized file system” / RAW in Disk Management) | Unsafe removal during a camera burst or video write corrupted the `FAT32`/`exFAT` boot sector or file allocation table | Do not click Format if you need the files; run chkdsk X: /f if the boot sector is readable, or image the card before formatting (Fix 6) |
diskpart attributes disk clear readonly reports “Disk attributes cleared successfully,” yet detail disk still shows Current Read-only State : Yes | Permanent hardware NAND Flash Controller Lock-Down (End-of-Life Read-Only Mode) triggered by exhausted spare blocks or firmware wear protection | Immediately copy all irreplaceable photos/videos off the card while it is still readable, then retire or RMA the card (Fix 7) |
7 Verified Fixes for SD and microSD Cards Not Showing Up or Stuck on Read-Only
Fix 1: Check the Physical Write-Protect Switch on Full-Size SD Cards and microSD Adapters
Before running any terminal or registry commands, understand how physical write protection actually works on Secure Digital media:
- Bare microSD cards do NOT have a physical lock switch: A small microSD card (`15 mm × 11 mm`) has no sliding tab on its body. However, the moment you slide a microSD card into a full-size SD adapter to plug it into a laptop or camera slot, the adapter’s mechanical lock slider controls whether the host computer is allowed to write to the microSD card.
- How the SD slot switch works: The sliding gray or white plastic tab on the left edge of a full-size SD card (`32 mm × 24 mm`) is not connected to any electronic circuitry inside the card itself. Instead, it is a purely mechanical shutter. When the tab is pushed up toward the angled corner and gold contact pins, the notch is closed (Write-Enabled / Unprotected). When the tab is slid down toward the rear edge, an open gap is exposed (Write-Protected / Locked). A tiny metal spring lever inside the laptop or USB card reader slot physically presses against that edge; if the lever falls into the open gap, the card reader chip tells Windows or macOS that the card is write-protected.
- Remove the SD card (or microSD-to-SD adapter) from your computer and slide the lock switch firmly all the way up toward the gold metal contacts.
- Watch out for loose sliders that slip on insertion: On well-worn SD cards and inexpensive bundled microSD adapters, the plastic slider often loses friction. As you push the card into the tight metal slot of a MacBook Pro or Windows laptop, the slot’s spring contact catches the tab and drags it halfway down into the “Lock” position without your noticing.
- If you are using a microSD inside a full-size SD adapter and it keeps mounting as read-only, swap to a different SD adapter or insert the microSD directly into a dedicated microSD slot. If a full-size SD card’s plastic tab is loose or broken, placing a single neat strip of thin clear cellophane tape over the side notch (making sure never to cover the gold electrical contact pads on the back) allows the slot’s sense pin to register the card as write-enabled so you can modify or format it.
Fix 2: Clean Oxidized Gold Contacts and Verify SDXC vs. UHS-II Reader Compatibility
If an SD or microSD card does not show up anywhere—not in File Explorer, not in Finder, and not even in Windows Disk Management or macOS System Information—the physical electrical connection or bus protocol between the card and reader is failing.
- Clean the gold contact pads: Turn the SD or microSD card over and inspect the gold contact fingers (a standard UHS-I SD card has 1 row of 9 pins; a high-speed UHS-II SD card has 2 rows totaling 17 pins; a microSD UHS-I card has 8 pins). Skin oils, pocket lint, or mild oxidation on Pin 4 (`VDD` 3.3V power) or Pin 5 (`CLK` clock) will prevent the card controller from powering up. Lightly dampen a lint-free cotton swab with 90% or higher isopropyl alcohol (IPA), wipe the gold contacts gently, let them dry for 60 seconds, and reinsert the card.
- Check SD vs. SDHC vs. SDXC capacity standards: As defined by the SD Association’s official bus and capacity standards, SD memory cards are divided into strict capacity tiers that are not forward-compatible on older host hardware:
- SDSC (Standard Capacity): Up to 2GB (`FAT16`)
- SDHC (High Capacity): 4GB to 32GB (`FAT32`)
- SDXC (Extended Capacity): 64GB to 2TB (`exFAT`)
- SDUC (Ultra Capacity): Over 2TB up to 128TB (`exFAT`)
An SDXC card reader can read SD, SDHC, and SDXC cards, but an older built-in laptop slot or legacy USB 2.0 dongle designed only for SDHC (up to 32GB) cannot initialize a 64GB, 128GB, 256GB, or 512GB SDXC card at all.
- Test with an external USB-C UHS-I/UHS-II card reader plugged directly into a host port: Built-in laptop SD card slots frequently suffer from bent internal pins or PCIe/USB sleep driver hangs. Plug the card into a known-good external USB-C card reader connected directly to your laptop (bypassing unpowered multi-port hubs). If Windows throws a “USB Device Not Recognized” popup when plugging in the external reader, follow our guide to fixing USB Device Not Recognized and Code 43 errors on Windows 11 and Mac.
Fix 3: Assign a Missing Drive Letter or Re-Enable the SD Host Adapter on Windows 11
Frequently, Windows 11 detects the SD card at the hardware level, yet the card never appears under This PC in File Explorer because Windows failed to mount a drive letter (`D:`, `E:`, `F:`) or disabled the SD host controller driver after sleep.
Step A — Check Windows Disk Management (`diskmgmt.msc`):
- Right-click the Windows Start button and select Disk Management (or press
Win + R, typediskmgmt.msc, and press Enter). - Scroll down to the bottom pane and look for a Removable disk matching the capacity of your SD card (for example, `Disk 1` or `Disk 2` — ~59.4 GB for a 64GB card, ~119 GB for a 128GB card, or ~238 GB for a 256GB card).
- If the disk says “Offline” on the left: Right-click the Disk X box on the left and select Online.
- If the partition says “Healthy (Primary Partition)” with `exFAT` or `FAT32` but has no drive letter (`(E:)`): Right-click the partition block, select Change Drive Letter and Paths…, click Add…, select an available letter such as
M:orS:, and click OK. The SD card will immediately pop up in File Explorer.
Step B — Reinstall a Hung SD Host Adapter or Memory Technology Driver:
- If the card is inserted into a built-in laptop slot and does not appear in Disk Management at all, right-click Start > Device Manager.
- Expand SD host adapters, Memory technology devices (where Realtek PCIe CardReader and Genesys Logic drivers reside), and Disk drives.
- If any entry displays a downward arrow (disabled), right-click it and choose Enable device. If it shows a yellow exclamation mark, right-click it, choose Uninstall device (leave Attempt to remove the driver for this device unchecked), and click Action > Scan for hardware changes at the top of Device Manager.
Fix 4: Clear Software Read-Only Flags via Windows DiskPart and Registry
When a bare microSD card—or an SD card whose physical lock switch is verified to be in the write-enabled position—still rejects file deletions, copies, or formatting on Windows 11 with “The disk is write-protected. Remove the write-protection or use another disk,” Windows has either a software read-only flag set on the disk/volume or a local Registry storage policy blocking removable media writes.
Step A — Clear Read-Only Attributes Using Microsoft DiskPart:
- Press
Win + S, typecmd, right-click Command Prompt, and select Run as administrator. - Type
diskpartand press Enter to launch Microsoft’s DiskPart command-line interpreter. - Type
list diskand press Enter. Carefully identify your SD card’s disk number by its exact size (for example, `Disk 1 Online 119 GB`). Never select `Disk 0` (your internal Windows boot SSD). - Select your SD card and inspect its read-only state by running (replace `1` with your SD card’s actual disk number):
select disk 1
detail disk - Look at the first two status lines:
Current Read-only State : Yes
Read-only : Yes - Clear the software read-only flag by running:
attributes disk clear readonly - Next, type
list volume, find the volume number assigned to your SD card, and clear any volume-level flag as well:
select volume X(replace X with your SD card’s volume number)
attributes volume clear readonly
exit
Step B — Check the Windows Registry StorageDevicePolicies Key:
- If Windows still blocks writes to all SD cards and USB flash drives on that PC, press
Win + R, typeregedit, and press Enter. - Navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies
(Also checkHKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\RemovableStorageDeviceson work or school laptops.) - If a DWORD named
WriteProtectexists and is set to1, double-click it, change its Value data to0, click OK, and eject/reinsert the SD card.
Fix 5: Fix SD Cards Showing as Read-Only or Failing to Mount on Mac (`NTFS` vs. `exFAT` and Disk Utility First Aid)
As explained in Apple Support’s guide for built-in Mac SDXC card slots, when a Mac can open files on an SD card in Finder but displays a crossed-out pencil icon in the status bar—or shows “You can only read” under Sharing & Permissions when you press Cmd + I (Get Info)—one of two macOS file system behaviors is occurring:
- The SD card is formatted as Microsoft `NTFS`: If the card was previously formatted on a Windows PC using the `NTFS` file system instead of `exFAT` or `FAT32`, macOS mounts `NTFS` volumes strictly as read-only natively. Open Applications > Utilities > Disk Utility, click your SD card in the sidebar, and check the subheading under its volume name. If it says Windows NT Filesystem (NTFS), copy your files to a folder on your Mac’s Desktop, click Erase at the top of Disk Utility, set Format to ExFAT (for cards 64GB and larger) or MS-DOS (FAT) (for cards 32GB and smaller), and click Erase. For a full cross-platform breakdown of `exFAT`, `APFS`, `FAT32`, and `NTFS`, see our guide on how to properly format external storage for both Mac and Windows.
- An `exFAT` or `FAT32` card was unplugged without ejecting (Dirty Volume Bit): When an `exFAT` SD card is pulled out of a camera, drone, or computer without ejecting, the file system’s dirty volume bit remains set. To prevent directory corruption, macOS either refuses to mount the volume in Finder (leaving it grayed out in Disk Utility) or mounts it in read-only mode until the allocation bitmap is verified:
- Open Disk Utility (`Cmd + Space`, type
Disk Utility), click View > Show All Devices in the top-left corner, select the indented SD card volume in the sidebar, and click First Aid > Run. - If a hanging background `fsck_exfat` verification process is preventing the card from mounting in Disk Utility after an unsafe removal, open Terminal and run
sudo pkill -f fsck, wait 5 seconds for the card to mount, run First Aid, and always use the Finder Eject icon before removing the card.
- Open Disk Utility (`Cmd + Space`, type
Fix 6: Repair a Corrupted or `RAW` SD Card Without Formatting (`chkdsk X: /f`)
When Windows 11 displays “You need to format the disk in drive E: before you can use it” or “The volume does not contain a recognized file system”—and Disk Management shows the SD card partition as RAW instead of `exFAT` or `FAT32`—do not click “Format disk” if the card holds photos or video clips you have not backed up yet. Formatting overwrites the File Allocation Table and directory headers.
- If the card still has a readable boot sector but corrupted directory entries: Open an Administrator Command Prompt on Windows 11 and run Microsoft’s `chkdsk` utility against the SD card’s drive letter (replace `E:` with your card’s actual drive letter):
chkdsk E: /f - If `chkdsk` reconciles the primary and backup boot sectors and repairs the orphaned cluster chains, the volume will convert back from `RAW` to `exFAT` or `FAT32` in seconds with your folders intact.
- If `chkdsk` replies “The type of the file system is RAW. CHKDSK is not available for RAW drives”: Both the primary and backup file system headers are damaged (or the card uses a Linux `ext4` / camera-proprietary partition that Windows cannot read). If the card is from a Steam Deck or Linux handheld formatted in `ext4`, Windows will always label it `RAW`—insert it back into the Linux device to read it. If it is a camera or phone card with critical photos, use a read-only sector-carving recovery utility (such as open-source PhotoRec / TestDisk) to extract the files onto your internal SSD before formatting the card. For partitioning details on internal drives, see our guide on how to safely repartition and format a drive on Windows 11 without losing data.
- Once your data is backed up and you simply want to restore the card to factory working order: Wipe and recreate the partition table cleanly in an Administrator
diskpartwindow (double-checking the disk number vialist disk):
select disk X(your SD card number—never Disk 0)
clean
create partition primary
format fs=exfat quick
assign
Fix 7: Diagnose Permanent Hardware NAND Lock-Down (End-of-Life Read-Only Mode)
What if you have verified the physical lock switch, tested a brand-new USB-C card reader on two different computers, and run attributes disk clear readonly in DiskPart—yet when you run detail disk, the output still shows:
Current Read-only State : YesRead-only : No
Or what if you delete files or format the SD card, Windows shows no error, and the exact same old files mysteriously reappear the moment you unplug and reinsert the card?
This behavior is not a Windows or macOS software bug. Every modern SD and microSD card contains a microscopic 32-bit microcontroller embedded inside the plastic shell alongside the 3D TLC or QLC NAND flash die. That controller manages bad-block remapping, wear leveling, and Error-Correcting Code (ECC). When the internal flash controller detects that its pool of spare replacement blocks is exhausted—often after years of continuous loop recording in a dashcam, home security camera, or Nintendo Switch/handheld—or when its internal charge pump detects an unrecoverable firmware table error, the SD specification instructs the controller to trip a permanent, irreversible hardware Read-Only flag (`CSD.PERM_WRITE_PROTECT`).
Why Flash Controllers Lock Cards Read-Only—and What to Do Next
Card manufacturers design this permanent read-only failsafe intentionally: instead of letting a worn-out NAND chip silently corrupt your wedding photos or travel videos on the next write cycle, the controller freezes all erase and program operations at the silicon level while keeping the read pathways open.
- Immediate action: While a card in hardware End-of-Life read-only mode can never be formatted or written to again by any software tool on Windows, macOS, or Linux, you can still copy every existing file off the card to your computer or external SSD. Copy your data immediately before the controller fails completely.
- Prevention and replacement: Once your files are copied off, retire the card (or submit a warranty RMA to the manufacturer if covered). If the card failed inside a dashcam, bodycam, or 24/7 home security camera, replace it with a card explicitly rated High Endurance or Max Endurance (which uses higher-endurance NAND programming cycles designed for continuous video overwrite loops rather than burst photography).

