PC launcher error code
VAN 128 Error: Fix Riot Vanguard Startup Trust Checks
Try this first: Press the Windows key, type cmd and select Run as administrator. Enter bcdedit /set TESTSIGNING off, press Enter, then enter bcdedit /set nointegritychecks OFF and press Enter. If Windows says the value is protected by Secure Boot policy, skip that command: Secure Boot already enforces it. Restart your PC and launch your game.

What VAN 128 means
Riot Games Support says: “VAN 128 usually means Riot Vanguard couldn’t complete one of its startup or system trust checks.” (official page)
VAN 128 is a Riot Vanguard error that closes the client, at launch or mid-game. Riot says Vanguard couldn’t complete one of its startup or system trust checks. Start with the Windows settings Riot ties to it: restore Windows security to its normal state, turn off debug memory dumps, then install every Windows update. Riot’s VAN 128 article lists seven fixes and starts with the two it says are most closely tied to this code: Windows security settings and Windows debugging settings. Both can stop Vanguard verifying your PC. The debug memory dump step isn’t on any of our other Vanguard error pages. It’s in System Properties: Advanced, then Start-up and Recovery, where Write debugging information should be set to (None). Riot says certain Windows debugging settings can interfere with Vanguard’s startup checks. The security step is the same two bcdedit commands Riot uses for VAN 193. After those, the fixes are standard Vanguard troubleshooting: Windows updates, the vgc service, a clean reinstall of Vanguard, a clean boot and a game reinstall. If you use Vanguard Pre-Check, which runs Vanguard on demand, skip the vgc step. Riot doesn’t say VAN 128 is a ban, and its article doesn’t mention penalties.
Match what you see
Where VAN 128 appears tells you where to start. Find the row closest to your situation, then jump to that step.
| What you see | Most likely cause | Start at |
|---|---|---|
| VAN 128 when you start the game | A Vanguard startup or trust check failed | Restore Windows security to its normal state |
| You’ve changed Windows debugging or crash-dump settings | Debugging settings interfere with Vanguard’s checks | Set Write debugging information to (None) |
| Windows has pending updates | Security or service changes Vanguard needs are missing | Install all Windows updates and restart |
| Kicked out of a match with VAN 128 | Vanguard failed a check while running | Work through Riot’s steps in order, testing after each one |
Likely causes
- Riot Vanguard couldn’t complete one of its startup or system trust checks (Riot’s stated meaning of VAN 128).
- Windows security settings, such as Test Signing Mode or Driver Signature Enforcement, changed from the default, which Riot says can stop Vanguard verifying your PC.
- Windows debugging settings, such as debug memory dumps, which Riot says can interfere with Vanguard’s startup checks.
- Missing Windows updates, which can include security and system service changes Vanguard relies on.
- The vgc service not running, background apps interfering, or corrupted Vanguard or game files, which Riot’s later steps reset.
How to fix VAN 128, easiest first
- Restore Windows security to its normal state
Press the Windows key, type cmd and select Run as administrator. Enter bcdedit /set TESTSIGNING off, press Enter, then enter bcdedit /set nointegritychecks OFF and press Enter. If Windows says the value is protected by Secure Boot policy, skip that command: Secure Boot already enforces it. Restart your PC and launch your game. - Turn off debug memory dumps
Press the Windows key, type sysdm.cpl and press Enter. Go to Advanced, then Start-up and Recovery, then Settings. Set Write debugging information to (None), select OK and restart your PC. - Update Windows
Install all available Windows updates, then restart your PC. Riot says these can include security and system service changes Vanguard relies on. - Set the Vanguard service to Automatic
Press Windows + R, type services.msc and press Enter. Find vgc, double-click it, set Startup type to Automatic and, if Service status shows Stopped, select Start. Restart your PC. Skip this if you use Vanguard Pre-Check, which starts Vanguard on demand. - Remove and reinstall Vanguard
Close your game and Riot Client and make sure Riot Client no longer shows in the Windows system tray. Uninstall Riot Vanguard from Windows, restart your PC, then launch your game to reinstall Vanguard automatically. - Perform a clean boot
Press Windows + R, type msconfig and open the Services tab. Tick Hide all Microsoft services, select Disable all, then tick vgc again, because Vanguard games won’t launch without it. Disable your startup apps in Task Manager, restart and test. If that fixes it, turn things back on one at a time to find the conflict. - Reinstall your game
Uninstall and reinstall the game to replace corrupted or missing files that may stop it or Vanguard launching correctly.
| Step | What to do | Source |
|---|---|---|
| 1 | Restore Windows security to its normal state | Official |
| 2 | Turn off debug memory dumps | Official |
| 3 | Update Windows | Official |
| 4 | Set the Vanguard service to Automatic | Official |
| 5 | Remove and reinstall Vanguard | Official |
| 6 | Perform a clean boot | Official |
| 7 | Reinstall your game | Official |
When to contact support
If VAN 128 still appears after all seven steps, submit a ticket to Riot Player Support and attach your logs, which the Riot Repair Tool gathers for VALORANT, League of Legends and other Riot games. Say which steps you’ve tried, especially the bcdedit commands and the debug memory dump setting. If your error says VAN 1067 or VAN 9003 instead, follow those pages, because Riot gives them different fixes.
VAN 128 FAQ
What is the VAN 128 error?
Riot says VAN 128 usually means Riot Vanguard couldn’t complete one of its startup or system trust checks. The client then closes with an unexpected Vanguard error.
How do I fix VAN 128 in League of Legends?
Riot’s steps apply to any Vanguard game: restore Windows security, turn off debug memory dumps, update Windows, set vgc to Automatic, reinstall Vanguard, clean boot, then reinstall the game.
Why do I get VAN 128 mid-game?
Riot’s article lists being kicked out of a game with VAN 128 as one of the ways it appears. The fixes are the same: work through the steps in order and test after each one.
Sources
- Riot Games Support
- Riot Games Support
- Riot Games Support
- Riot Games Support
- Riot Games Support
- Riot Games Support
Related codes and how they differ
- VAN 193: Vanguard couldn’t start or reach Riot Client; adds a boot status file fix.
- VAN 1067: Vanguard hit an unexpected issue starting or checking in with Windows; its fixes start with Windows updates.
- VAN 9003: Secure Boot specifically is off or not supported.
- VAN 68: A lost connection or session rather than a failed trust check.
PC launcher troubleshooting guide · All PC launcher codes · Error code directory