Unity 5 doesn't launch

Hi all,

I have a problem with launching unity. I have successfully installed all versions of Unity 5 on my system and none of them launch the program. I only have luck with the beta version of Unity 5.5.0b11 where i get the flash screen. I have tried leaving it on for a while but with no luck. I tried to install unity 4 and it works great. I have tried all of the solutions mentioned here: https://forum.unity3d.com/threads/unity3d-5-3-not-working.372682/
I also tried completely wiping the system of unity files and installing it on a separate drive with no luck. I am stuck at this problem for 2 days now and nothing seems to help. I’m at the point of reinstalling windows to see if it would help.

My system details:
Windows 10 pro,
16gb of ram,
i7 4790,gtx970

I have fixed the problem by reinstalling windows 10. Works prefect now