First sfc /scannow:
Windows Resource Protection found corrupt files and successfully repaired them.
Second sfc /scannow:
Windows Resource Protection did not find any integrity violations.
Consider the following steps to protect computer files from corruption:
a) Make free or pay backup images and save the images to another disk drive or the cloud
(Acronis, Aoemi, EaseUS, Macrium, Paragon, etc.)
b) If power outages are unpredictable or frequent:
Uninterruptable Power Supply (UPS):
How does an Uninterruptible Power Supply (UPS) work? | CyberPower Power Blog (cyberpowersystems.com)