If anyone sees this and has a similar issue to this, this is what it worker for me to solve the random shutdowns when opening games. So after 3 days of troubleshooting and reading a lot of stuff, I ended up finding way many more things that could cause what's happening to me, but I did something and it worked. This is what I did in case someone finds this and has the same issue:
- Disabled AMD Super Resolution on games and display.
- Uninstalled 2 Windows Updates.
2024-10 Cumulative Update for.NET Framework 3.5 and 4.8.1 for Windows 11, version 23H2 for x64 (KB5044033)
2024-10 Cumulative Update Preview for Windows 11 Version 23H2 for x64-based System (KB5044033) is available.
Note: To be honest, I can't 100% say both the Windows Updates and AMD SR were the problem, but I did both of them at the same time, and now that I'm not having that annoying issue, I don't want to move them. It could be possible that the issue was caused by the Windows updates as they are new or only AMD SR, but if you have the same issue, you can try one of them first.
2nd Note: After doing these 2 things, games no longer caused any shutdown to my PC. I will say some games are currently crashing after 10 minutes, but I recently read that many people are having issues with AMD's newest driver and software version (24.10.1), so I think now that is something that AMD has to fix, and I will be doing a rollback in the AMD version to fix this.
Final Note: After doing these two things I notice I wasn't getting any event logged in the Event Viewer as Isass.exe which would appear every time after a restart or opening one game that would cause it to shutdown so I think doing these two solutions would also fix the lsass.exe issue.