Chkdsk Cannot Continue in Read-Only Mode: Fix
In this article
If you see "Chkdsk cannot continue in read-only mode," it means the Check Disk utility cannot fix the problems it found because the drive is mounted as read-only. To resolve this, you need to run chkdsk with the appropriate flags (like /F or /R) or from a recovery environment that allows write access.
What Does "Read-Only Mode" Mean for Chkdsk?
Chkdsk (Check Disk) is a Windows utility that scans a disk for file system errors and bad sectors. When you run it without any flags, it runs in read-only mode, meaning it only reports errors and does not attempt repairs. The message "Chkdsk cannot continue in read-only mode" typically appears when you try to use a repair flag (like /F) but the drive is locked or the file system is mounted as read-only. This can happen if the drive is in use, if it's a system drive that Windows won't unlock, or if the drive is physically write-protected.
Why Does This Error Occur?
The most common cause is that the drive is currently in use by the operating system or another program. Windows will not allow chkdsk to dismount a drive that has open files, so it offers to schedule the check for the next restart. If you force it with /F, you may see the read-only error. Other causes include:
- The drive is a system or boot drive that cannot be unmounted while Windows is running.
- The drive is write-protected via a physical switch (on SD cards or USB drives) or via software (like using the diskpart command to set attributes).
- The file system is corrupted to the point that Windows mounts it as read-only to prevent further damage.
- You are running chkdsk from a recovery environment or a different OS that mounts the drive as read-only by default.
How to Fix the Read-Only Error
Here are the steps to resolve the issue, from simplest to most thorough:
- Close all programs and retry. Make sure no files are open from the drive. If it's an external drive, safely eject it and reconnect.
- Run chkdsk with the /F flag. Open Command Prompt as Administrator and type
chkdsk X: /F(replace X with the drive letter). If the drive is in use, you'll be prompted to schedule the check for the next reboot. Type Y and restart. - Use /R for bad sector repair. If /F doesn't work, try
chkdsk X: /R. This implies /F and also scans for bad sectors. - Boot into Safe Mode. Safe Mode loads minimal drivers and may allow the drive to be dismounted. Run chkdsk from there.
- Use the Windows Recovery Environment (WinRE). Boot from a Windows installation USB, select "Repair your computer," then Troubleshoot > Advanced Options > Command Prompt. Run chkdsk from there. In WinRE, the drive may be mounted as read-only, but you can often use the /F flag to force a check.
- Remove write protection. If the drive is an SD card or USB, check for a physical lock switch. If it's a hard drive, you can use diskpart:
diskpart>list disk>select disk X>attributes disk clear readonly.
What If Chkdsk Still Cannot Continue?
If you still get the error after trying the above, the drive may have a failing file system or hardware issues. In that case:
- Try running
chkdsk X: /f /r /xwhere /x forces the volume to dismount first. This will close all open handles. - If the drive is an external drive, connect it to a different USB port or a different computer.
- Use the manufacturer's diagnostic tool to check the drive's health.
- If the drive contains important data, back it up immediately before further attempts.
Common Misconceptions
One common misconception is that running chkdsk in read-only mode is a safe way to "check" the disk without making changes. While true, it only reports errors; it doesn't fix them. Another is that the error means the drive is dead. In many cases, it's just a locked volume, and scheduling a check on reboot solves it. Also, people often confuse chkdsk with disk defragmentation—chkdsk checks file system integrity, while defrag optimizes file placement.
Alternatives to Chkdsk
If chkdsk fails, you can try other built-in tools:
- sfc /scannow - System File Checker repairs system files, not the file system itself.
- DISM /Online /Cleanup-Image /RestoreHealth - Fixes Windows image corruption.
- Third-party disk utilities like CrystalDiskInfo (for SMART health) or GParted (for partition management).
- Formatting the drive as a last resort, but this erases all data.
Frequently Asked Questions
Can I run chkdsk on a drive that is in use?
Yes, but Windows will ask if you want to schedule it for the next restart. If you say yes, the check runs before Windows fully loads, which gives chkdsk exclusive access.
What does the /F flag do exactly?
/F tells chkdsk to fix errors found on the disk. It attempts to repair file system errors, such as bad clusters, lost allocation units, and cross-linked files.
Is it safe to cancel chkdsk once it starts?
It's not recommended. Cancelling can leave the file system in an inconsistent state. Let it finish, even if it takes a long time.
Why does chkdsk take so long?
It depends on the drive size and the number of errors. A full scan with /R can take hours on large drives. It's normal, so be patient.
What should I do if chkdsk finds errors but can't fix them?
If chkdsk repeatedly fails, the drive may be physically failing. Back up your data immediately and consider replacing the drive.
Can I use chkdsk on an SSD?
Yes, but it's less necessary. SSDs don't have moving parts, so bad sector scanning is less relevant. However, file system errors can still occur, and chkdsk can fix them.