VAN 140: the game, Riot Client and Vanguard didn't start cleanly together
Riot VanguardLeague + VALORANTThe message
Connection Error: VALORANT has encountered a connection error. Please relaunch the client to reconnect. Error Code: VAN 140What it means
Something went wrong between the game, the Riot Client and Vanguard as they started up or connected. Riot's article is written around VALORANT, but Vanguard is shared with League.
What to try first
Update Windows, then set Disable fullscreen optimizations, Run this program as an administrator and the DPI override on both the game shortcut and RiotClientServices.exe.
Is it you or Riot? If lots of players are hitting this at once, it's probably the servers. Check League server status before you start reinstalling things.
A code Riot wrote for VALORANT players
Riot's VAN 140 article names VALORANT directly, in its explanation and in the example complaint it answers. League players still hit it, since the number comes from Vanguard and both games run the same anti-cheat. Riot's explanation puts the fault between programs, involving the game, the client and Vanguard together.
That framing is why its second step exists. Riot adds a compatibility change you won't find on any other VAN page: on both the game shortcut and RiotClientServices.exe, turn off fullscreen optimizations, tick run as administrator and let the application handle high DPI scaling. Riot's explanation is that Windows can apply launch behavior that gets in between the client, the game and Vanguard.
Where this clashes with a League fix
Keep a note of what you ticked. Riot's League article for getting stuck on the reconnect screen after champion select goes the other way: it has you open League of Legends.exe's Compatibility tab and clear every box, run as administrator included. The two articles name different files and answer different problems. Still, if VAN 140 goes away and that reconnect loop shows up afterwards, you know which settings you changed.
The list is short, too. Five steps, no clean boot and no connection checklist, so after the game reinstall Riot's next move is a ticket to Player Support with your logs.
Riot's fix, in Riot's order
Install every pending Windows update
Open Settings, then Windows Update, and keep installing and restarting until it says you're up to date. Vanguard's checks lean on security components that ship in those updates, and optional driver updates are worth a look while you're there.
Change the compatibility settings on the game and the Riot Client
Right-click the game's desktop shortcut, open Properties, then the Compatibility tab. Tick Disable fullscreen optimizations and Run this program as an administrator. Under Change high DPI settings, tick the override and set scaling to Application. Apply, then do the same to
RiotClientServices.exe.Set the vgc service to Automatic
Vanguard has two parts: a driver that loads at boot and a Windows service called
vgc. If the service isn't running when you press Play, the game closes.- Press Win+R, type
services.mscand press Enter. - Find vgc in the list and double-click it.
- Set Startup type to Automatic. If the status says Stopped, click Start.
- Apply, OK, then restart the PC.
The exception is Vanguard Pre-Check, Riot's opt-in mode where Vanguard only runs while a game is open. It needs Windows 11 25H2 or newer plus Secure Boot, TPM 2.0, IOMMU, VBS and HVCI, and if you're on it you shouldn't force the service to Automatic.
Riot's guide: Set the vgc service to Automatic
- Press Win+R, type
Uninstall Vanguard, restart, and let the game reinstall it
- Close the game and exit the Riot Client from the system tray.
- Right-click the red Vanguard icon in the tray, choose Advanced, then Uninstall Vanguard. If the icon isn't there, search Windows for Add or remove programs and uninstall Riot Vanguard from the list.
- Restart the PC. Vanguard is gone if its tray icon doesn't come back.
- Open the Riot Client and launch the game. It reinstalls Vanguard and will ask for one more restart before Play unlocks.
Riot's guide: Uninstall Vanguard, restart, and let the game reinstall it
Reinstall the game
Uninstall from Windows' Installed apps list with the Riot Client closed. For a clean reinstall of League, Riot also has you delete the
Riot Clientfolder underC:\Riot Games, theRiot Gamesfolders under%localappdata%and%programdata%, and theLeague of Legendsfolder in Documents. That last one holds your replays, so copy them out first if you want them.Riot's guide: Reinstall the game
Other wordings of the same error
Error VAN 140VAN140Error Code: VAN 140
Related errors
Source: Riot Games Player Support, Error VAN 140, updated July 16, 2026. Riot's steps are paraphrased here, not copied; checked September 25, 2026.