My computer restart in loop with the following error:
C0000218 Registry file failure, Windows cannot load the hive file
So, I boot from a BartPE CD and ran a chkdsk /R into my c: drive. It found about 5936KB of bad sectors and corrected them.
I reboot my system and now I'm able to reach the log in screen. I type my creds .. and it told me this:
"A problem is preventing Windows from accurately checking the license for this computer. error code: 0x80090019"
My windows is totally legit.