So some time ago I had a power outage, in the last three years it has happned at least four times and since I don’t have a UPS I had to deal with it like a man and check my disk and discover that critical files were missing or damaged (such as riched32.dll).
Repair Windows 8 critical files with SFC
This is a simple thing to do, boot on a Windows 8 setup image, and launch a the following command:
sfc /SCANNOW /OFFWINDIR=X:\windows /OFFBOOTDIR=X:
Keep in mind that in my case the faulty volume was X: so it may be different for you.
If everything went well, then it’s good. It can fail sometimes for various reasons, but since it never failed on me I can’t help more.
Apparently it is also possible to restor damaged files with DISM, but since I couldn’t use DISM right and always have errors with it I will update this article when in the future.