Recently fixed this problem after much effort and failed attempts. System restore and safe mode were inaccessible reinstalling windows `over the top` of itself was not an option either as the windows partition was not being recognised which meant only a clean windows install as a last resort. However I eventually tried the following couple of fixes with the final one doing the trick for me.