▷ How to fix error code 004 de League of Legends

Contents

League of Legends usually presents users with an error code 004 in which the client declares that the game patch has failed. The error message further indicates that restarting the game could fix the problem.. Patching is an act of adding code snippets to the game to enhance the game, fix bugs and introduce new functions.

16-6-5386540Error code 004 de League of Legends

The error code 004 can happen to any player when updating their League of Legends (LoL) and the fixes are pretty straightforward. Most of the time, the problem is fixed simply by restarting the game client and trying to patch again. If simple reboot doesn't work, you can go ahead with the following solutions.

What causes the error code 004 en League of Legends?

The error code 004 in League of Legends it can happen for different reasons, as it is related to the update or patch of the game. Here are some of them:

  • The game does not have administrator privileges and the computer does not allow you to patch.

  • There is not enough space on your hard drive. The patch always requires a little extra space so you can download the code and then deploy it.

  • The game installation is damaged and needs to be repaired.

  • The game client is broken and needs to be replaced.

  • There may be an antivirus software that blocks various actions performed by the game when downloading the patch and installing it. Windows Defender was also reported / Firewall caused problems.

  • LoL configuration files are corrupted and need to be replaced. The configuration files are unique for each user and if any of the files are not working properly, you may run into the problem.

  • There is no good internet connection or there are DNS problems

Before starting with the solutions, make sure you have an administrator account on your computer and that you have a good internet connection that does not belong to any organization. If you are using an Internet connection behind a firewall or using an institute's local area network, you may experience this problem as some network actions are restricted in these cases. Once you are absolutely sure that you have an open internet connection, only then can you continue.

Solution 1: start the game as administrator

Before trying something technical, you should try to start the game as administrator. Do it even if you are logged in as an administrator. Windows has tightened the leash on what third-party apps with limited permissions can do. Therefore, in some cases, the patch fails just because you don't have admin privileges.

  1. Right click on the game launcher and select Properties.

  2. Once in Properties, click on the Compatibility tab and check the option Run this program as administrator.

1-4-17-5013578Run this program as administrator – League of Legends Launcher

  1. Press Apply to save changes and exit. Now try to start the game again and see if the problem is resolved. You can even try starting the game in compatibility mode and see if there is a difference..

Solution 2: check hard drive space

Another important reason why the patch could fail is because there is not much space on the hard drive where the application is installed. This is common because most of the users install the game on their local C disk and since it is already stuck, there may be a shortage of space.

3-53-8699400Windows Explorer (check free hard disk space)

Press Windows + E to start File Explorer and click This PC in the left navigation bar. Now check, from the information below each unit, if there is enough space. If there isn't, you can clean the junk and remove excess programs and then try to patch again after restarting your computer.

Solution 3: check your antivirus software

As mentioned in the causes, Antivirus software is known to cause problems when patching the game. Since patching involves downloading additional software and after altering the existing installation, combine code. If the antivirus considers it a threat or a false positive, you will not be able to perform any of these actions.

4-48-5242499Temporarily disable antivirus – AVG Free

You can refer to our article How to disable antivirus and temporarily turn off antivirus software. If disabling antivirus works, you can add an exception and re-trigger it. Note that, in addition to third-party antivirus programs, Windows Defender is also known / Firewall causes problems. Some notable antiviruses include AVG Free.

Solution 4: clear game configuration files

If all three solutions don't work, you can try to delete the game config files. These configuration files contain settings that the game consults before loading. It is a type of temporary storage of the settings that the game requires while it starts.

Configuration files are known to get corrupted or damaged from time to time. We will try to remove the configuration files and see if this solves the problem.

  1. Open Riot Games from the directory where it is installed and after opening League of Legends, open the Config folder.

5-44-9896454Configuration folder – Riot Games

  1. Now delete the entry $ 0027 game.cfg $ 0027. You can even cut it, stick it in a different place so that you can replace it if something goes wrong.

6-38-2048253game.cfg – League of Legends

  1. Now go back to the main League of Legends directory and navigate to RADS> Projects> league_client> releases. Delete the folder of the latest version present.

7-34-7985160Announcement folder – League of Legends

  1. Now close the window and start the game with the launcher. Preferably as administrator.

Solution 5: use Hextech repair tool

Hextech is the publisher of League of Legends and, like many other editors, also contains a repair tool that can be used to repair game or client discrepancies. The repair mechanism will search all modules already installed and compare their properties with the master manifest. If any are out of place, will be repaired.

  1. Download Hextech Repair Tool from Official Website. Once downloaded, right click and select Run as administrator.

8-32-2533398Hextech Repair Tool Download Website

  1. Now check the Force Repatch option and click Start. Wait for the process to finish.

9-28-1412644Force Repatch – Hextech Repair Tool

  1. When progress is complete, restart your computer and see if the problem is solved. You can also manipulate the Firewall settings and even temporarily disable it to see if it's the problem.

Solution 6: Google DNS Settings

If all the above methods don't seem to work, you can try to configure DNS (domain name server) from Google in your internet settings and then try to patch League of Legends. The patch may also fail if your computer cannot automatically find the correct DNS servers.. This configuration will ensure that this does not happen.

What's more, you can try cleaning your internet settings and updating your IP address. What's more, try changing your network connection and try again.

  1. Press Windows + R, type »control panel» in the dialog box and press Enter.

  2. Once in the control panel, click on the subtitle »Network and Internet«.

10-23-6383721Red and Internet: Control Panel

  1. Please select “Center network and sharing” in the next window where you are.

11-17-3358686Center network and sharing – Control Panel

  1. Here you will find the network you are connected to. Click on the network present in the form of »Connections» as shown in the following screenshot.

12-21-2349626Networks currently connected

  1. Now click on »Properties» present at the bottom of the small window that appears.

13-12-5332933Connection properties

  1. Double click on »Internet Protocol version 4 (TCP / IPv4)»So that we can change the DNS server.

14-8-6990070Internet Protocol IPv4 – Network properties

  1. Click »Use the following DNS server addresses:»To make the following dialogs editable. Now set the values ​​as follows:

Preferred DNS server: 8.8.8.8
Alternate DNS server: 8.8.4.4

15-8-5569209Google DNS server settings

  1. Press OK to save changes and exit. Now restart your computer and see if this solved your problem.

If all these solutions don't work, you can run Hextech Repair Tool as in the Solution 5 and reinstall the game. You can also try downloading a fresh copy and, after deleting the existing one from your computer, install it.

Subscribe to our Newsletter

We will not send you SPAM mail. We hate it as much as you.