Win8 prompts "Windows Resource Protection found a corrupted file but could not be fixed" What should I do?

  

Many users will encounter system file corruption during the process of using Win8 system. At this time, users usually use sfc /scannow to fix it. However, recently, a Win8 user encountered a system prompt during the repair process: "Windows Resource Protection found a corrupted file but could not repair some of the files", what is going on? This situation shows that the backup of the system files in winsxs is also damaged. Let's take a look at the solution.

solution is as follows:

Step 1: Find the corrupted file

administrator privileges to run the command prompt, and then type findstr /C: " [SR] Cannot repair member file" %windir%\\logs\\cbs\\cbs.log >"%userprofile%\\Desktop\\sfcdetails.txt"After the command is completed, a name called "sfcdetails.txt" will be generated on the desktop. file, open it, you can see the file name irreparable damage to the file, as shown:

know the file name, the next step is to locate the location of the file directly in the Windows directory Search for the file with the file name. All the files found are corrupted files (generally there are at least two, one source file is backed up, and since the backup file is also damaged, all of them need to be replaced).

Step 2: Replace him with a normal file

Found a corrupted file. The next step is to replace it with a normal file. Where does the normal file come from? You can copy it from someone else's computer on the same system, or from the Windows installation disk or the original installation image. The second thing to elaborate here is.

Insert the installation disk or open the installation image with 7z or RAR, find install.wim in the sources directory, open it, each version has a different version of Windows file (1. Simple version, 2 .Basic Basic Edition, 3. Home Premium Edition, 4. Professional Edition, 5. Ultimate Edition), enter the directory corresponding to your own Windows version file (PS: pirated third-party packaging system is basically the flagship version), find the corresponding File, unzip it.

Next, to replace the file, first obtain the full access rights of the damaged system files that need to be replaced, run the command prompt with administrator privileges, and execute the following two commands in order:

takeown /f Full path to corrupt system files
icacls Full path to corrupt system files /GRANT ADMINISTRATORS:F

Finally, replace the corrupted file with the file you just extracted and you're done.

The above is the Win8 prompt "Windows Resource Protection found a corrupted file but can not be fixed" solution, in this case, we just need to replace the normal file with the damaged file can be solved.

Copyright © Windows knowledge All Rights Reserved