Recently about 2 weeks ago my PC shut down and refused to come back on due to a system32 config error. I fixed this by reinstalling the operating system through a flash drive. I got a good connection running and all that good stuff, but I have noticed that all my games, regardless of their resource usage, always lag to the point it's unplayable almost. This only occurs with games, not with my browser, videos, or anything else. This didn't happen before I reinstalled my operating system, the games would run fine.
I can confirm the issue isn't with my network, since everything on my browser works fine with the internet I have, and so does every other device connected to my network.
I think it may be due to the operating system because I reinstalled it, but im not sure what it is about the operating system.
My operating system is windows 10, and I got the things on the flash drive to reinstall it from Microsoft themselves.
If anyone has questions about anything feel free to ask, this is a very annoying issue for me considering I primarily use this PC for gaming. :/