Medium
Operating Systems
✓ Solution Verified by Community (0+ upvotes)
How to fix error erofs in Windows 11
Read-only file system.
Fix based on community reports and expert analysis. Last verified: 2026-08-12
· How we verify fixes
| Error Code | erofs |
|---|---|
| Affected System | Windows 11 (Microsoft) |
| Difficulty | Medium |
| Estimated Time | 10 min |
| Requires Admin Rights | ⚠️ Yes |
Solution Steps
- 1 First, check if the drive has a physical write-protect switch. Many USB drives and SD cards have a small slider on the side. If it's locked, slide it to the unlocked position. This is the simplest fix.
- 2 If there's no switch, open Command Prompt as administrator (Win+X → Terminal (Admin)). Type 'diskpart' and press Enter. Then type 'list volume' to see all volumes. Identify the volume letter of the read-only drive.
- 3 Type 'select volume X' (replace X with the actual volume number) and press Enter. Then type 'attributes volume clear readonly' and press Enter. This clears the read-only attribute on the volume. Exit diskpart by typing 'exit'.
- 4 If the drive is still read-only, it might be a system partition. Right-click the drive in File Explorer, select 'Properties', go to the 'Security' tab, and ensure your user has 'Full control'. If not, follow the steps from the EACCES fix to grant permissions.
- 5 For system drives, you can also check if the 'Read-only' checkbox is checked in the drive's Properties. If it is, uncheck it and click Apply. You might need to restart your PC.
- 6 If you're dealing with a network drive, check with your network administrator to ensure you have write permissions. You can also try mapping the drive with different credentials.
🔍 Didn't work? Enter your GPU and CPU for hardware-specific advice:
🔧 Still having issues?
Describe your exact problem to Error Buddy and get a personalized fix in seconds.
🛠️ Try Error Buddy — It's Free