Windows fix damaged file

Use the System File Checker tool to repair missing or corrupted system files

If some Windows functions aren’t working or Windows crashes, use the System File Checker to scan Windows and restore your files.

Though the steps below might look complicated at first glance, just follow them in order, step-by-step, and we’ll try to get you back on track.

Run the System File Checker tool (SFC.exe)

To do this, follow these steps:

Open an elevated command prompt. To do this, do the following as your appropriate:

If you are running Windows 10, Windows 8.1 or Windows 8, first run the inbox Deployment Image Servicing and Management (DISM) tool prior to running the System File Checker. (If you are running Windows 7 or Windows Vista, skip to Step 3.)

Type the following command, and then press Enter. It may take several minutes for the command operation to be completed.

DISM.exe /Online /Cleanup-image /Restorehealth

Important: When you run this command, DISM uses Windows Update to provide the files that are required to fix corruptions. However, if your Windows Update client is already broken, use a running Windows installation as the repair source, or use a Windows side-by-side folder from a network share or from a removable media, such as the Windows DVD, as the source of the files. To do this, run the following command instead:

DISM.exe /Online /Cleanup-Image /RestoreHealth /Source: C:\RepairSource\Windows /LimitAccess

Note: Replace the C:\RepairSource\Windows placeholder with the location of your repair source. For more information about using the DISM tool to repair Windows, reference Repair a Windows Image.

At the command prompt, type the following command, and then press ENTER:

The sfc /scannow command will scan all protected system files, and replace corrupted files with a cached copy that is located in a compressed folder at %WinDir%\System32\dllcache.
The %WinDir% placeholder represents the Windows operating system folder. For example, C:\Windows.

Note Do not close this Command Prompt window until the verification is 100% complete. The scan results will be shown after this process is finished.

After the process is finished, you may receive one of the following messages:

Windows Resource Protection did not find any integrity violations.

This means that you do not have any missing or corrupted system files.

Windows Resource Protection could not perform the requested operation.

To resolve this problem, perform the System File Checker scan in safe mode, and make sure that the PendingDeletes and PendingRenames folders exist under %WinDir%\WinSxS\Temp.

Windows Resource Protection found corrupt files and successfully repaired them. Details are included in the CBS.Log %WinDir%\Logs\CBS\CBS.log.

To view the detail information about the system file scan and restoration, go to How to view details of the System File Checker process.

Windows Resource Protection found corrupt files but was unable to fix some of them. Details are included in the CBS.Log %WinDir%\Logs\CBS\CBS.log.

Swipe in from the right edge of the screen, and then tap Search. Or, if you are using a mouse, point to the lower-right corner of the screen, and then click Search. Type Command Prompt in the Search box, right-click Command Prompt, and then click Run as administrator. If you are prompted for an administrator password or for a confirmation, type the password, or click Allow.

To do this, click Start, type Command Prompt or cmd in the Search box, right-click Command Prompt, and then click Run as administrator. If you are prompted for an administrator password or for a confirmation, type the password, or click Allow.

More Information

To view the details that included in the CBS.Log file, you can copy the information to the Sfcdetails.txt file by using the Findstr command, and then view the details in the Sfcdetails.txt. To do this, follow these steps:

Open an elevated command prompt as described in the previous step 1.

At the command prompt, type the following command, and then press ENTER:

Note The Sfcdetails.txt file contains details from every time that the System File Checker tool has been run on the computer. The file includes information about files that were not repaired by the System File Checker tool. Verify the date and time entries to determine the problem files that were found the last time that you ran the System File Checker tool.

Читайте также:  Microsoft windows filter manager

Open the Sfcdetails.txt file from your desktop.

The Sfcdetails.txt file uses the following format:

Date/Time SFC detail The following sample log file contains an entry for a file that could not be repaired: 2007-01-12 12:10:42, Info CSI 00000008 [SR] Cannot repair member file [l:34<17>]»Accessibility.dll» of Accessibility, Version = 6.0.6000.16386, pA = PROCESSOR_ARCHITECTURE_MSIL (8), Culture neutral, VersionScope neutral, PublicKeyToken = , Type neutral, TypeName neutral, PublicKey neutral in the store, file is missing

How to manually replace a corrupted system file with a known good copy of the file

After you determine which system file was corrupted and could not be repaired through the detail information in the Sfcdetails.txt file, find where the corrupted file located, and then manually replace the corrupted file with a known good copy of the file. To do this, follow these steps:

Note You may be able to get a known good copy of the system file from another computer that is running the same version of Windows with your computer. You may perform a System File Checker process on that computer to make sure the system file that you intend to copy is a good copy.

Take administrative ownership of the corrupted system file. To do this, at an elevated command prompt, copy and then paste (or type) the following command, and then press ENTER:

takeown /f Path_And_File_Name Note The Path_And_File_Name placeholder represents the path and the file name of the corrupted file. For example, type takeown /f C:\windows\system32\jscript.dll.

Grant administrators full access to the corrupted system file. To do this, copy and paste (or type) the following command, and then press ENTER:

icacls Path_And_File_Name /GRANT ADMINISTRATORS:F Note The Path_And_File_Name placeholder represents the path and the file name of the corrupted file. For example, type icacls C:\windows\system32\jscript.dll /grant administrators:F.

Replace the corrupted system file with a known good copy of the file. To do this, copy and paste (or type) the following command, and then press ENTER:

Copy Source_File Destination Note The Source_File placeholder represents the path and file name of the known good copy of the file on your computer, and the Destination placeholder represents the path and file name of the corrupted file. For example, type copy E:\temp\jscript.dll C:\windows\system32\jscript.dll.

If the steps above don’t work, you may need to reinstall Windows. For more info, see Windows 10 recovery options.

Windows 10 Repair Tool | How to Fix Corrupted Files Windows 10

How to fix corrupted files Windows 10? Use EaseUS Windows 10 file repair tool to fix corrupted videos, photos, Word, Excel, and other files with a step-by-step guide. You can also learn how to apply Windows 10 repair tool to fix your PC in this tutorial.

Table of Contents

About the Author

Reviews and Awards

File corruption is a very common and serious problem for most users. If an important file is damaged, you need to do your best to repair the damaged file, or you will face data loss or worse.В В

In this tutorial, we will focus on how to fix corrupted files Windows 10/8/7В with some efficient Windows 10 file repair tools. Besides, practical solutions to repair problematic PC with Windows 10 repair toolВ are also introduced.В

How to Fix Corrupted Files With 5 Best Windows 10 File Repair Tools

Don’t fret anymore when you suddenly get a pop-up message saying that your file has corrupted. Here come many file repair software Windows 10 that can help you fix damaged files easily.

1.В EaseUS Data Recovery Wizard

The most effective way to fix corrupted files on Windows 10 is by using a file repair utility. EaseUS Data Recovery Wizard, a professionalВ data recovery and file repair tool, enables you to fixВ and restore lost/existing corrupted photos, videos, Word, Excel, PowerPoint, or other files in any case.

  • Repair corrupted Excel/Word file with free preview option
  • FixВ corrupted videosВ in MP4 and MOV formats on Windows and Mac
  • Fix multiple broken files without limits
  • Repair damaged files from PC, laptop, external hard drive, SD card, USB flash drive, etc.

Now, perform EaseUS Windows 10В repair tool download to fix corrupted files in Windows 10, 8, and 7 with a few clicks.

Step 1. Select a location.

Choose the correct drive which contains the corrupted videos under «Devices and Drives», which can be a removable disk or a local drive. Click «Scan».

Step 2. Scan lost videos.

EaseUS video recovery software will run immediately to scan all over the selected drive to find lost files as many as possible. The scan time depends on the used drive capacity and its health state.В After the completion of the deep scan, you’ll go to the repair session as soon as the software detects corruption. Some lost video files may have been subject to second damage by improper handling, so this file repair step is critical for a full video file recovery.

Читайте также:  Скриншот с выделением области windows

Wait patiently until the repair ends.В Click «Filter» on the top right and choose videos. This helps you quickly locate all the video files.В

Step 3. Recover corrupted videos.

Double-click on a file lets you preview the file quality. Finally, if there is no problem at all, click «Recover». You should choose a different location to save the recovered videos.

EaseUS free Windows 10 file repair tool

EaseUS Data Recovery Wizard has the free version that allows repairing corrupted files up to 2GB. You can use this free file repair tool to fix corrupted Word, Excel, and small pictures.В

Except for file repair, EaseUS Data Recovery Wizard also has a good reputation in data recovery. It can simply recover permanently deleted files in Windows 10В with advanced algorithm technology. Other outstanding functions are formatted recovery, RAW recovery, lost partition recovery, OS crash recovery, virus attack recovery, and more.

2. Piriform Recuva

As a famous data recovery tool, RecuvaВ is also capable of repairing damaged files on Windows 10.В This program allows you to scan your PC, storage media card, recycle bin, or a specific folder deeply to recover deleted files and repair damaged files as well.

  • Provides Recova Wizard that helps you choose files easily from a large number of data
  • A user-friendly interface that simplifies the recovery and file repair process
  • Recover all files, including pictures, music, documents, video, compressed files, and emails
  • Work with damaged hardware to recover files from damaged flash drives

3. Stellar Phoenix Video Repair Tool

Stellar Phoenix Video Repair tool is a competent tool to fix corrupted and damaged video files that are unplayable in QuickTime player on both Windows and macOS. It can fix multiple severely corrupted files simultaneously.

  • Support all the popular video formats, such as MP4, MOV, AVI, MKV, etc.
  • Fix several corrupted videos in batches
  • Preview repaired files for free before saving
  • Stellar File Repair Toolkit also supports Excel, PowerPoint, MySQL, Access, and so on

4. File Repair

File RepairВ can restore damaged files caused by a virus infection, application failures, system crashes, and network errors. It allows you to fix corrupted files in Windows 10 on all theВ common formats from your computer, SD card, iPhones, or Android smartphones.

  • Support repairing many types ofВ files, such asВ pictures, PDF, office documents, emails, and, database
  • Support multiple image formats, such as JPEG, GIF, TIFF, BMP, PNG or RAW images
  • Fully compatible with Windows 10, 8, 7, and other versions

5. Digital Video Repair

Digital Video Repair allows you to fix corrupted Mpeg 4 and AVI videos in just a few clicks. Digital Video Repair can repair broken AVI files encoded with Xvid, DivX, MPEG4, 3ivx, and Angel Potion codecs. This tool can easily fix unfinished AVI files, MOV, and MP4 videos that haven’t been completely downloaded from the Internet or a local network.

  • Support popular video formats like MOV, MP4, AVI, FLV, etc.
  • Automatically delete the not important content from the video file
  • Fix multiple video files at once
  • Free file repair tool for any users

How to Fix Computer Issues Using Windows 10 Repair Tool

If you are having a problem with your Windows 10 computer, such as a reboot loop, corrupted Windows files, corrupted registry keys, corrupted registry driver, or other Windows boot-related issues, you can use a Windows 10 repair tool or Windows 10 fix method to repair your computer.В

1.В Using SFC and DISM Utilities for Windows 10 SystemВ Repair

Use SFC Scan

SFC checks system file integrity and replaces a corrupt or damaged system file with a cached copy. This system file checker helps fix the damaged or missing Windows system files that may cause drive corruption. Follow the steps below:

Step 1. Type Command Prompt in the search bar, right-click it, and choose «Run as administrator».

Step 2. TypeВ sfc /scannow and hit «Enter».

If the drive is an external device, follow this command: sfc /scannow /offbootdir=c:\ /offwindir=c:\windows.

Replace letter c: with your hard drive letter. Wait for the scan to finish and then restart the system. Check if you can access the drive.

After the repair process completes, you’ll see the ‘Windows Resource Protection did not find any integrity violations’ message if the system files aren’t corrupted in Windows 10.В

Use DISM Tool

When the SFC system file checker tool fails to repair corrupted system files in Windows 10, you can go onВ using the DISM tool instead, which is designedВ to fix any corruption problems that can prevent the SFC tool from running.

Step 1. Press Win + R to open Run dialogue and type cmd to open Command Prompt.

Step 2. Type command: Dism /Online /Cleanup-Image /RestoreHealth and hit «Enter».

Step 3. Reboot PC to keep all changes and repair sfc into working again.

2.В Use Microsoft Fix it Tool В

Windows 10 offers a fix-it tool to solve some problems. You can use theВ troubleshooters to help you solve problems with your PC. Follow the steps below to run a troubleshooter.

Читайте также:  Windows ошибка usb устройство не опознано windows

Step 1. Select «Start > Settings > Update & Security > Troubleshoot >В Run the troubleshooter».В

Step 2.В Wait forВ the troubleshooter to run and repair your computer.В

3. Use Windows Startup Repair forВ Windows 10 Boot Repair

You can use the pre-installedВ Windows Automatic RepairВ to fix certain errors on Windows PC. And you may also try this method to fix Windows UEFI/EFI boot error.

Step 1. Boot theВ Windows from installation media.

Step 2. Click «Repair your computer» at the Install now screen.

Step 2. Click «Troubleshoot» >В «Automatic repair» in the Advanced options interface.В

Step 3.В Do as the on-screen instructions required. When the process finishes, restart your PC and check to see if the computer canВ work properly.

4. Use System RestoreВ

With the Windows Restore feature, you can restore your PC to a previous point in time.В However, you need to enable System Recovery on Windows 10 and create a recovery point in advance for using this function.В If there are no recovery points, this method won’t be valid.

Step 1.В Type System RestoreВ in the Searchbox.В Click «Create a restore point option».

Step 2.В Click the «System Restore» buttonВ on the pop-up window.

Step 3.В Check «Show more restore points». then, select an available restore point and click «Next».

Step 4.В Follow the on-screen instructions to perform the restore. When your Windows 10 is restored, the system files should be intact, and your computer will work properly.

5. Reset Windows 10

When all the above solutions fail, you might reset your Windows and restore your computer to the factory state by reinstalling Windows 10. This process will delete all the installed programs and data. Therefore, make sure that you have backed up every critical file before resetting.

To reset your Windows 10 machine, follow these steps:

Step 1.В Go to Start, click the Power buttonВ > hold the shift key and click «Restart».

Step 2.В Choose «Troubleshoot» > «Reset this PC».В You haveВ two optionsВ — «Keep my files» and «Remove everything». The former will reinstall Windows 10В andВ keep your personal files and settings. The latter will remove both personal files and settings. Choose either of the two.

Step 3.В Enter your username and password, select the Windows version, and click «Reset».В If you’re asked to insert Windows 10 installation media, do as required.

Step 4.В Follow the on-screen instructions to finish resetting Windows.

Final Verdict

As you can see, there are many different toolsВ and approaches you can use toВ fix corruptedВ files on Windows 10/8/7. EaseUS Windows 10 file repair tool offers the simplest and comprehensive options to help you fix corrupted JPEG files, MP4/MOV videos, and Microsoft Office documents. Try it without any effort.

Furthermore, if there are some issues with your PC or laptop, you can use any of the Windows 10 repair tools demonstrated here to fix your computer for normal use.В

More Tips on How to Fix Corrupted Files on Windows 10В

The following are the frequently asked questions about Windows file repair and Windows 10 repair. Check the brief answers to these problems.

1. What causes corrupt files in Windows 10?

Files on Windows 10 can beВ divided into two types: Windows 10 system files, created when installing Windows operatingВ system,В and general files created by the user, which can beВ photos, videos, documents, emails, audio files, etc.

Either Windows system files or user files are likely to be corrupted due to various reasons, including but not limited to:

  • Hardware damage
  • OS crash
  • Software failure
  • Virus attack
  • Human misoperation

2. How do I do a repair install of Windows 10?

One of the solutions to fix corrupted system files is resetting your computer to the factory configurations and reinstalling Windows 10. Reinstalling Windows 10 can usually make your PC as good as new and performs as a method to figure out when your PC stop working or just doesn’t work as well as normally. There are three ways to reinstall Windows 10 without CD, check the tutorial and details.

3. Does Windows 10 have a repair tool?

Windows 10 offers a fix-it tool to solve some problems. You can use theВ troubleshooters to help you solve problems with your PC. To run a troubleshooter: Select Start > Settings > Update & Security > Troubleshoot.В

If you are having a problem with your Windows 10 computer, such as a reboot loop, corrupted Windows files, corrupted registry keys, corrupted registry driver, or other Windows boot-related issues, you can use the Windows Automatic Repair or Startup Repair tool.

4. Is the Windows 10 repair tool safe?

Windows 10 Troubleshooter, Automatic Repair, or Startup Repair tool is a free and useful Windows 10 repair tool you can use to repair manyВ Windows 10 issues.

ThisВ Windows 10 repair toolВ may not fix all of your PCВ problems, but it is a good place to start. Running Startup Repair on your computer can fix problems that keep Windows from loading on your computer.В

Оцените статью