search
HomeCommon ProblemHow to fix 'Windows Resource Protection found corrupt files but was unable to repair some of them' on Windows 11 or 10

  • Click to enter:ChatGPT tool plug-in navigation directory

What is the China Securities Regulatory Commission scan?

The Windows utility System File Checker can assist in repairing corrupted system files and registry keys. The scan is launched from the Terminal application and can check the authenticity of files and repair corrupted files by replacing them with functional files from the source.

The SFC utility does the job effortlessly. All you have to do is open a command prompt, enter the SFC /scannow command, and let the utility fix the problem on its own.

In most cases, this is a quick and easy process. However, there are situations where corrupted system files cannot be repaired. In these cases, you may see the error message "Windows Resource Protection found corrupt files but was unable to repair some of them".

What does the "Windows Resource Protection found a corrupted file" error mean?

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

Windows Resource Protection (WRP) is integrated into SFC scanning to protect critical system files and registry keys. Some resources are inaccessible even to administrators because they are protected.

So, when you receive a Windows Resource Protection error message, it means that the SFC utility and WRP scanned and found corrupt system files but were unable to repair them by replacing them with cached files. This can happen if the cache file used to replace the corrupted file itself is corrupted. Apart from system file corruption, there are other possible reasons why you may receive the "Windows Resource Protection found a corrupted file..." error. Let's take a look at a few of them:

  • The SFC has no resources available to resolve this issue.
  • Background processes or third-party applications interfere with the SFC utility.
  • Corrupted cached copies of system files.
  • Some problematic .dll Nvidia files, known to trigger false positives and mark certain files as corrupted.

Of course, you may not be able to pinpoint exactly which of these are causing SFC scan errors. Nonetheless, the CBS.log file, which records details about the scan, can be useful in identifying irreparably damaged files.

How to check the CBS.log file

The CBS.log file mentioned in the error contains information about each time SFC is run on the computer, including information about corrupted files that cannot be repaired.

CBS log files are located in the following folder:

C:\Windows\Logs\CBS\CBS.log

Press Win E and navigate to the above file location to open File Explorer.

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

To read the log, just double-click the file. The file will open in Notepad.

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

Here, use SFC to verify that the corrupted file's last check date and time are incorrect. To learn how to manually replace corrupted system files with good copies, see Fix #5 below.

How to Fix Error "Windows Resource Protection found corrupt files but was unable to repair some of them" on Windows Operating System

Now that you understand the terminology behind the error and what it means, Let's see how to fix it.

Fix 1: Run the DISM tool from the command prompt (CMD)

The local utility DISM (Deployment Image Servicing and Management) can be used to inspect and repair Windows images. It is possible to easily fix errors that are not fixed by SFC using the DISM system image repair command. Here's how to run them:

Press Start, type CMD, then right-click Command Prompt and select Run as administrator.

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

Now, type the following command:

dism /online /cleanup-image /restorehealth

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

Then press Enter. Wait for the process to complete.

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

After the scan is complete, restart the system and try running the SFC command to check if the error persists.

Fix 2: Run the Check Disk utility

Check Disk is a native utility designed to check and repair disk errors. Such errors can occur even if the system files are located in corrupt sectors. Running a CHKDSK scan and repairing disk errors is useful as this ensures that the SFC scan can successfully repair system files.

Open the command prompt as shown above. Then type the following command to run the Check Disk utility:

CHKDSK /C /f

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

To schedule the scan at the next startup, Please press Y.

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

Then press Enter.

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

Restart your computer and wait for Check Disk Utility to finish fixing disk errors. Once completed, run the SFC scan command to see if the problem still exists.

Another way to check the C: drive is from File Explorer. To do this, press Win E and open File Explorer. In the This PC window, right-click the C drive and select Properties.

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

Click on the " Tools " tab.

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

Then click "Check" under "Error Checking".

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

When prompted, simply click "Scan Drive".

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

Wait for the scan to complete. Once completed, restart your computer as before and check if the problem is resolved.

Fix 3: Run SFC and DISM Scan in Safe Mode

Besides corrupted system files, one of the most common causes of SFC errors is when other applications, services, or processes start to interfere with the system document. To bypass them, run an SFC scan in safe mode with the minimum drivers and services required to start. Here's how to do it:

Press Win I to open Settings. Then scroll down on the right side and click Recovery.

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

Click Restart Now next to Advanced Startup.

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

After rebooting into the Windows Recovery Environment (WinRE), click

Troubleshoot.

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

Then click

Advanced Options.

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

Click

Start Settings.

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

Click Restart.

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

On the selection screen, press 6 and select Enable Safe Mode with Command Prompt.

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

After booting into Safe Mode, run the DISM utility as shown before, and then SFC /scannowrun the command at the command prompt.

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

If the problem persists, proceed to the next few fixes.

Fix 4: Run SFC scans in Windows Recovery Environment (WinRE)

WinRE is another environment that can host SFC scans. WinRE runs in a pre-boot environment and consumes minimal resources, so it may scan more efficiently than SFC. Here's how to do it:

Enter the WinRE environment as described above. Or press Start, click the power button, then hold down the Shift key and click Restart.

After entering WinRE, click "Troubleshooting".

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

Then Advanced Options.

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

Select Command Prompt.

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

Then run the sfc /scannow command.

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

Press the Enter key. Then wait for the scan to complete. If the error persists, continue to the next solution.

FIX 5: Manually replace damaged files

If the above method does not work, then replacing the damaged files yourself with a good copy is one of the only feasible ways. But before that, you need to pinpoint the corrupted file. Please check the CBS.log file located in the C:\Windows\Logs\CBS folder as mentioned before.

Double-click the cbs.log file to access its contents.

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

Note the name of the corrupted file and verify the date and time with the last time you ran an SFC scan when the error occurred.

Now, because your own copy of the files is corrupted, you must obtain the files from another computer running the same version of Windows as you. To ensure that all files on the second computer are in good condition, you need to run an SFC scan first.

Next, you need to take ownership of the good files on the second computer. To do this, type the following command in the command prompt:

takeown /f "File_path_and_name"

Replace "File_path_and_name" with the actual file location.

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

Then press Enter.

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

Copy this file to a portable drive and plug it into the first computer.

Then, on the first computer, grant the administrator full access to the corrupted system files. Type the following command:

icacls "File_path_and_name" /grant Administrators:F

Replace "File_path_and_name" with the actual file location

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

and press Enter .

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

Finally, type the following command to replace the good copy with the corrupted copy:

Copy "Source_file_location" "Destination_file_location"

Replace "Source_file_location" and "Destination_file_location" with the actual locations of the source and destination files. See the example below to understand better.

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

When prompted, type Yes.

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

Then press Enter.

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

Do this for any unrepaired corrupt files logged in the CBS.log file.

Fix 6: Uninstall the latest updates

Recent updates may also introduce corrupted elements into system files. If you encounter SFC scan errors for the first time after a Windows update, uninstalling these may resolve the issue. Here's how to uninstall the latest Windows updates:

Press Win I and open Settings. Then click Windows Update in the left pane.

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

Click Update History.

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

Scroll down and click Uninstall updates.

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

Then uninstall the latest updates after which you start getting errors.

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

When prompted, click "Uninstall " again.

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

#After uninstalling the update, run an SFC scan again and check if the issue has been resolved.

Fix 7: Perform a System Restore

If undoing Windows Updates has no effect, System Restore is the next best option. This will restore your system to a previous point in time when the system files were not corrupted. Here's how to do it:

Press Start, type restore, and then click Create a restore point.

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

In the "System Properties" window, click "System Restore".

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

This will open the System Restore window. You can select the recommended restore and click Next.

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

Or click to select a different restore point, and then click Next.

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

Click to show more restore points.

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

Then select your restore point and click Next.

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

Finally, click

Complete to start system restore.

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

Once completed, run the SFC scan command to check if the problem has been resolved.

Fix 8: Reset your PC

If all else fails, resetting your PC may be your only option. Resetting your PC doesn't take long and within a few minutes you'll be up and running with all the correct copies of your system files. Here's how to reset your PC:

Press

Win I and open Settings. Then scroll down on the right side and click Recovery.

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

Then click

Reset Computer.

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

Click

Keep My File.

如何修复 Windows 11 或 10 上的“Windows 资源保护发现损坏的文件,但无法修复其中的一些文件”

Then follow the on-screen instructions to reset your computer. Once completed, the problem should be gone as all system files have now been replaced.

FAQ

In this section, we answer several frequently asked questions about SFC scan errors and related queries.

What if SFC Scannow cannot repair a damaged file?

If the SFC scannow command cannot repair a corrupted file, there are several ways you can seek help. You may want to run DISM and CHKDSK scans, run an SFC scan in safe mode, manually replace corrupted files, or restore/reset your PC. To learn more about repair, see the tutorial above.

Why does Windows Resource Protection keep finding corrupt files?

If Windows Resource Protection keeps finding corrupt files during SFC scans and is unable to repair them, you may have malware or a virus wreaking havoc on your computer. Another possibility is corruption of critical system files or disk errors. Check out the above tutorial to learn how to repair corruption of system files and disk sectors.

How to fix SFC Scannow Windows Resource Protection cannot be executed?

The SFC Scannow Windows Resrouce Protection Unable to Execute error message is generated when WRP is unable to replace corrupted system files with any good copies. Since there may be other potential causes of this problem, it's best to use a variety of methods and techniques when solving this problem. See the tutorial above for fixes to apply.

The error message "Windows Resource Protection found corrupt files but was unable to repair some of them" does not always cause a system-wide failure, although it may. In addition to using the SFC utility to scan your system files, you can prepare and clear the way for fixing underlying issues. We hope you now know what to do when you receive this error message.

The above is the detailed content of How to fix 'Windows Resource Protection found corrupt files but was unable to repair some of them' on Windows 11 or 10. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:云东方. If there is any infringement, please contact admin@php.cn delete
如何在Windows PC上修复应用程序错误0xc0000906如何在Windows PC上修复应用程序错误0xc0000906Apr 18, 2023 pm 10:55 PM

一些用户在尝试在其系统上运行应用程序时遇到错误“应用程序错误0xc0000906”,他们将无法继续。系统上的单个应用程序或多个应用程序可能会遇到此错误。这可能是由于文件损坏、缓存问题、使用可能会阻止软件应用程序的第三方防病毒软件等。在本文中,我们有一些解决方案可以帮助用户消除错误。尝试执行命令来扫描系统文件,并禁用防病毒软件,如下所述。所以让我们开始吧!方法1:运行SFC和DISM扫描步骤1–以管理员身份打开命令提示符。为此,请在窗口搜索栏中键入cmd,然后同时按住ctrl+shift键并按回车

如何在 Windows 11 上修复 srttrail.txt如何在 Windows 11 上修复 srttrail.txtApr 18, 2023 am 10:43 AM

对于Windows用户来说,没有什么比不得不面对蓝屏错误更烦人的了,尤其是伴随着系统崩溃的错误。srttrail.txt错误就是其中之一。虽然从技术上讲不是BSOD,但自动修复环境中的错误仍然是导致Windows脱轨的更深层次问题的症状,需要干预。什么是srttrail.txt错误?消息中提到的srttrail.txt文本文件只是Windows在无法正常启动时维护的所有实例的日志,如果Windows在启动时卡住,它将继续出现。此错误消息主要发生在系统启动时,但也可能在Windo

如何纠正 Windows 11 中的 DISM 87 错误?如何纠正 Windows 11 中的 DISM 87 错误?May 09, 2023 am 09:31 AM

Windows11用户在处理由不同问题引起的许多错误代码时遇到问题。DISM错误87是一个命令行错误。DISM的意思是DeploymentImageServicingManagement,它的主要工作是帮助组织虚拟磁盘。它管理拆分的Windows映像格式(WIM)文件、全闪存实用程序文件、虚拟硬盘(VHD)和更多信息。您可以在命令提示符或WindowsPowerShell上访问该工具。我们使用该工具来修复Windows映像问题。本文将介绍在Windows11中修

无法删除在系统中打开的 ISO 文件:如何修复无法删除在系统中打开的 ISO 文件:如何修复Apr 16, 2023 pm 02:25 PM

什么是 ISO 文件?ISO 文件是一种包含光盘(例如 DVD 或 CD)的精确副本的文件。这种类型的光盘映像可以安装在您的计算机上,看起来就像您的计算机上连接了一个光驱,光驱中插入了包含数据的 CD 或 DVD。ISO 文件还可用于刻录创建它们的 DVD 或 CD 的新副本,或者只是将大量文件包含在一个易于下载的单个文件中。ISO 文件通常相当大;用完它们后,您很可能会想将它

如何双启动Windows 11和macOS [完整指南]如何双启动Windows 11和macOS [完整指南]Apr 14, 2023 pm 05:58 PM

Windows11带来了一些重大变化,其中许多被全球用户广泛接受。虽然您可以双启动Windows11和Windows10,但其他操作系统呢?Windows11可以与不同的操作系统一起使用,如果需要,您可以双启动Windows11和Linux。很多人经常问,我可以双启动Windows和macOS吗?答案是肯定的。在macOS方面,情况也不例外。您可以双启动macOS和Windows,以便在Mac上使用Windows软件或玩游戏。有些人可能会使用双启动在他们的PC上试用macOS。双启动Win

WHEA记录器:这意味着什么以及如何修复它WHEA记录器:这意味着什么以及如何修复它Apr 18, 2023 pm 04:46 PM

WindowsPC是先进的,并且具有许多组件,使其适用于各种目的。但是,用户在使用PC时容易遇到几个问题。WHEA记录器是Windows用户中常见的最近错误,通常伴随着许多事件ID。它与硬件问题有关,可以在PC上的任何活动期间生成。此外,您可能对我们有关WHEA内部错误的详细文章以及解决它的一些修复程序感兴趣。什么是WHEA记录器?Windows硬件错误体系结构(WHEA)是WindowsPC中的一个组件,每当发生硬件错误时,它都会引发Windows事件跟踪(ETW)

如何修复错误:运行 wmic 命令时未找到如何修复错误:运行 wmic 命令时未找到May 08, 2023 pm 12:34 PM

很多时候,当系统遇到错误并拒绝启动时,您可能需要恢复Windows密钥,以防重新安装并激活操作系统。但是,这样做时,许多用户在命令提示符中运行wmic命令时收到错误:描述=未找到。首先,要恢复产品密钥,您必须使用以下命令:wmicpathSoftwareLicensingServicegetOA3xOriginalProductKey将命令复制/粘贴到您的系统并检查您是否能够检索产品密钥。此外,大多数遇到此错误的用户都是从恢复环境访问命令提示符,因为Windows11陷入了修复循环

修复:谷歌浏览器请求太多错误 429 [已解决]修复:谷歌浏览器请求太多错误 429 [已解决]Apr 16, 2023 am 09:22 AM

近期很多Windows用户反映,当他们尝试访问某个URL时,PC上的GoogleChrome浏览器显示错误429。这是因为每次用户尝试在短时间内通过浏览器。通常,此错误是由网站生成的,以避免通过向服务器发送过多请求而被机器人或黑客入侵病毒。用户对在这个阶段可以做什么感到困惑,并因此感到失望。导致此错误的因素可能很多,我们在下面列出了其中一些因素。缓存内存和其他站点数据未清除从第三方来源安装的扩展系统上的一些有害软件病毒攻击在研究了上面列出的因素之后,我们在这篇文章中收集了一些修复程序,这

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

Repo: How To Revive Teammates
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.