If you are on Windows 10 then turning off Game Mode might fix it. I had a similar problem with it before.