Microsoft Windows Error Code 0xC00000A2: How to Fix It

Easy 10-20 minutes Medium Severity Verified June 2026
Error Code
0xC00000A2
Brand
Microsoft Windows
Product Type
operating_system
Severity
Medium
DIY Difficulty
Easy
Estimated Fix Time
10-20 minutes
Error 0xC00000A2 occurs when Windows detects that the media you're trying to write to is write-protected (read-only). This commonly happens with USB flash drives, SD cards, or external hard drives that have a physical lock switch or a software-enforced read-only attribute. Follow these steps to identify and remove the write protection.
Ad

Tools You'll Need

How to Fix Error Code 0xC00000A2

  1. Check for a Physical Lock Switch

  2. Remove Write Protection via DiskPart

    Be careful to select the correct disk to avoid clearing attributes on your system drive.
  3. Check and Change Registry Settings (Advanced)

    Editing the registry incorrectly can cause system instability. Back up the registry before making changes.
  4. Update or Reinstall Disk Drivers

  5. Test with Another Device

Ad

When to Call a Professional

If none of the steps work and the media is still write-protected on other devices, the storage device may be failing or has a hardware defect. Replace the media or contact a data recovery specialist if important data is on it.

Frequently Asked Questions

What does error 0xC00000A2 mean?
It means the media (USB drive, SD card) is write-protected, so Windows cannot modify or save files to it.
Can I fix error 0xC00000A2 without losing data?
Yes, these steps only remove write protection and do not erase data. However, if you format the drive, data will be lost.
Why is my USB drive suddenly write-protected?
Causes include a physical lock switch being enabled, corrupted filesystem, driver issues, or the drive reaching its end of life.
Does error 0xC00000A2 appear on SD cards?
Yes, SD cards have a physical lock switch. Also, some cameras or devices may set a software write protection attribute.
How do I format a write-protected USB drive?
You must remove write protection first using steps above. Once removed, you can format via File Explorer (right-click drive, Format).