Vgk Driver -

Error Text: Vanguard - Driver version mismatch. Please restart your system.

Cause: The vgk.sys file version does not match the user-mode Vanguard client. This usually happens after a game patch. Vgk Driver

Vulnerable Code (pseudo):

case IOCTL_KILL_PROCESS:
    pid = *(HANDLE*)user_buffer;
    ZwTerminateProcess(pid, 0);

Patched Code:

case IOCTL_KILL_PROCESS:
    if (!IsCallerTrusted(PsGetCurrentProcessId())) 
        return STATUS_ACCESS_DENIED;
pid = *(HANDLE*)user_buffer;
    if (!IsPidAllowed(pid))   // Never kill critical system processes
        return STATUS_INVALID_PARAMETER;
ZwTerminateProcess(pid, 0);

If you no longer play Riot Games, you can uninstall the driver entirely. Error Text: Vanguard - Driver version mismatch

Alternatively, run this in Command Prompt as Admin: Patched Code: case IOCTL_KILL_PROCESS: if (

sc stop vgc
sc delete vgc
del C:\Windows\System32\drivers\vgk.sys

Warning: Do not delete the driver while Riot Games are installed—the game will fail to launch or force a reinstall.