Several times i try to repair w8pro using sfc /scannow in various manners in elevated cmd or from usb recovery console with different additional options, i always get stuck with unable to repair because no source files. It seems that /offbootdir=<path to my unpaked install.wim> does not work for sfc. Where do i place files that sfc could find them? I think about dll cache but i do not know how to it in w8

  • in fact it was too general, ok changed
    – Yurij73
    Aug 21 '13 at 13:03

In Windows 8 use the new DISM command to fix file corruptions

DISM /Online /Cleanup-Image /RestoreHealth

When Windows detects corrupted files it will download them. You can also use the command offline and point to a WIM to get the data:

Dism /image:C:\ /Cleanup-Image /RestoreHealth /source:wim:D:\install.wim:2
  • super! I feel this will help me. a question before applying what does ":2 " mean? do I need invoke dism from recovery or elevated prompt would be enough?
    – Yurij73
    Aug 22 '13 at 6:36
  • this is the Index. A WIM can contain more than 1 Windows edition. Aug 22 '13 at 18:11
  • @Yurij73 did it worked as expected or not? Sep 11 '13 at 4:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.