I'm having a major issue with my Windows 11 setup. Whenever I try to boot it up, I get this error message saying 'Your device ran into a problem and needs to restart.' The stop code is SYSTEM_THREAD_EXCEPTION_NOT_HANDLED (0x7E), and it points to vgk.sys as the culprit, which I believe is linked to Riot's anti-cheat software. Everything was working fine yesterday, including playing Riot games, but now my PC is stuck on a black screen or a blue screen with boot options that aren't helping. I've tried uninstalling old updates and other fixes, but nothing is working. I'm really stuck here—are there known solutions for this issue?
4 Answers
It sounds like you may need to gather some dump files for better diagnosis. If you can access Windows or at least Safe Mode, look for dump files in C:WindowsMinidump. Those files can help pinpoint what's going wrong. You can zip them and upload to a file sharing site. If you're having trouble finding dump files, check out guides on configuring Windows for small memory dumps.
If you're not able to reach Windows at all, booting in Safe Mode could be your best bet. You can typically do this by interrupting the boot process a few times until you see the recovery options, then navigate to Troubleshoot > Advanced options > Startup Settings and select Safe Mode. Since you're using a desktop PC, the steps are a bit different than on a laptop.
I totally understand your frustration! It seems like this issue can be pretty annoying. Have you looked for any BIOS settings that might impact the boot? Sometimes resetting BIOS to defaults can help, but remember to backup any important data first.
Getting into the diagnosis screen could help. If you're there, try running scannow in Command Prompt to fix any system anomalies. Make sure to check if it actually resolves the issue on the next boot.

Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures