Trên Windows, tiện ích System File Checker (SFC) tại C:\Windows\System32 giúp quét và khôi phục file hệ thống bị hỏng. Chạy lệnh sfc /scannow sẽ phát hiện file hỏng/thiếu và thay thế bằng file khỏe từ %WinDir%\System32\dllcache. Tuy nhiên, đôi khi gặp lỗi: "Windows Resource Protection could not start the repair service".
Ví dụ: "Mình chạy sfc /scannow vì PUBG không chạy, nhưng liên tục báo Windows Resource Protection could not start the repair service ngay cả trong Safe Mode."
Nguyên nhân: Dịch vụ Windows Modules Installer (TrustedInstaller) bị vô hiệu hóa. Dịch vụ này có toàn quyền truy cập file/registry Windows Resource Protection (WRP). Nếu nó tắt, cài đặt cập nhật hoặc công cụ sửa hệ thống sẽ thất bại.
Giải pháp: Bật dịch vụ Windows Modules Installer / TrustedInstaller
Cách 1: Qua Services Console (services.msc)
- Win + R > gõ services.msc > Enter.
- Tìm "Windows Modules Installer" > đúp chuột.
- Startup type: Automatic > OK.
- Khởi động lại máy.
- Sau khởi động, chạy lại sfc /scannow – lỗi sẽ biến mất.
Cách 2: Qua Command Prompt (Admin)
- Mở CMD (Admin).
- Gõ: sc config trustedinstaller start= auto > Enter (hiện SUCCESS).
- Gõ: net start trustedinstaller > Enter (hiện "The service was started").
- Chạy lại sfc /scannow.
Hai cách trên đều khắc phục được lỗi "Windows Resource Protection could not start the repair service". Hãy thử và cho biết kết quả.