Are you suffering from the BSOD error or other machine issues?

your machine has probably become corrupted, leading to a system crash and data loss.

ThisMiniToolpost shows specific steps to fix corrupted hard drive using CMD and recover data from the corrupted hard drive.

back up files

It is a common issue that people fail to start their computers normally.

Since there should be numerous files on your machine, using professionalbackup softwareis time-saving and secure.

MiniTool ShadowMaker works well inbacking up files, folders, partitions, and disks.

recover files from an unbootable computer

MiniTool ShadowMaker Trial allows you to enjoy a 30-day free trial.

you could enjoy the backup features with this edition.

If dont know, you’re able to read this post and try the methods here.

Convenient Way to Recover Data After a Hard Drive Crash

Afterentering WinRE, you better chooseTroubleshoot>Advanced options>Command Prompt.

In the following interface, choose an account and input the correct password to open Command Prompt.

#1. execute the CHKDSK Command

The file system is the way that the computer organizes files.

open Command Prompt

TheCHKDSKutility can detect and fix file system errors and keep your system data well-organized.

Here is how to use CHKDSK to repair disk.

If you launch Command Prompt via Windows Recovery Environment, you could start with Step 3 directly.

run the CHKDSK command

Step 1: PressWin + Rto bring up the Run window.

Step 2: Typecmdinto the box and pressShift + Ctrl + Enterto run Command Prompt as administrator.

Step 3: TypeCHKDSK x: /fand hitEnter.

Fix Windows Stuck in a CHKDSK Loop & Perform Data Recovery

This post explains two methods to help you resolve this problem.

you’re free to launch the SFC and DISM command lines to find and repair corrupted system files.

Step 2: Typesfc /scannowand pressEnterto execute this command.

run the SFC command

Step 3: Wait for the process to complete.

TypeDISM /Online /Cleanup-Image /Restorehealth

and hitEnter.

DiskPart is used to partition, format, create, or resize a partition or to complete other operations.

run the DISM command

Here are the specific steps to fix corrupted hard drive using CMD.

Step 1:Run Command Prompt as administrator.

Step 2: jot down the following command lines and hitEnterat the end of each one.

run the DiskPart command

Bottom Line

After reading this post, hope you know how to repair hard disk using CMD.

Different command lines have different functions in repairing a corrupted hard drive.

you should probably be careful when running command lines.

The most important thing is to ensure the security of data on this corrupted hard drive.

you’ve got the option to run MiniTool Power Data Recovery to retrieve files from it.

The best way to ensure data security is to back them up periodically since data loss always happens unexpectedly.