Vgk.sys Blue Screen Error: How to Fix It
In this article
A vgk.sys blue screen of death error is almost always caused by a corrupted, outdated or mismatched anti-cheat driver, not by failing hardware. The driver belongs to Riot Games' Vanguard anti-cheat system, which runs at the kernel level and loads at boot, so if the file is damaged or conflicts with another driver, Windows crashes with a stop code such as SYSTEM_SERVICE_EXCEPTION or PAGE_FAULT_IN_NONPAGED_AREA pointing at vgk.sys. The shortest working fix is to fully uninstall Vanguard and the game that installed it, reboot, then reinstall the game through its official launcher so a clean driver is laid down. Below is the full process, plus what to do if the crash keeps coming back.
What You'll Need
- The official Riot Games launcher or the official installer for the game that installed Vanguard (Valorant or League of Legends).
- Administrator rights on the PC, since installing and removing kernel drivers requires elevation.
- Windows up to date, ideally with the latest cumulative update installed.
- Roughly 15 to 30 minutes and one or two restarts.
- Optional but useful: a note of the exact stop code shown on the blue screen, so you can confirm the driver is the culprit.
Step-by-Step
- Confirm the file is really vgk.sys. On the blue screen, look at the line that names a failing driver. If it reads vgk.sys, you are in the right place. If it names something else, such as a graphics driver file, treat that as the suspect instead and update that driver first. Menu labels in Windows can differ slightly by version, device and region, so read the descriptions rather than hunting for an exact phrase.
- Boot into Windows normally if you can. If the PC loops on the blue screen, start it and interrupt the boot three times in a row by holding the power button once the Windows logo appears. That should bring up the recovery environment, where you can choose to continue to Windows or start in Safe Mode. Safe Mode is enough for the removal steps below because Vanguard does not load there.
- Close the game and its launcher completely. Right-click the launcher icon in the notification area and exit, and make sure no game process is running in Task Manager. The driver cannot be replaced while the game is holding it open.
- Uninstall Vanguard through Windows Settings. Open Settings > Apps > Installed apps (called Apps & features on older builds), find Riot Vanguard in the list, and choose Uninstall. If you do not see it there, open the Start menu, type "Add or remove programs" and look again. The Riot client sometimes offers its own uninstall entry too.
- Restart the PC. This releases the driver from memory and lets Windows delete the leftover service. Do not skip this; reinstalling over a loaded driver is one of the most common reasons the crash returns immediately.
- Check for leftovers. Open File Explorer and look in the Riot Games folder inside Program Files for a Vanguard subfolder. If the uninstaller left files behind, delete the folder. Only do this after the restart, and only for Vanguard, not for your game install if you want to keep it.
- Update Windows and your graphics driver. Go to Settings > Windows Update and install everything offered. Then get the latest graphics driver from your GPU maker's official site or its own update app. Kernel-level anti-cheat drivers are sensitive to mismatched or very old display drivers, and this step removes a common source of conflict.
- Reinstall the game through its official launcher. Download the Riot client from the official Riot Games site, sign in, and install the game. The launcher installs Vanguard as part of the process and prompts for the restart that activates it. Accept the restart when asked.
- Test. Launch the game and play for a few minutes. If Windows boots cleanly and the game starts, the corrupted driver has been replaced and the problem is resolved.
- If the crash persists, run the built-in checks. Open Command Prompt as administrator and run sfc /scannow, then run the DISM restore-health command if the scan reports unfixable files. These repair damaged Windows system files that can make any driver misbehave. Finish with a restart.
Common Mistakes
- Deleting vgk.sys by hand instead of uninstalling. Removing the file without removing the service leaves Windows trying to load a driver that no longer exists, which can cause a different boot failure. Always use the official uninstaller.
- Reinstalling without restarting first. The old driver stays loaded in memory, so the new install either fails or reproduces the crash.
- Assuming the anti-cheat is at fault when another driver is named. Read the stop code carefully. A file name that is not vgk.sys means you should troubleshoot that component instead.
- Downloading "driver packs" or third-party fixers. These often bundle outdated or modified drivers and can make kernel-level conflicts worse. Use only official sources.
- Disabling Windows security features to "get around" the crash. That does not fix a driver conflict and leaves the PC less protected.
Tips
- Keep Windows and your graphics driver current. Most vgk.sys crashes reported by users follow a Windows update or a GPU driver update that was not matched on the other side.
- Install games only through their official launchers. Modified or repackaged installers can ship mismatched anti-cheat components.
- If you dual-boot or use virtual machines, note that Vanguard requires a normal, non-virtualised Windows install; running the game inside a VM is not supported and can trigger driver errors.
- Write down the full stop code the next time a blue screen appears. It turns a vague problem into a specific one and saves a lot of guessing.
- Keep at least a little free space on the system drive. Windows needs room to write crash dumps and driver files during updates.
Troubleshooting
If the crash returns after a clean reinstall, work through these in order, simplest first.
- Check the game service status. If the launcher or anti-cheat service is having problems on the provider's side, wait and try again later rather than changing your PC.
- Sign out of the launcher and back in. A stale session can block a clean driver install.
- Roll back a recent update. If the crashes started right after a Windows or GPU driver update, use the rollback option in the driver installer or Windows Update history to return to the previous version, then test.
- Run the system file checks again and restart afterwards. Repeat until the scan reports no integrity violations.
- Use System Restore to return to a point before the crashes began. This does not delete your personal files, but it does remove apps and drivers installed after that point, so note what you will need to reinstall.
- As a last resort, reset Windows using the keep-my-files option. This removes installed programs and drivers, so back up anything important first. Reinstall the game afterwards through the official launcher.
If none of this helps and the stop code still names vgk.sys, contact Riot Games support with the stop code and your system details. They maintain the driver and can tell you whether a known issue affects your setup.
Frequently Asked Questions
What is vgk.sys?
It is the kernel-level driver for Riot Games' Vanguard anti-cheat, installed alongside games such as Valorant and League of Legends. It loads when Windows starts, which is why a fault in it produces a blue screen rather than a simple game crash.
Is vgk.sys a virus?
No. The legitimate file is part of Vanguard and lives in the Riot Games installation folder. If you find a file with that name somewhere unexpected, scan the PC with Windows Security, but the genuine driver is not malware.
Can I just delete vgk.sys?
No. Deleting the file without uninstalling the service can break boot. Uninstall Vanguard through Windows Settings instead, then reinstall the game so the driver is restored properly.
Will uninstalling Vanguard break my game?
The game will not launch without its anti-cheat, so uninstalling is a temporary troubleshooting step. Reinstalling the game through the official launcher puts Vanguard back and the game works again.
Does this error mean my RAM or hard drive is failing?
Usually not. A stop code that names vgk.sys points to the driver. Hardware faults tend to produce varied stop codes and crashes in unrelated apps. If you see many different codes, run Windows Memory Diagnostic and check the drive's health.
Why does the crash happen only when I start the game?
Starting the game loads and activates the anti-cheat driver. If the installed driver does not match the current game version or conflicts with another kernel driver, the fault appears at exactly that moment.