is your bios set up as AHCI?
This is a file mismatch or corrupt error and can be caused by different issues;
a. In the case above the file was getting lost in a faulty ram stick.
b. Having the wrong keyboard type i.e windows thinks you have US keyboard but yours has Greek, Japanese etc characters.
c. You download an update like 8.1 but the licence doesn’t match what windows thinks you should have;
https://windowsforum.com/threads/windows-cannot-install-required-files-windows-8-windows-7.180506/
try making free version of
memtest86 on a USB and check ram sticks, 1 at a time. It boots off USB so don't need windows. Any errors means ram is problem and needs to be replaced,