Lỗi windows resource protection could not perform the requested operation

Scan SFC (System file checking – Kiểm tra tệp hệ thống) là một tiện ích khá hữu ích được tích hợp vào mọi phiên bản của hệ điều hành Windows. Scan SFC phân tích tất cả các tệp hệ thống để phát hiện những hỏng hóc và khắc phục mọi sự cố xảy ra với tệp hệ thống được tìm thấy bằng cách thay thế tệp hệ thống bị hỏng bằng các phiên bản được lưu trong bộ nhớ cache hoàn toàn mới.

Việc quét SFC (sfc /scannow) thành công có thể khắc phục vô số vấn đề khác nhau với máy tính Windows, nhưng scan SFC cũng có thể bị lỗi hoàn toàn. Khi scan SFC không thành công, nó sẽ hiển thị thông báo lỗi giải thích những gì đã xảy ra và lý do quét không thành công. Nhiều người dùng Windows thấy thông báo lỗi sau khi họ chạy scan SFC: “Windows Resource Protection could not perform the requested operation”

Lỗi windows resource protection could not perform the requested operation

Trong hướng dẫn này, bạn sẽ tìm thấy hướng dẫn về cách vượt qua lỗi “Windows Resource Protection could not perform the requested operation” khi chạy lệnh “SFC / SCANNOW” trong Windows Recovery Environment (WinRE).

* Lưu ý: Nếu bạn gặp lỗi khi chạy lệnh từ Windows GUI, hãy vào Safe Mode và thử lại. Nếu sự cố vẫn tiếp diễn, hãy giữ phím SHIFT và nhấp vào Restart để vào chế độ WinRE. Sau đó chạy lệnh SFC từ đó, bằng cách làm theo hướng dẫn bên dưới.

Cách 1. Chỉ rõ thư mục Cài hệ điều hành Windows trong lệnh SFC.

Thông thường lỗi “Windows Resource Protection could not perform the requested operation” là do thư mục Boot Windows không được chỉ định rõ trong lệnh SFC. Vì vậy, để vượt qua lỗi, hãy áp dụng các bước sau:

1. Tại CMD, Nhập lệnh “bcdedit” rồi nhấn Enter

2. Chú ý ký tự tên ổ đĩa của phân vùng hệ điều hành

(ví dụ như hình dưới là: “osdevice->partition = D:”)

3. Bây giờ hãy nhập vào lệnh SFC sau. Thay X bằng ký tự ổ đĩa mà bạn lấy được ở bước 2 phía trên.

  • SFC /SCANNOW /OFFBOOTDIR=X:\ /OFFWINDIR=X:\Windows

Ví dụ: Trong ví dụ này, phân vùng hệ điều hành có ký tự “D”, vì vậy lệnh sẽ là:

  • SFC /SCANNOW /OFFBOOTDIR=D:\ /OFFWINDIR=D:\Windows
    Lỗi windows resource protection could not perform the requested operation

4. Sau đó lệnh sfc sẽ được hoàn thành quá trình mà không cón báo lỗi “Windows Resource Protection could not perform the requested operation” nữa.

Cách 2. Cài đặt sạch Windows 10 & Kiểm tra phần cứng.

Nếu phương pháp trên không thể giải quyết được lỗi, có thể do các file hệ thống Windows bị hỏng. Trong trường hợp này, bạn nên sao lưu lại các tài liệu của mình và thực hiện cài đặt lại Windows 10.

* Lưu ý: Nếu bạn gặp phải lỗi tương tự sau khi cài đặt lại Windows 10, thì có thể vấn đề nằm ở phần cứng của bạn. Trong trường hợp này, hãy kiểm tra bộ nhớ RAM xem có vấn đề gì không. Nếu không, hãy cài đặt Windows trên một ổ đĩa mới.

I have a Windows Server 2019 which I'm using as a Hyper-V server for personal use. It is not a domain controller and does not provide any other services.

Recently, I've been experiencing updates failing to install. They often get to 20%, then sit there for hours, then fail. Usually retrying the update and/or rebooting the server sometimes several times will result in the updates installing. I did some searching into possible causes of this and found recommendations to use chkdsk, dism and sfc to ensure the system is healthy to start with.

I ran chkdsk and it reported no problems.

I have run dism numerous times and it has not reported any problems, at least not on the command line.

I disabled Windows Security and it made no difference.

Here are some examples, running as administrator:

Windows PowerShell  
Copyright (C) Microsoft Corporation. All rights reserved.  
PS C:\Users\Administrator> chkdsk  
The type of the file system is NTFS.  
WARNING!  /F parameter not specified.  
Running CHKDSK in read-only mode.  
Stage 1: Examining basic file system structure ...  
  832768 file records processed.  
File verification completed.  
  34613 large file records processed.  
  0 bad file records processed.  
Stage 2: Examining file name linkage ...  
  165 reparse records processed.  
  1012240 index entries processed.  
Index verification completed.  
  0 unindexed files scanned.  
  0 unindexed files recovered to lost and found.  
  165 reparse records processed.  
Stage 3: Examining security descriptors ...  
Security descriptor verification completed.  
  89737 data files processed.  
CHKDSK is verifying Usn Journal...  
  37125816 USN bytes processed.  
Usn Journal verification completed.  
Windows has scanned the file system and found no problems.  
No further action is required.  
1952916479 KB total disk space.  
 931253692 KB in 238471 files.  
    187368 KB in 89738 indexes.  
         0 KB in bad sectors.  
    998059 KB in use by the system.  
     65536 KB occupied by the log file.  
1020477360 KB available on disk.  
      4096 bytes in each allocation unit.  
 488229119 total allocation units on disk.  
 255119340 allocation units available on disk.  
PS C:\Users\Administrator> dism.exe /online /Cleanup-Image /StartComponentCleanup  
Deployment Image Servicing and Management tool  
Version: 10.0.17763.3406  
Image Version: 10.0.17763.3770  
[==========================100.0%==========================]  
The operation completed successfully.  
PS C:\Users\Administrator> sfc /scannow  
Beginning system scan.  This process will take some time.  
Beginning verification phase of system scan.  
Verification 76% complete.  
Windows Resource Protection could not perform the requested operation.  
PS C:\Users\Administrator> Dism /Online /Cleanup-Image /RestoreHealth  
Deployment Image Servicing and Management tool  
Version: 10.0.17763.3406  
Image Version: 10.0.17763.3770  
[==========================100.0%==========================] The restore operation completed successfully.  
The operation completed successfully.  
PS C:\Users\Administrator> sfc /scannow  
Beginning system scan.  This process will take some time.  
Beginning verification phase of system scan.  
Verification 76% complete.  
Windows Resource Protection could not perform the requested operation.  
PS C:\Users\Administrator> Dism /Online /Cleanup-Image /RestoreHealth  
Deployment Image Servicing and Management tool  
Version: 10.0.17763.3406  
Image Version: 10.0.17763.3770  
[==========================100.0%==========================] The restore operation completed successfully.  
The operation completed successfully.  
PS C:\Users\Administrator> DISM /Online /Cleanup-Image /CheckHealth  
Deployment Image Servicing and Management tool  
Version: 10.0.17763.3406  
Image Version: 10.0.17763.3770  
No component store corruption detected.  
The operation completed successfully.  
PS C:\Users\Administrator> DISM /Online /Cleanup-Image /ScanHealth  
Deployment Image Servicing and Management tool  
Version: 10.0.17763.3406  
Image Version: 10.0.17763.3770  
[==========================100.0%==========================] No component store corruption detected.  
The operation completed successfully.  
PS C:\Users\Administrator> DISM /Online /Cleanup-Image /RestoreHealth  
Deployment Image Servicing and Management tool  
Version: 10.0.17763.3406  
Image Version: 10.0.17763.3770  
[==========================100.0%==========================] The restore operation completed successfully.  
The operation completed successfully.  
PS C:\Users\Administrator> sfc /scannow  
Beginning system scan.  This process will take some time.  
Beginning verification phase of system scan.  
Verification 76% complete.  
Windows Resource Protection could not perform the requested operation.  

I've searched on various forums and none of the suggestions such as chkdsk, dism or sfc have worked. Does anyone have a suggestion?