scanning and repairing window 10

Page 2 - Seeking answers? Join the Tom's Hardware community: where nearly two million members share solutions and discuss the latest tech.
The bios would not mark the dirty bit in the file system.
when the system boots it checks this bit to see if it should attempt to run chkdsk and do a repair

I would be looking for a hard drive cache problem or a failure in the shutdown process.
for some reason when your system shuts down it is not completing before the power goes out.

you might enable verbose shutdown messages:
http://www.thewindowsclub.com/enable-verbose-status-message-windows
it will tell you what the system is trying to do before the shutdown.