Sửa lỗi "Windows Resource Protection found corrupt files but was unable to fix some of them"
Lỗi này xuất hiện khi chạy sfc /scannow để sửa file hệ thống: "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"

Phương pháp 1: Kiểm tra và sửa lỗi ổ cứng (CHKDSK)
- Mở CMD với quyền Admin.
- Chạy:
chkdsk /R→ Enter.
* Lưu ý: Sẽ yêu cầu reboot nếu kiểm tra ổ hệ thống (C:). Mặc định check ổ C:. Để check ổ khác (ví dụ E:), gõ E: → Enter → chạy lại lệnh.
Phương pháp 2: Sửa lỗi bằng DISM (System Update Readiness Tool)
Windows 7, Vista, Server 2008:
- Tải công cụ System Update Readiness tool phù hợp phiên bản Windows.
- Cài đặt file .msu đã tải.
- Restart máy.
- CMD Admin → chạy
sfc /scannow.
Windows 10, 8, 8.1, Server 2012:
- Chuột phải nút Start → Command Prompt (Admin).
- Chạy:
Dism.exe /Online /Cleanup-Image /Restorehealth

- Đợi DISM sửa component store (thông báo "component store corruption was repaired").

- Tiếp tục chạy:
sfc /scannow.
Phương pháp 3: Chạy SFC trong Safe Mode
- Win + R →
msconfig→ Enter. - Tab Boot → tích Safe Boot → OK → Restart.
* Sau khi xong: Mở msconfig lại, bỏ tích "Safe Boot" để vào Windows bình thường.

- CMD Admin → chạy
sfc /scannow.
Phương pháp 4: Chạy SFC OFFLINE từ Windows Recovery Environment (WinRE)
Xem hướng dẫn chi tiết tại bài: How to Run SFC OFFLINE.
Phương pháp 5: Xem chi tiết log SFC (CBS.LOG)
- CMD Admin.
- Chạy lệnh:
findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log >"%userprofile%\Desktop\sfcdetails.txt" - Mở file
sfcdetails.txt trên Desktop bằng Notepad để xem file nào bị hỏng và thay thế bản tốt.
Phương pháp 6: Repair Windows 10 bằng In-place Upgrade
Thực hiện nâng cấp sửa chữa Windows 10 (giữ lại file và app). Xem chi tiết: How to repair Windows 10.