How to Repair Excel with Command Lines on Windows

Yesterday, my Excel files were corrupted, and I received a message saying that the .xlsx is corrupted and cannot be opened. Then, my computer asked if I would like to recover the contents. How can I repair this Excel file on my computer?

Best Answered by

Dany· Answered on Jul 20, 2023

We will introduce how to repair Excel with command lines and if you are not familiar with the command lines, you can try an Excel repair program. EaseUS Data Recovery Wizard for Excel repairs corrupted Excel spreadsheets (.xls, .xla, .xlsx). With it, you can recover Excel 2019, 2016, 2013, 2010, 2007, and more.

 Download for Win Recovery Rate 99.7%
 Download for Mac Trustpilot Rating 4.7

Step 1. Open EaseUS file repair software and scan the disk for damaged files. With the use of this file repair software, you can easily repair Word, Excel, PPT, and PDF files that have been damaged.

Step 2. This software will scan your chosen disk and find all the corrupted Excel files.

Step 3. The EaseUS file repair option will fix your damaged Excel file automatically

If some Windows functions aren't working or Windows OS crashes, use the System File Checker to scan Windows and restore your files. But the SFC scannow command can only solve the system file corruptions. Thus, if you want to repair Excel files from command lines, you can't run this command.

But you can run CHKDSK, which is an advanced built-in error checker of Windows to check and repair hard disks. If a file system problem on the disk is causing the Excel file to fail to open, you can try the following command line to fix the error.

Step 1. Open the Search box, and type in CMD. Don't forget to right-click the Command Prompt and choose "Run as administrator".

Step 2. Type CHKDSK F: ?f ?r ?x (you should replace ? with a slash), hit Enter. You can replace F with your drive letter (Where you store your Excel files).

Use EaseUS Data Recovery Wizard to recover deleted or lost files easily and quickly.

Tutorials on how to recover lost, deleted, or formatted data from HDD, SSD, USB, SD card, or other storage media on Windows and Mac.

People Also Ask

How to Fix PowerPoint Stop Working Error on Windows

What to do if PowerPoint is not working? It is a frustrating thing that your work PPT can not respond, freeze, or corrupted for unknown reasons. Take it easy. In this article, we are going to provide some reliable solutions to save your PowerPoint. Still here and get your best approach now.


Jul 20, 2023

How to Repair a Corrupted Workbook? Check Your Full Guide

Does your Excel Workbook get corrupted? If you are looking for a useful way, well, you are lucky there. On this page, these methods are built around a damaged workbook, and we will teach you how to repair a corrupted workbook in Windows 10. Join us and keep reading.


Jul 20, 2023

How to Turn on AutoSave in Word 2007/2010/2013/2016/2019

How to turn on AutoSave in Word to back up Word documents automatically? You can learn how to turn on AutoSave in Word on Windows 10 in this article. Besides, a useful way to recover lost Word documents is still covered here.


Jul 20, 2023

Download the Easy MS Office Recovery Software with Crack

Do you have any good suggestions about MS Office recovery? I used a cracked Office 2010 on my Windows 7 computer and lost some Office files after installing a Windows 7 security update yesterday afternoon. So can I have a free recovery method for MS Office even if it was cracked using the Internet-provided serial key?


Jul 20, 2023

How to Fix Missing File Headers Error on Windows 11/10

You can fix the header missing error by using the best manual options in this guide. Besides, you can run the EaseUS file repair tool for File Repair to fix corrupted Word, Excel, PowerPoint, and PDF files with header-related issues.


Jul 20, 2023

How to Repair Excel File 2013 [Fix Corrupted Excel 2013]

This article tells you how to identify and repair Excel 2013 in Windows 10/8.1/8/7. You can repair Excel files with EaseUS file repair software - EaseUS Data Recovery Wizard. Or, you can repair corrupted files with the built-in Open and Repair option.


Jul 20, 2023