Hi
Did you call Microsoft or did a window pop up saying that your computer needs to be repaired press this button?
I've had two friends in the last couple of weeks who got this message, and after going through the whole thing were told it would cost them a hundred bucks, when they said they wouldn't pay their computer became unfixed again.
I was able to fix both of their computers using Malwarebytes.
Anyway to fix your problem, backup everything on your computer that you don't want to lose, and reinstall Windows 7.
If you don't have a Windows 7 install disk you can download the ISO file here...
Link Removed
It will ask you to put in your Windows 7 product key on the download page.
You will need to use software like ImgBurn to write a bootable install disk from the ISO file.
The Official ImgBurn Website
I have to add that I've had very little problem getting anything to run in Windows 10, even my old games from the 90s like Tomb Raider seem to work.
You probably don't want to do this but you could try doing a clean install of Windows 10 the same way.
If you have already had it installed all you have to do is log in with your Microsoft account.
Either way you'll have to reinstall all your software.
Mike