How to Repair/Recover Corrupted Files Using Command Prompt

In this article, we'll show you how to perform two different Windows 10 repair and recovery procedures to fix corrupted files on Windows 10/8.1/8/7. EaseUS file repair software can restore and repair corrupted Windows files with simple steps. Run this software if you need additional help.

 Free Download

Trustpilot Rating 4.8

 Free Download

Secure Download

Table of Contents

Command Prompt can troubleshoot many problems related to Windows including hard drive file repair, flash drive repair, and memory cards. This powerful built-in utility has helped many users to repair bad sectors on the hard drive and convert the RAW files system to NTFS. To fix the corrupted file, you can also use the built-in tools or a third-party tool. Here four possible solutions will be introduced in detail. Check them now!

Which Method Is Right for Me

When it comes to repairing corrupted files using CMD, you'll receive at least four ways. To save your time, all the solutions are listed in the comparison table below. And you can know which method is right for you according to your needs.

Features EaseUS Fixo Run CHKDSK Command CHKDSK Alternative Run SFC Command
Supported File Types All files All files All files System files
Ease of Use Easy Complicated Easy Complicated
Risk   No Data loss Data loss No
Tech Knowledge Required No Yes No Yes

Method 1. Repair/Recover the Corrupted Files with Software

The most effective way to fix corrupted files is by using professional file repair software.

EaseUS Fixo enables you to repair and restore corrupted photos, videos, Word documents, Excel files, or other files under all corruption scenarios. Download and run the EaseUS file repair tool to repair corrupted files in Windows 10, 8, and 7 with a few clicks.

 Free Download

Trustpilot Rating 4.8

 Free Download

Secure Download

Step 1. Launch EaseUS Data Recovery Wizard. Select a disk location where the corrupted files are saved. Click "Scan" to start finding the broken files. EaseUS file repair tool allows you to fix damaged documents, videos, and pictures in differnet formats. 

select a location and click scan

Step 2. After scanning, you can quickly find corrupt data by file type. If you want to repair damaged Word, Excel, or PDF, select Documents and filter a specific category. For pictures and videos repair, all the common types are suppored, including JPEG, PNG, BMP, MOV, MP4, GIF, and more.

check scanned corrupt files

Step 3. EaseUS file repair software will automatically fix broken files. You can preview the repaired files before recovery. Last, click "Recover" and save the recovered files to a different location to avoid data overwriting.

recover and repair corrupted files
3

Method 2. Repair Corrupted Files Using Command Prompt (CHKDSK)

If there are logical bad sectors, or the file system has corrupted, you can't access the file. In this case, you can use the CHKDSK command to repair corrupted files. Here are the details.

Step 1. In the Search box, type CMD. Right-click the Command Prompt and choose "Run as administrator".

repair corrupt files using command line -1

Step 2. Type E: /f /r /x, hit the Enter. You can replace E with your drive letter (Where you store your Excel files).

repair corrupted files using command lines - 2

Method 3. Run CHKDSK Alternative to Repair Corrupted Files

Download EaseUS CleanGenius and install it on your computer. Let's start checking and refixing file system error on your device now.

Step 1. Click "File Showing" to enter the next step.

click file showing

Step 2. Choose the target device and tick the box of "Check and fix file system error". Click "Execute" to start fixing the problematic device.

select device and check fix file system error

Step 3. When the fixing process completes, click "here" to open and use your device. 

After fixing file system error, click to open and use device

Method 4. Repair Corrupted Files Using Command Prompt (SFC)

Many computer problems are caused by corrupted system files. If your Windows 10 installation is corrupted, you'll encounter instability issues and all sorts of other problems.

Fortunately, the SFC command can fix corrupted system files on your system. Here are the steps to repair Windows 10.

Step 1. Open Search box, type CMD. Right-click the Command Prompt and choose "Run as administrator".

Step 2. Type: sfc /scannow and hit "Enter".

repair corrupted files using sfc

Conclusion

File corruption can happen suddenly and for a variety of reasons. When normal files get corrupted, you won't be able to open them. The methods above can help you repair corrupted files according to your needs. If it's hard for you to repair files using command lines, run EaseUS Fixo. This software makes it easy to restore and repair corrupted files.

Was This Page Helpful?

About the Author

author Brithny

Brithny

Brithny is a technology enthusiast, aiming to make readers' tech lives easy and enjoyable. She loves exploring new technologies and writing technical how-to tips. In her spare time, she loves sharing things about her game experience on Facebook or Twitter.

Read full bio