Fix League of Legends Error Code 0xc0000005: Practical Steps to Stop Client Crashes

Fix League of Legends Error Code 0xc0000005: Practical Steps to Stop Client Crashes

If League of Legends error code 0xc0000005 blocks the Riot Client from opening, start with Riot’s specific recommendation: close the client, then launch it as an administrator. If that does not work, Riot recommends reinstalling League after removing its related local files. The code alone does not identify one guaranteed cause, so use the steps below in order and avoid risky system tweaks that are not tied to your symptoms.

Windows defines 0xC0000005 as STATUS_ACCESS_VIOLATION, but that label does not prove your RAM is faulty or identify which file caused the problem. Riot’s League error-code guide says the cause is unknown and describes it as more of a Windows issue. The guide also says it can block access to the client. A LoL 0xc0000005 error is different from a Vanguard error that starts with “VAN.”

1. Close League completely and restart Windows

Exit the Riot Client from its menu and check the notification area near the clock for a Riot icon. If the client remains open, press Ctrl + Shift + Esc to open Task Manager, select any clearly League- or Riot-related process that is still running, and choose End task. Save work in other apps first, then restart Windows and try again. This clears a stuck client session without changing game files.

2. Run the Riot Client as an administrator

  1. Open Start and search for Riot Client.
  2. Right-click the app and select Run as administrator. If Windows asks for permission, approve the prompt.
  3. Sign in and launch League from the client. Check whether the same error appears.

This is Riot’s first recommended fix for error code 0xc0000005. Use the Riot Client rather than applying compatibility-mode settings to several game executables. If the option is missing from the search result, open the folder containing the Riot Client shortcut, right-click that shortcut, and choose the administrator option there.

3. Back up local items before reinstalling

If administrator mode does not solve the League client crash, prepare for a clean reinstall. Your account and most game progress are tied to your Riot account, but local files may include settings, cache, screenshots, or replays. In particular, Riot says the League of Legends folder in Documents contains replays.

  • Open Documents and copy the League of Legends folder somewhere safe if you want to keep its replays.
  • Make a note of any custom key bindings or settings you want to restore.
  • If you have other Riot games installed, be careful with shared Riot Client or Riot Games folders. Removing shared files can mean repairing or reinstalling another Riot game too.

4. Uninstall League and remove its leftover files

  1. Close the Riot Client fully. Riot notes that it must be closed before uninstalling a Riot game.
  2. In Windows, open Settings > Apps > Installed apps, find League of Legends, and select Uninstall. Restart if Windows requests it.
  3. For a clean reinstall, use Riot’s League cleanup guide. It lists the Riot Client folder in C:\Riot Games, %LOCALAPPDATA%\Riot Games, %PROGRAMDATA%\Riot Games, and Documents\League of Legends as leftover locations. Remove only the listed Riot files after backing up anything you need; check the exact folder before deleting it.

Installation paths can differ if you chose another drive. Do not delete an entire drive or unrelated folders, and do not use registry cleaners for this error. If the cleanup instructions are unclear because you have multiple Riot games or a custom setup, stop before deleting shared files and ask Riot Support which folders are safe to remove.

5. Reinstall from Riot and test the client

Download the installer from the official League of Legends download page, install the game, restart Windows once installation finishes, and open the Riot Client normally. Test the client before changing graphics profiles, security settings, or other Windows options. If the client now opens, add back your backed-up local files selectively; avoid copying old cache folders into a clean installation.

If the error continues

Check whether only League is affected

If other games and apps work normally, keep troubleshooting with Riot rather than assuming Windows memory or hardware failure. If several unrelated programs also show access-violation crashes, install pending Windows updates and get graphics drivers from your GPU manufacturer. Riot’s driver guide explains how to identify your graphics card with dxdiag; NVIDIA, AMD, and Intel provide official driver pages.

Use Windows repair tools only for broader system symptoms

If Windows itself is unstable or multiple apps are failing, Microsoft documents DISM and System File Checker as tools for repairing Windows components. Open Terminal or Command Prompt as an administrator, run these commands in this order, and allow each to finish:

DISM.exe /Online /Cleanup-Image /RestoreHealth

sfc /scannow

Restart Windows afterward. These commands are general Windows maintenance, not a confirmed League-specific cure for error code 0xc0000005.

Try a clean boot only to test for background conflicts

If the crash began after installing or updating another program, a clean boot can help isolate a background-service conflict. Follow Microsoft’s Windows 10 or Windows 11 instructions carefully, hide Microsoft services before disabling anything, and record which startup items you change. When the test is finished, restore normal startup. A clean boot temporarily changes how Windows starts, so it should be a diagnostic test rather than a permanent setting.

When to contact Riot Support

If the administrator launch and clean reinstall do not clear the error, submit a ticket to Riot Player Support. Include the exact code, when it appears (opening the client, signing in, or launching the game), your Windows version, and the steps already tried. Riot’s Riot Repair Tool can gather logs for League; run it as administrator on Windows and attach the resulting ZIP to your ticket. Do not include passwords or authentication codes.

Quick answers

Does 0xc0000005 mean my RAM is broken?

No. Windows maps the status code to an access violation, but the code by itself does not diagnose defective memory. Start with Riot’s client-level steps. Consider hardware testing only if other apps crash too or you see broader system symptoms.

Is Vanguard definitely causing the error?

No. Riot’s error-code guidance does not identify Vanguard as the cause of 0xc0000005. Vanguard-specific codes begin with “VAN,” so use the matching Vanguard guide only when that is the code you see.

Should I turn off antivirus or the firewall?

Do not disable security tools as a routine fix for this code. Riot’s specific guidance points first to administrator mode and then a reinstall. If security software explicitly reports that it blocked a Riot file, follow the security vendor’s instructions or contact Riot Support before changing protections.

Official troubleshooting resources

Leave a Comment

Best Warzone Telemetry Overlay Settings for Ping and Packet Loss

Best Warzone Telemetry Overlay Settings for Ping and Packet Loss

Enable Server Latency and Packet Loss in Warzone to monitor connection quality, read the overlay, and use recurring spikes to guide troubleshooting.

Master Mid Lane Roaming: How to Carry in League of Legends

Master Mid Lane Roaming: How to Carry in League of Legends

Learn how to carry from mid lane in League of Legends by setting up waves, choosing safe roam windows, reading side lanes, and converting pressure into objectives.

How to Fix the Minecraft Evoker Spell Error in Modded Worlds

How to Fix the Minecraft Evoker Spell Error in Modded Worlds

Fix Minecraft Evoker spell problems with a safe vanilla test, version checks, log review, and a step-by-step way to isolate mod or datapack conflicts.

How to Fix PUBG Stuck on “Initializing” on Steam

How to Fix PUBG Stuck on “Initializing” on Steam

Fix PUBG stuck on Initializing on Steam with a focused checklist for PC service notices, launch options, game files, downloads, and connection issues.

How to Fix Brawl Stars Stuck at 92% Loading

How to Fix Brawl Stars Stuck at 92% Loading

Fix Brawl Stars stuck at 92% loading with an ordered checklist for service notices, network tests, safe updates, Android cache, and account-safe reinstalling.

Best Dead by Daylight Visual Filter Settings for Spotting Survivors in Dark Maps

Best Dead by Daylight Visual Filter Settings for Spotting Survivors in Dark Maps

Best Dead by Daylight visual filter settings start with a small Gamma lift, neutral color and contrast, and a quick check for dark corners, fog, and bright lights.

How to Enable Launch Options for Autoexec in Apex Legends

How to Enable Launch Options for Autoexec in Apex Legends

Find the Steam and EA app fields for Apex Legends launch options, use EA’s documented FPS command, and see why +exec autoexec.cfg remains unverified.

How to Reduce Input Lag on a Docked Nintendo Switch for Smash Ultimate

How to Reduce Input Lag on a Docked Nintendo Switch for Smash Ultimate

Reduce input lag on a Nintendo Switch dock for Smash Ultimate with TV Game Mode, a direct HDMI test, controller checks, and online-latency troubleshooting.

Best Audio Settings to Hear the Referee Whistle Clearly in EA SPORTS FC

Best Audio Settings to Hear the Referee Whistle Clearly in EA SPORTS FC

Find the best EA SPORTS FC audio settings for a clearer referee whistle: tune Stadium Ambience and Commentary, then troubleshoot output or timing issues.

Best Attack Move Click Keybinds in League of Legends: Which Fits You?

Best Attack Move Click Keybinds in League of Legends: Which Fits You?

Compare the best Attack Move Click keybinds in League of Legends—A, Shift + right-click, mouse side buttons, and left-click—with setup and kiting tips.