Forum Discussion

GabrielStone's avatar
GabrielStone
Iron Contributor
Jun 03, 2025

Trying to repair my wife's Windows 11 installation

My wife was using her PC, went into a boot loop never reaching Windows screen. I threw linux on a USB, ran just fine so I figure its a software issue not a hardware one. I downloaded the Win 11 installation and recovery tool, can't run any recovery or repair from the GUI (goes to blank blue screen), so I tried the command prompt (PE edition).

SFC /scan now, gets to 100 percent then states:
"windows resource protection could not complete the requested operation"

So I tried:
"DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:X:\Sources\Install.wim:1 /LimitAccess"

Error 50 - was trying to use the online version form a Windows PE USB, so I tried a few (like 50 lol) different dims commands for offline versions like:

"DISM.exe /Image:c:\ /Cleanup-Image /RestoreHealth /LimitAccess /Source:C:\Windows\WinSxS"
"DISM.exe /Image:c:\ /Cleanup-Image /RestoreHealth /LimitAccess /Source:WIM:X:\Windows\WinSxS"
"dism.exe /image:C: /cleanup-image /revertpendingactions"

And many other ones - always getting error 2 - cannot access the image. So i looked manually and there is no .wim, .iso, or even esd file on the win 11 USB.

So now I'm trying 3rd party tools - Hiren's boot USB, that one at least running sfc/scan now stops at 37% and says
"Windows resource protection has found corrupt files but was unable to fix some of them."

Any ideas? Should I look to registry next? I am pretty lost.

3 Replies

    • Eldridge's avatar
      Eldridge
      Iron Contributor

      No recommended as it takes a lot of time and will delete the user data.

  • Mcclean's avatar
    Mcclean
    Iron Contributor

    To repair Windows properly, you usually need a proper recovery image. You can create a fresh Windows 11 bootable USB using the Media Creation Tool from Microsoft. This USB will contain the necessary files to repair or reinstall Windows.

Resources