Encountering the "We couldn't install a required dependency" error when launching League of Legends is frustrating, especially when you just want to jump into a match. This message usually points to a failure involving Riot Vanguard, the kernel-level anti-cheat system required to run the game. Because Vanguard operates deep within your operating system, minor permission conflicts, corrupted files, or blocked installer sequences will trigger this roadblock immediately.
Fixing this issue doesn't require a full operating system reinstall. Most players resolve the error by clearing out broken Vanguard files, adjusting system permissions, or clearing installer blocks through a few precise steps.
Why the Dependency Error Happens
The Riot Client throws this generic warning when it cannot finish setting up background components. Most of the time, the missing dependency is Vanguard itself or an associated Visual C++ runtime package.
When an installation gets interrupted, half-installed driver files remain stuck in your system memory or storage. When you try to launch the game again, the client detects the broken remnants, fails to overwrite them, and stops entirely. Antivirus software can also mistake Vanguard's low-level driver initialization for a threat, blocking the files silently without triggering a notification window.
Step 1: Perform a Clean Vanguard Reset
Because Vanguard is usually the root cause, forcing the Riot Client to drop and rebuild the anti-cheat software is the most reliable way to clear the error.
- Close the Riot Client completely from your system tray in the bottom right corner of your taskbar.
- Open your Windows Control Panel, navigate to Programs and Features, find Riot Vanguard, and click Uninstall.
- Restart your computer fully. Do not skip this restart; old Vanguard drivers remain active in system memory until a clean reboot occurs.
- Open the Riot Client again. The launcher will detect that Vanguard is missing and automatically begin downloading and installing a fresh copy.
- Restart your computer one final time when prompted before launching League of Legends.
Step 2: Clear Leftover System Files via Command Prompt
If the Control Panel uninstaller fails or the error persists, you can purge the stubborn kernel services manually using elevated administrator privileges.
- Click the Windows Start menu, type
cmd, right-click Command Prompt, and select Run as administrator. - Type
sc delete vgcand press Enter. - Type
sc delete vgkand press Enter. - Close the command prompt and restart your computer.
- Launch the Riot Client to let it regenerate clean service keys.
For deeper technical guidance on system configurations, you can review the Riot Games Support Portal.
Step 3: Run the Built-In Client Repair Tool
If your core game files or manifest data are corrupted alongside the anti-cheat setup, a file verification scan will catch and replace the damaged elements.
- Open the Riot Client and click your profile icon in the top right corner.
- Select Settings and navigate to the League of Legends tab.
- Locate the Repair button and click it.
- Allow the client to scan your installation directory. This process can take several minutes depending on your hard drive speed.
Step 4: Adjust Antivirus and Permission Settings
Third-party security suites often quarantine Vanguard drivers during unpacking. To prevent this interference, you need to whitelist the installation directories.
- Open your antivirus settings and find the exclusion or exception list.
- Add the entire
Riot Gamesfolder (typically located inC:\Program Files\Riot Games) to your exclusions. - Ensure that
RiotClientServices.exeandvgc.exeare allowed through your firewall. - Right-click the Riot Client shortcut on your desktop and choose Run as administrator to grant it the permissions needed to unpack files into protected system directories.
For more information on optimizing Windows performance for gaming, check out Microsoft's Gaming Support.
Frequently Asked Questions
Do I need to enable Secure Boot to fix this error?
Yes, modern versions of Vanguard require Secure Boot and TPM 2.0 to be active on Windows 11. If these features are disabled in your motherboard's BIOS, Vanguard may fail to initialize, resulting in installation loops.
Why does the error return after every major patch?
Patch days often update the Vanguard driver package. If background processes or third-party overlay software interfere with the update sequence, the file corruption repeats. Whitelisting the game directory usually stops this cycle.
Can I play League of Legends without Riot Vanguard?
No. Vanguard is mandatory for playing League of Legends and Teamfight Tactics on modern Windows environments. The game client cannot bypass or disable this requirement.
What should I do if none of these steps work?
If the error remains after a clean reinstall and manual service deletion, submit a ticket directly to Riot Games Support and attach your Riot Client logs so technicians can diagnose deeper system conflicts.