Home  >  Article  >  Fix - CHKDSK cannot continue in read-only mode [Resolved]

Fix - CHKDSK cannot continue in read-only mode [Resolved]

王林
王林forward
2023-04-17 15:55:0311000browse

If there is any problem with the hard drive causing any problem, CHKDSK command is executed on the system to scan for any errors and repair and repair them properly.

But recently, we have received many reports from Windows users that when they are unable to perform CHKDSK operations on their system hard drive, they receive an error message that says "CHKDSK cannot continue in read-only mode" ” and the operation stops immediately.

There may be many reasons for this error message when running the chkdsk command, and these reasons are listed below.

  • Corrupted system data files in the system.
  • Corrupted/damaged hard drive.
  • The file or drive is currently in use by software or applications installed on the system.
  • Some services/applications are still running in the background.

In this article, we will guide users on how to resolve this chkdsk not continuing in read-only mode issue on their Windows PC.

If you also face this problem, don’t worry! Read on to learn more.

Workaround – You can try running the chkdsk command in recovery mode with Safe Boot by referring to this article by Click here.

Fix 1 – Run the CHKDSK *: /f /r /x command

Some users claim to have resolved the CHKDSK not continuing in read-only mode issue by running this command on their systems . Therefore, we strongly recommend our users to run this command using the steps explained below.

Step 1: Press the Windows and R keys simultaneously to open the Run Command box.

Step 2: Once open, type cmd and press the Ctrl, Shift and Enter keys simultaneously to become an administrator ##Open the Command Prompt application.

Step 3: Continue accepting any UAC prompts on the screen by clicking

Yes.

Fix - CHKDSK cannot continue in read-only mode [Resolved]

Step 4: Once the Command Prompt application opens, type the following in the Command Prompt and press the

Enter key.

chkdsk *: /f /r /x

NOTE – You need to replace the * symbols with the drive letter you want to run the command on (example: C, D, E, etc.).

Fix - CHKDSK cannot continue in read-only mode [Resolved]

Step 5: This will start checking the drive for any file errors and once the process is completed, you can close the Command Prompt application.

NOTE – If you are using the C: drive to execute the chkdsk command, press Y and then Enter. This will reboot the system and when the system boots, it will execute the chkdsk command.

Step 6: Restart your system and see if that helps.

Fix 2 – Perform CHKDSK operation on system restart

Sometimes the chkdsk operation does not work on the system if the C: drive is selected because it is currently in use by the system operating system, and Can be run on system restart. Therefore, you can schedule the chkdsk operation after the system begins to reboot.

Follow the steps below to learn how to schedule chkdsk operations using an elevated command prompt.

Step 1: Press the

Win R keys simultaneously on your keyboard, then type cmd in the run command box that appears on the screen.

Step 2: Next, press the

Ctrl Shift Enter keys simultaneously.

Fix - CHKDSK cannot continue in read-only mode [Resolved]

Step 3: Attempt to open an elevated Command Prompt window

only after you accept the on-screen UAC prompt by clicking Yes.

Step 4: Type the following lines into the Command Prompt window and press

Enter.

chkdsk /r C:

Step 5: This will display a message "Chkdsk cannot be run because the volume is in use by another process. Do you want to schedule this volume to be checked the next time the system restarts? (Y/N) ".

Step 6: Enter

Y and press Enter.

Fix - CHKDSK cannot continue in read-only mode [Resolved]

Step 7: Now you can close the command prompt window and next time you restart your system, it will check the disk.

Fix 3 – Clear the read-only attribute in Diskpart

The main reason why chkdsk cannot continue in read-only mode is because the file or volume is set to read-only mode. We have explained below the method on how to remove write protection using disk section.

Step 1: Press the

Windows R key to open the "Run" command box.

Step 2: Enter

cmd and press the Ctrl Shift Enter key at the same time.

Fix - CHKDSK cannot continue in read-only mode [Resolved]

Step 3: Continue to accept the on-screen UAC prompt by clicking Yes.

Step 4: Type

diskpart and press Enter.

Fix - CHKDSK cannot continue in read-only mode [Resolved]

步骤 5:现在它将进入DISKPART模式。

第6步:如下所示,一一执行下面给出的这些行。

列出磁盘
选择磁盘 1

注意– 您可以将磁盘 1 替换为命令提示符上显示的数字。

列表分区
选择分区 1

注意 – 您需要将分区 1 替换为命令提示符上显示的数字。

属性磁盘清除只读

Fix - CHKDSK cannot continue in read-only mode [Resolved]

第 7 步:现在您可以关闭命令提示符窗口并尝试在您的系统上运行 chkdsk,看看这是否有效。

修复 4 – 检查所有进程和应用程序是否已关闭

如果任何系统或数据文件被应用程序或进程占用,那么它将中断 chkdsk 操作并抛出上述错误消息。因此,在尝试检查系统上的磁盘之前,最好确保使用任务管理器关闭所有在后台运行的进程和应用程序。

第1 步:同时按下Ctrl + Shift + Esc键,打开任务管理器

第 2 步:单击“进程”选项卡并确保没有列出任何应用程序。

第 3 步:如果列出了任何应用程序,请右键单击它们,然后从上下文菜单中选择结束任务,如下所示。

注意– 对所有应用程序执行此操作以结束它。

Fix - CHKDSK cannot continue in read-only mode [Resolved]

第4步:完成后,关闭任务管理器窗口,您可以继续进行chkdsk操作。

修复 5 – 在您的系统上执行 SFC 扫描

系统上损坏的文件可能会在系统中产生问题,例如本文中提到的问题。因此,替换任何损坏的文件可以解决系统中存在的大部分问题。因此,为了找到损坏的系统文件,您需要运行系统文件检查器扫描,这在以下步骤中进行了说明。

步骤 1:同时按Win+R键并键入cmd,然后同时按Ctrl + Shift + Enter键。

Fix - CHKDSK cannot continue in read-only mode [Resolved]

第 2 步:然后在 UAC 提示上单击“是”以继续。

第 3 步:现在输入sfc /scannow并按Enter键。

Fix - CHKDSK cannot continue in read-only mode [Resolved]

第 4 步:这将开始扫描系统中存在的所有损坏文件。

第5步:扫描完成后,如果发现有损坏的文件,请更换。

步骤6:替换损坏的文件后,关闭命令提示符窗口。

第 7 步:现在尝试运行 chkdsk 操作,看看它是否有效!

The above is the detailed content of Fix - CHKDSK cannot continue in read-only mode [Resolved]. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:yundongfang.com. If there is any infringement, please contact admin@php.cn delete