Share via

Can't use DISM, neither SFC. Error Windows resource protection could not perform

Anonymous
2023-01-20T23:33:53+00:00

Good afternoon.

I have a Lenovo Ideapad 330s with windows 10 on a 500gb hard drive(+ optane ssd) from factory, and one day only gave black screen after windows loaded. It didn't load desktop, neither mouse pointer or command prompt. Booting to Windows Recovery Enviroment and can't enter desktop from Safe mode(black screen), "automatic repair" didn't worked(after 10 minutes, only message that can't find problem) and restore system couldn't load any of the 5 restore points that I have made before.

Tried with CHKDSK /f and /r, after almost 4 hours, can't detect any problem.
Tried DISM and "SFC /scannow /offbootdir=C:\ /offwindir=C:\windows" (after using BCDEDIT to know where the Windows boot loader is), appears error with "windows resource protection could not perform the requested operation".

I tried DISM and SFC /scannow from: Own windows Recovery Enviroment, USB created with MediaCreationTool22H2 and another computer running Windows 10, and still same problem. Hard Disk is in good condition and all the data is still inside.

Is there a way to force DISM or CHKDSK? Or what could I try next?

Thanks for any advice

Windows for home | Windows 10 | Performance and system failures

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

7 answers

Sort by: Most helpful
  1. Ramesh 176.2K Reputation points Volunteer Moderator
    2023-01-22T06:33:28+00:00

    The COMPONENTS registry hive is corrupt. Not sure if it's repairable.

    From WinRE, try running:

    (Assuming C:\ is the Windows drive-letter, as WinRE sees it. To verify the drive-letter, run BCDEDIT.)

    • md C:\Temp
    • dism /image:C:\ /cleanup-image /restorehealth /scratchdir:C:\temp /logpath:c:\dism.log
    • reg load HKLM\COMPONENTS c:\windows\system32\config\components

    Please post the screenshot/photograph of the output window.

    Once done, please copy "c:\dism.log" to your USB disk and upload it to your OneDrive.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Ramesh 176.2K Reputation points Volunteer Moderator
    2023-01-21T02:49:56+00:00

    The Startup Repair tool generates a log file to help you understand the startup problems and the repairs that were made. You can find the log file in the following location:

    C:\Windows\System32\LogFiles\Srt\Srttrail.txt

    Type "Notepad C:\Windows\System32\LogFiles\Srt\Srttrail.txt" to view the log.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2023-01-21T00:11:17+00:00

    Thanks for your advice.

    Can't do the in-place upgrade because it doesn't allow it (the upgrade option isn't available if you start your computer using windows installation media...). I can't do a clean installation, i need to at least to recover some information from programs that can't be accessed from another computer

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2023-01-22T06:18:24+00:00

    checked, almost all test result in "Result: Completed successfully. Error code = 0x0" except:

    Test Performed:

    Name: Check for installed LCU
    Result: Completed successfully. Error code = 0x3f1
    Time taken = 7125 ms

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2023-01-20T23:46:53+00:00

    Boot the usb you made and start the Windows installation and do the in-place upgrade. It will keep all your stuff but attempt to fix everything using the good Windows stuff on the usb. (You should technically backup your stuff as mentioned below here as well in the event it can't deal with the state of your current situation because its that bad).

    If that fails then at the very least you'd need to backup your stuff to an external drive then clean install Windows. Any other problems while or after doing that should be hardware related problems.

    Backing up your stuff is simply the number one thing. You can do whatever after that without thinking ;)

    Was this answer helpful?

    0 comments No comments