Easy solution to the common problem.
When Windows 10 boots in to a recovery mode and you get a message that Windows cannot be repaired.
The solution> Boot to save mode and use the following command in the console :
Dism /Online /Cleanup-Image /RestoreHealth
After the process is finished (takes a few minutes) you just need to restart your computer. That’s all.