"The tutorial" teaches you to solve "reprint" of "Windows resource protection found corrupted files but cannot fix some of them" issue

Source: Internet
Author: User

Reprint: http://www.cystc.org/?p=2827

A lot of people will use Sfc/scannow to solve the problem of system file corruption, but sometimes they can not be repaired by SFC, the most common is that "Windows resource protection found corrupted files but could not repair some of the file CBS." Log windir\logs\cbs\cbs.log Details ", in fact, this is because the system files in the WinSxS backup is also damaged, resulting in the final file can not be repaired. The solution is to find the damaged file and replace it with a normal file.

First step: Locate the corrupted file

Run the command prompt with administrator privileges, and then type findstr/c: "[SR] Cannot repair member file"%windir%\logs\cbs\cbs.log > "%userprofile%\desktop\ Sfcdetails.txt "command is completed will generate a file called" Sfcdetails.txt "on the desktop, open it, you can see the file name of the damaged files cannot be repaired,

Know the file name, the next is to locate the location of the file, directly under the Windows directory with the file name to search for the files, all the files found are corrupted files (generally at least two, a source file a backup, because the backup file is also damaged, so the next all need to be replaced).

Step two: Replace him with normal files.

Found the damaged file, the next is to use the normal file to replace him, the normal file from where? You can either copy it from someone else's computer on the same system or get it from the Windows installation disk or the original installation image. Here is the second kind of detail.

Insert the installation disk or open the installation image with 7z or RAR, In the sources directory, find Install.wim, open it, each number of directories have different versions of Windows files (1. Simple version, 2. Basic Family Edition, 3. Home Premium Edition, 4. Professional Edition, 5. Ultimate Edition), enter the directory corresponding to your Windows version file (PS: Pirated third-party seal Installed system is basically the ultimate version), find the corresponding file, unzip it out.

Next, is to replace the work of the file, first to get the damaged system files that need to be replaced full access permissions, run the command prompt with administrator privileges, followed by the following two commands

Takeown/f the full path to the corrupted system file icacls the full path to the corrupted system file/grant administrators:f

Finally, with the files just extracted to replace the damaged file is done.

Another workaround for Windows 8/8.1 ( Networking Required )

If you're using Windows 8/8.1, there's another easier way to fix it. Run the command prompt with administrator privileges, execute the "dism/online/cleanup-image/restorehealth" command, and Windows will automatically repair the corrupted files by networking.

"The tutorial" teaches you to solve "reprint" of "Windows resource protection found corrupted files but cannot fix some of them" issue

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.