EaseUS Data Recovery Wizard 11582 Reviews

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.7

 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.7

 Free Download

Secure Download

Step 1. Download and launch Fixo on your PC or laptop. Choose "File Repair" to repair corrupted Office documents, including Word, Excel, PDF, and others. Click "Add Files" to select corrupted documents.

add files to repair documents with Fixo

Step 2. To repair multiple files at once, click the "Repair All" button. If you want to repair a single document, move your pointer to the target file and choose "Repair". You can also preview the documents by clicking the eye icon.

select documents to repair

Step 3. Click "Save" to save a selected document. Select "Save All" to save all the repaired files. Choose "View Repaired" to locate the repaired folder.

save repaired documents in Fixo

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


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?

Updated by Dany

Dany is an editor of EaseUS who lives and works in Chengdu, China. She focuses on writing articles about data recovery on Mac devices and PCs. She is devoted to improving her writing skills and enriching her professional knowledge. Dany also enjoys reading detective novels in her spare time.

Read full bio

Approved by Daisy

Daisy is the Senior editor of the writing team for EaseUS. She has been working in EaseUS for over ten years, starting from a technical writer to a team leader of the content group. As a professional author for over 10 years, she writes a lot to help people overcome their tech troubles.

Read full bio

Product Reviews

TrustScore 4.7 | 323 reviews
  • EaseUS Data Recovery Wizard is a powerful system recovery software, designed to enable you to recover files you’ve deleted accidentally, potentially lost to malware or an entire hard drive partition.

    Read More
  • EaseUS Data Recovery Wizard is the best we have seen. It's far from perfect, partly because today's advanced disk technology makes data-recovery more difficult than it was with the simpler technology of the past.

    Read More
  • EaseUS Data Recovery Wizard Pro has a reputation as one of the best data recovery software programs on the market. It comes with a selection of advanced features, including partition recovery, formatted drive restoration, and corrupted file repair.

    Read More