Лига легенд error code 004

What can you do if you encounter League of Legends error code 004? Come and read this post, and you will get 7 methods to fix LoL error code 004.

Are you bothered by League of Legends error code 004? This error might occur when you are updating your League of Legends (LoL). To help you fix this problem, MiniTool provides 7 methods in this post, together with detailed steps and screenshots.

League of Legends is a popular multiplayer online battle video game developed and published by Riot Game. It is sought after by most game lovers for its free downloading and excellent gaming experience.

However, some problems with League of Legends have been reported. Recently, some LoL players complain that they have received League of Legends error code 004 while updating it, and League of Legends update failed due to this error.

When you get League error code 004, the client will give an error message: Patching failed and we’re not sure why. Please restart the client to try patching again. Some users get rid of error code 004 and League of Legends update failed issue luckily by restarting the game as the message prompts. But others are still stopped by error code 004 League after a restart.

error code 004 League

Why does League error code 004 occur? Actually, this error is related to updating or patching the game and it might occur due to various reasons. Some common reasons are listed below:

  • The game doesn’t have administrative privileges.
  • There’s not enough space on your hard drive.
  • The game installation is corrupted.
  • The configuration files of the game are corrupted.
  • The game is blocked by your antivirus software.
  • There are some problems with your Internet connection.

It might be difficult for you to figure out the specific reason when you get error code 004. But fortunately, most of proven solutions are listed below and you can try them one by one until you fix it.

How to Fix League of Legends Error Code 004

Focusing on the League of Legends error code 004, we put together 7 effective methods in this post. Hope these methods could be helpful for you to fix the error.

  1. Run Your Game as Administrator
  2. Free Up Space on Your Hard Drive
  3. Temporarily Disable Your Antivirus Software
  4. Delete the Config Files
  5. Set Google’s DNS
  6. Use Hextech Repair Tool
  7. Reinstall League of Legends

Fix 1: Run Your Game as Administrator

At first, you should try launching your League of Legends as administrator. Even if you have logged your administrator account, your game might not be given administrative privilege. So, don’t hesitate to try this fix before you employ any technical troubleshooting.

Step 1: Exit your LoL and end all the related processes in Task Manager.

Step 2: Right-click the game icon or executable file and select Properties.

Step 3: Switch to Compatibility tab and check Run this program as an administrator option.

Step 4: Click Apply and OK to save the changes.

Now, relaunch the game and try updating it again to see if error code 004 League is resolved.

Fix 2: Free Up Space on Your Hard Drive

If your League of Legends update failed and gives error code 004, you might need to consider whether there are enough free spaces on your hard drive or not.

If the hard drive where your game is installed is running out of space, the updates or patches cannot be saved or installed properly and thus lead to League error code 004. Particularly, most users would like to install the game on their system drive, which makes the condition worse.

See also: To quickly figure out what is taking up space on your hard drive, you can check this guide: What’s Taking Up Space on Your Hard Drive & How to Free up Space.

To free up your drive, you can use Windows built-in Disk Cleanup utility.

Step 1: Right-click the drive you want to clean up and select Properties.

Step 2: Go to General tab and click Disk Cleanup button.

Step 3: In another window, check the files you want to delete and click OK.

Note: You can also click Clean up system files to delete certain system files as your needs.

perform Disk Cleanup

If you cannot spare enough space for your hard drive by performing Disk Cleanup, you can try uninstalling certain unnecessary programs installed on this drive. What if you don’t want to make any changes for the existing data on the drive? Don’t worry. You can choose to enlarge this drive.

To achieve this, you are recommended to use MiniTool Partition Wizard, a professional and reliable hard drive manager. It provides a feature of Extend Partition to help you enlarge a partition without data loss by taking free space from other partitions or unallocated space on the same disk.

Step 1: Click the button below to download and install MiniTool Partition Wizard on your computer.

Free Download

Step 2: Launch the application to get the main interface.

Step 3: Right-click the drive you want to enlarge and choose Extend from the context menu. Also, you can choose Extend Partition feature from the left pane after highlighting the drive.

choose Extend Partition feature

Step 4: Open the list of Take Free Space from and choose a partition or unallocated space. Drag the slider to decide how much space to be taken and then click OK button.

decide the space to be taken

Step 5: After turning back to the main interface, click Apply button to execute the pending operation.

Note: If you are extending your system partition, you will be required to restart your computer to complete the operation.

click Apply

Do you want to get more methods to free up disk space in your Windows 10? Come and read this post: 10 Ways to Free up Disk Space in Windows 10 [2020 Update].

How to free up space on hard drive without deleting files? It can be achieved with the Extend Partition feature of MiniTool Partition Wizard. Awesome!Click to Tweet

Fix 3: Temporarily Disable Your Antivirus Software

When your League of Legends starts patching, it will download additional software and manipulate the existing installation. During this process, it will merge certain code which might be regarded as a threat or a false positive by your antivirus. As a result, the patching might fail and the error code 004 might show up.

Therefore, you can try disabling your antivirus software temporarily to fix the issue. The built-in tool Windows Defender should also be disabled, and you can follow the steps below.

Step 1: Right-click Start button and choose Settings.

Step 2: Navigate to Update & Security > Windows Security > Virus & threat protection.

Step 3: In the new window, click Virus & threat protection settings.

Step 4: When you get the following page, toggle off the button under Real-time protection to disable Windows Defender temporarily.

disable Windows Defender

Fix 4: Delete the Config Files

Configuration file is a type of temporary storage of settings needed by your game while loading up. If these configuration files get corrupted, you might receive League error code 004 as well. In this case, you can try deleting these config files to fix the issue.

Step 1: Locate and open League of Legends game folder in File Explorer.

Step 2: Open Config folder and delete the file named game.cfg.

Step 3: Back to the directory of League of Legends folder and go to RADS > projects > league_client > releases.

Step 4: In releases folder, delete the folder with the latest version number of your game.

After that, launch your game as administrator to check if the error code 004 is resolved.

Fix 5: Set Google’s DNS

You might also receive LoL error code 004 when there are some problems with your Internet connection. Some players have removed this issue simply by using Google’s DNS. To do that, you need to change your DNS settings and here’s how to do it.

Step 1: Press Windows + I to access Settings.

Step 2: Go ahead to Network & Internet > Status > Change adapter options.

Step 3: Right-click the network connection you are using currently and choose Properties from the context menu.

Step 4: In Networking tab, choose Internet Protocol Version 4 (TCP/IPv4) and click Properties.

click Properties

Step 5: Check Use the following DNS server addresses and enter Google Public server address:

  • Preferred DNS server: 8.8.8.8
  • Alternate DNS server: 8.8.4.4

enter Google’s DNS

Step 6: Click OK to save the changes and exit the settings.

Now, you can restart your computer to see if League of Legends can patch properly now.

Hextech Repair Tool is a handy tool for League of Legend players who encounter various bugs or certain technical errors with the game, including re-installation or re-patches and firewall management.

You can download this tool from the official website to have a try.

To employ this tool, you need to run it as administrator. Then, choose Force Repatch option in Game section and click Start button.

use Hextech Repair Tool

Once the progress is complete, restart your computer and check if League of Legends error code 004 has been resolved.

If all the methods above fail to fix League error code 004, you might need to consider reinstalling your game. To do that, you should uninstall it completely at first.

Step 1: Open Control Panel.

Step 2: Go ahead to Programs > Programs and Features.

Step 3: Choose League of Legends application from the list and select Uninstall/Remove. Then, follow the onscreen instructions to uninstall it.

Step 4: Now, go to the directory where your League of Legends is installed and delete all the setup files you used to install the game.

Step 5: Restart your computer and download the latest version of the game from the official website.

After installing the new executable file of League of Legends, the error code 004 should be removed and your game should be able to patch again.

Here are 7 methods to remove League of Legends error code 004. All of them are worth trying and the second fix is an excellent one.Click to Tweet

Bottom Line

That’s all about the 7 solutions to League of Legends error code 004 issue. Hope you have gotten rid of this error with one of these solutions.

Don’t hesitate to contact us if you have any problems or suggestions about this post. You can leave a message below, or send an email to [email protected].

How do I reinstall League of Legends?

To reinstall League of Legends, you have to uninstall it at first. Just go to Control Panel > Programs > Programs and Features to uninstall it, and go to File Explorer to remove all the related data. Then, you can download League of Legends from the official website and reinstall it on your computer.

How do I uninstall League of Legends?

There are three methods to uninstall League of Legends or other programs.

  1. Uninstall via Settings app. Go to Settings > Apps > Apps & features, right-click your League of Legends and choose Uninstall.
  2. Uninstall via Control Panel. Go to Control Panel > Programs > Programs and Features, choose League of Legends and click Uninstall/Remove.
  3. Uninstall via third-party software.

How do you repair League of Legends?

There are some ways to repair League of Legends if it crashes often.

  • Update your device graphics drivers.
  • Keep your windows updated.
  • Install the .NET Framework.
  • Lower your in-game settings.
  • Employ League of Legends Hextech Repair Tool.
  • Reinstall your League of Legends.

Can I move League of Legends to another drive?

You can move League of Legends to another drive, of course. You can directly copy/cut and paste your game files to another drive. Or, you can download and install a professional third-party program to transfer your App and related data to another drive conveniently.

Предупреждение «Код ошибки 004», которое игроки League of Legends видят на экране обновления, приносит много проблем. Если вы столкнулись с такой ошибкой, эта статья будет для вас руководством.

«Код ошибки 004», обнаруженный при обновлении на экране запуска League of Legends, приносит с собой множество ошибок, из-за которых игроки теряют терпение. Если вы столкнулись с такой ошибкой, вы можете найти решение, выполнив следующие действия.

Почему я получаю код ошибки League of Legends 004?

Основная причина, по которой вы можете столкнуться с какой-либо ошибкой при обновлении, может быть связана с нехваткой свободного места на установленном LoL диске. Для этого проверьте, есть ли у вас свободное место, зайдя на установленный диск LoL. Минимальный размер дискового пространства, который мы рекомендуем, составляет 30 ГБ. Другая проблема может быть связана с вашим интернетом. Внезапные отключения сети могут вызвать различные ошибки или сервер может быть недоступен. Это происходит так. Мы можем достичь решения проблемы, исследуя для вас и реализуя предложения, которые пользователи пробовали и нашли решение.

Как исправить код ошибки League of Legends 004?

Чтобы полностью избавиться от этого кода ошибки или различных кодов ошибок, мы можем выполнить следующие предложения.

1-) Запуск от имени администратора

Запуск от имени администратора, который является одним из методов решения, который мы используем по умолчанию, может предотвратить различные ошибки. Для этого запустим игру League of Legends от имени администратора и проверим, произошел ли процесс обновления.

2-) Проверьте дисковое пространство

Проверьте, есть ли у вас свободное место, зайдя на установленный диск League of Legends, как мы объяснили выше. Если у вас осталось менее 30 ГБ дискового пространства, вы можете освободить место, удалив ненужные программы.

3-) Выключите антивирусную систему

Любая антивирусная программа может заблокировать скачанный патч без причины. Вы можете продолжить процесс, отключив любую антивирусную программу, которую вы для этого используете. Вот что нам нужно сделать, чтобы остановить программу Защитника Windows;

  • Откройте экран «Начать поиск», набрав «Защита от вирусов и угроз».
  • Нажмите «Управление настройками» ниже.
  • Отключаем постоянную защиту.

После этого процесса защита безопасности Защитника Windows будет отключена. Снова запустите игру League of Legends от имени администратора и попробуйте выполнить процесс обновления.

4-) Очистить кеш DNS

Если ни одно из приведенных выше предложений не помогло, мы можем решить проблему, очистив кеш DNS. Для этого;

  • Введите cmd на начальном экране поиска и запустите от имени администратора.
  • Введите команду ipconfig /flushdns в командной строке и нажмите клавишу ВВОД.
  • После этого процесса он покажет, что ваш кеш DNS был успешно очищен.
  • Затем введите команду сброса netsh winsock reset еще раз на экране командной строки и нажмите клавишу ВВОД.

После этого перезагрузите компьютер и запустите League of Legends от имени администратора.

5-) Используйте инструмент для ремонта Hextech Repair Tool

Мы можем избавиться от таких различных ошибок, используя инструмент восстановления Hextexh, разработанный Riot Games. Но мы не знаем, дает ли этот процесс окончательное решение. В конце концов, если они разработали такое приложение, почему оно не должно работать у нас?

  • Загрузите инструмент для ремонта Hextech. Нажмите, чтобы скачать.
  • Щелкните правой кнопкой мыши загруженное приложение Hextech и запустите его от имени администратора.
  • После этого дождитесь завершения процесса установки.
  • После того, как приложение Hextech будет установлено и открыто, выберите настройки, как на картинке ниже, и нажмите кнопку «Пуск».

После этого перезагрузите компьютер и попробуйте войти в игру League of Legends.

На чтение 7 мин. Просмотров 210 Опубликовано 28.04.2021

League of Legends часто выдает пользователям код ошибки 004, когда клиент заявляет, что установка исправления не удалась. В сообщении об ошибке также говорится, что перезапуск игры может решить проблему. Исправление – это добавление в игру фрагментов кода для улучшения игрового процесса, исправления ошибок и введения новых функций.

Код ошибки 004 может возникнуть у любого игрока при обновлении его League of Legends (LoL), и исправления довольно просты. В большинстве случаев проблема решается простым перезапуском игрового клиента и повторной попыткой исправления. Если простой перезапуск не работает, вы можете перейти к решениям, перечисленным ниже.

Содержание

  1. Что вызывает код ошибки 004 в League of Legends?
  2. Решение 1. Запуск игры от имени администратора
  3. Решение 2. Проверка места на жестком диске
  4. Решение 3: Проверка антивирусного программного обеспечения
  5. Решение 4. Удаление файлов конфигурации игры
  6. Решение 5. Использование Hextech Repair Tool
  7. Решение 6. Настройка DNS Google

Что вызывает код ошибки 004 в League of Legends?

Код ошибки 004 в League of Legends может возникать по ряду различных причин, поскольку он связан с обновлением/исправлением игры . Вот некоторые из них:

  • В игре отсутствуют права администратора , и компьютер не позволяет устанавливать исправления.
  • На вашем жестком диске недостаточно места . Для установки исправлений всегда требуется дополнительное пространство, чтобы можно было загрузить код и затем реализовать его.
  • Установка игры повреждена , и ее необходимо исправить.
  • игровой клиент неисправен и требует замены.
  • Может быть антивирусное программное обеспечение который блокирует несколько действий, выполняемых игрой при загрузке патча и его установке. Сообщается, что Защитник/Брандмауэр Windows также вызывает проблемы.
  • файлы конфигурации LoL повреждены и требуют замены. Файлы конфигурации уникальны для каждого пользователя, и если какой-либо из файлов не работает должным образом, вы можете столкнуться с проблемой.
  • Отсутствует хорошее интернет-соединение или есть проблемы с DNS

Перед тем, как приступить к поиску решений, убедитесь, что у вас есть учетная запись администратора на вашем компьютере и подключение к Интернету, не принадлежащее какой-либо организации. Если вы используете подключение к Интернету за каким-либо брандмауэром или используете локальную сеть учреждения, вы можете столкнуться с этой проблемой, поскольку в этих случаях некоторые сетевые действия ограничены. Только после того, как вы убедитесь, что у вас открытое интернет-соединение, продолжайте.

Решение 1. Запуск игры от имени администратора

Прежде чем мы попробуем что-нибудь техническое, вам следует попытаться запустить игру от имени администратора. Сделайте это, даже если вы вошли в систему как администратор. Windows ужесточила ограничения на то, что сторонние приложения могут делать с ограниченными разрешениями. Следовательно, в некоторых случаях исправление не удается просто потому, что у него нет прав администратора.

  1. Щелкните правой кнопкой мыши средство запуска игры и выберите Свойства .
  2. В свойствах щелкните вкладку Совместимость и отметьте параметр Запустить эту программу как администратор .

  1. Нажмите Применить , чтобы сохранить изменения и выйти. Теперь попробуйте снова запустить игру и посмотрите, решена ли проблема. Вы даже можете попробовать запустить игру в режиме совместимости и посмотреть, не изменится ли это.

Решение 2. Проверка места на жестком диске

Еще одна важная причина, по которой установка исправлений может завершиться неудачно, потому что на вашем жестком диске, где установлено приложение, мало места. Это обычное явление, потому что большинство пользователей устанавливают игру на свой локальный диск C, и поскольку он уже завис, может быть нехватка места.

Нажмите Windows + E , чтобы запустить проводник, и нажмите This-PC на левой панели навигации. Теперь проверьте информацию под каждым диском, достаточно ли места. Если это не так, вы можете очистить ненужные файлы и удалить лишние программы, а затем снова попробовать установить исправление после перезагрузки вашего компьютера.

Решение 3: Проверка антивирусного программного обеспечения

Как указано в причинах, антивирусное программное обеспечение, как известно, вызывает проблемы при установке исправлений в игру. Поскольку установка исправлений включает загрузку дополнительного программного обеспечения, и после изменения существующей установки выполняется слияние кода. Если ваш антивирус считает это угрозой или ложным срабатыванием , вы не сможете выполнить ни одно из этих действий.

Вы можете проверить нашу статью Как выключить антивирус и временно выключить антивирусное программное обеспечение. Если отключение антивируса работает, вы можете добавить исключение и снова включить его. Обратите внимание, что помимо стороннего антивирусного программного обеспечения, Защитник/брандмауэр Windows также может вызывать проблемы. Некоторые известные антивирусы включают AVG Free .

Решение 4. Удаление файлов конфигурации игры

Если все три решения не работают, вы можете попробовать удалить файлы конфигурации игры. Эти файлы конфигурации содержат настройки, с которыми игра проверяет перед загрузкой. Это тип временного хранилища настроек, которые требуются игре при загрузке.

Известно, что файлы конфигурации время от времени портятся или выходят из строя. Мы попытаемся удалить файлы конфигурации и посмотреть, решит ли это проблему.

  1. Откройте Riot Games из каталога, в котором он установлен, и после открытия League of Legends откройте папку Config .

  1. Теперь удалите запись ‘ game.cfg ‘. Вы даже можете вырезать и вставить его в другое место, чтобы заменить его, если что-то пойдет не так.

  1. Теперь вернитесь в главный каталог League of Legends и перейдите к RADS> projects> league_client> Release . Удалите папку с последней версией.

  1. Теперь закройте окно и запустить игру с помощью лаунчера. Желательно в качестве администратора.

Решение 5. Использование Hextech Repair Tool

Hextech является издателем League of Legends и, как и многие другие издатели, он также содержит инструмент восстановления, который можно использовать для исправления неточностей в игре или в клиенте. Механизм восстановления выполнит поиск по всем уже установленным модулям и сравнит их свойства с главным манифестом. Если что-то не на своем месте, они будут исправлены.

  1. Загрузите Hextech Repair Tool с официального сайта. После загрузки щелкните его правой кнопкой мыши и выберите Запуск от имени администратора .

  1. Теперь отметьте параметр Force Repatch и нажмите Start . Дождитесь завершения процесса.

  1. После завершения завершите, перезагрузите компьютер и проверьте, решена ли проблема. Вы также можете изменить настройки брандмауэра и даже временно отключить их, чтобы проверить, не в них ли проблема.

Решение 6. Настройка DNS Google

Если все вышеперечисленные методы не работают, вы можете попробовать установить Google DNS (сервер доменных имен) в настройках Интернета, а затем попытаться исправить League of Legends. Установка исправлений также может завершиться неудачно, если ваш компьютер не может автоматически найти подходящие DNS-серверы. Этот параметр гарантирует, что этого не произойдет.

Кроме того, вы можете попробовать сбросить настройки конфигурации Интернета и обновить свой IP-адрес. Также попробуйте изменить сетевое соединение и повторите попытку.

  1. Нажмите Windows + R, введите « панель управления » в диалоговом окне и нажмите Enter.
  2. В панели управления щелкните подзаголовок « Сеть и Интернет ».

  1. В следующем окне выберите «Центр управления сетями и общим доступом ». перешел к.

  1. Здесь вы найдете сеть, к которой вы подключены к. Щелкните сеть в виде « Connections », как показано на снимке экрана ниже.

  1. Теперь нажмите« Свойства »в нижней части всплывающего небольшого окна..

  1. Дважды щелкните « Интернет. Протокол версии 4 (TCP/IPv4) », чтобы мы могли изменить DNS-сервер.

  1. Щелкните « Использовать следующие адреса DNS-серверов: », чтобы диалоговые окна, расположенные ниже, стали доступными для редактирования. Теперь установите следующие значения:
 Предпочитаемый DNS-сервер: 8.8.8.8 Альтернативный DNS-сервер: 8.8.4.4 

  1. Нажмите OK , чтобы сохранить изменения и выйти. Теперь перезагрузите компьютер и посмотрите, решило ли это вашу проблему.

Если все эти решения не работают, вы можете запустить Hextech Repair Tool, как в решении 5, и переустановить игру. Вы также можете попытаться загрузить новую копию и после удаления существующей со своего компьютера установить ее.

League of Legends or LOL in simple terms is a very popular game that harbors a huge fanbase of gamers that are in love with the game. However, recently a lot of users have been unable to play the game because they are encountering the League of Legends Error Code 004 while trying to launch the game. Worry not because we have addressed this exact issue in this article and we will be fixing it with the solutions mentioned below.

League of Legends Error 004

League of Legends Error 004

What Causes the League of Legends Error Code 004?

After carefully going through the repair strategies being adopted for fixing this issue, we concluded that the following are some of the most common reasons behind its occurrence.

  • Missing Admin Permissions: It is possible that the game requires administrative or root permissions in order to access some system files. Therefore, if these permissions aren’t granted, you might be getting the League of Legends Error Code 004 on your screen.
  • Antivirus Software: It is also possible that your antivirus installed on the computer might be blocking some files from being accessed due to which the error code 004 is being shown on the screen. It is best that you temporarily disable the antivirus or add an exception for the game.
  • DNS Issues: If you are using the DNS servers that are provided by your ISP, you might get the error code 004 on League of Legends due to some misconfigurations. It is best to switch out to the default Google’s DNS address for optimal performance.
  • Corrupted/Missing Game Files: It is possible that some game files have gone corrupt or are missing due to storage failure. Therefore, we will be replacing these files and checking for corruption on our hard drive in order to fix the league of legends error code 004.
  • Outdated GPU Drivers: In some scenarios, the GPU driver being used by the computer might be outdated due to which it might not be able to run the game efficiently. Therefore, it is recommended that you update the driver to eradicate the error code 004 on League of Legends.

Now that you have gone through the reasons that might be triggering this issue, we will be moving on towards implementing the fixes.

Before you start:

  1. Press “Win + E” on your keyboard to open the File Explorer and see if you have enough space in any of your disk partitions.
    Checking for free space to fix league of legends error code 004
    Checking free space
  2. If you don’t have enough space, delete some unwanted data to free up some space in your hard disk in order to eliminate error code 004.

Solution 1: Run the game in administrator mode

  1. Press “Ctrl + Shift + Esc” keys simultaneously, on the keyboard to open the “Task Manager”.
  2. Under the “Processes” tab, select any process related to LOL, and click on the “End Task” button.
    Ending league of legends
    End league of legends game
  3. Right-click on the LOL client’s shortcut located on the desktop and select “Properties”.
  4. In the properties windows, navigate to the “Compatibility” tab and check the box parallel to “Run this program as an administrator”.
    Running LOL as an administrator
    Running as an administrator
  5. Now launch the LOL client and check if you encounter error code 004 league of legends again.

Solution 2: Disable antivirus software

  1. Click on the “^” button located at the bottom right of the taskbar and then right-click on the Avast icon.
  2. Hover over the “Avast Shield Control” and select the “Disable Permanently” option to disable your antivirus software.
    Disable antivirus permanently to get rid of league of legends error code 004
    Disable antivirus

Solution 3: Delete game’s config files

  1. Press “Win + E” on your keyboard to open the File Explorer and navigate to the “Config” folder in your game directory.
    C:Riot GamesLeague of LegendsConfig
  2. Now select the “game.cfg” file and hit the “Delete” key from the keyboard to permanently delete the file.
  3. Now navigate to the following path and delete the folder that is named similar to the latest version of the game.
    C:Riot GamesLeague of LegendsRADSprojectsleague_clientreleases
  4. Now close the file explorer and launch your game to check if you still encounter the same error.

Solution 4: Switch to Google’s DNS

  1. Press the “Win + R” keys on the keyboard to open the Run box and search for “Control Panel”.
    Open Control panel
    Open Control panel
  2. From the top-right corner of the screen, set the “View by:” option to “Category” and click on Network and Internet”.
    Network and Internet
    Choose Network and Internet
  3. Now navigate to “Network and Sharing Center” and click on “Change Adapter Settings” from the left pane.
    Change Adapter Settings
    Change Adapter Settings
  4. Right-click on the Internet you are connected to and select Properties”.
  5. Now check the box parallel to “Internet Protocol Version 4 (TCP/IPv4)” and click on “Properties”.
    Click on Internet Protocol Version 4 (TCP/IPv4) to get rid of league of legends error code 004
    Clicking Internet Protocol Version 4 (TCP/IPv4)
  6. Now check the box parallel to “Use the following DNS server addresses” and set the Preferred DNS” and Alternate DNS” as 8.8.8.8″ and  8.8.4.4″ respectively.
    Use the following DNS server addresses
    Use the following DNS server addresses
  7. When the DNS has been changed, procced to launch the LOL client and check whether the league of legends error code 004 has been rectified.

Solution 5: Repair the game files

  1. Launch the RIOT game launcher on your PC and navigate to its “Settings”.
  2. From the left pane, navigate to the “General” tab and click on the “Initiate Full Repair” option located on the right side of the screen.
    Initiate Full Repair
    Initiate Full Repair
  3. After the completion of the repair process, check if the error persists. If you still encounter the error message, kindly move to the next potential fix explained below.

Solution 6: Update graphics card driver

  1. Press “Windows + X” keys on the keyboard and select “Device Manager”.
    Open Device Manager to get rid of league of legends error code 004
    Open Device Manager
  2. Now locate and click on “Display Adapters” to expand the list of graphics drivers installed on your computer and double-click on your graphics driver to open its properties.
    Selecting Display Adapters
    Selecting Display Adapters
  3. Now navigate to the “Driver” tab and click on “Update Driver” to install the latest version of the graphics driver.
    Update Driver
    Update driver
  4. Now restart your computer and see whether the error code 004 league of legends has been rectified.

Solution 7: Clean corrupted game files

  1. Launch your favorite browser and download MalwareBytes.
  2. Double-click on the setup file you just downloaded and follow the onscreen instructions to install the tool.
  3. Now launch the tool and click on the “Scan” button to start scanning for corrupted system files and fix them automatically.
    Scan for corrupted files
    Scan for corrupted files
  4. When the scanning procedure is completed, hopefully, error code 004 league of legends would be resolved on your computer.

Solution 8: Use the Hextech Repair Tool

  1. Launch your favorite browser and download the Hextech Repair Tool.
  2. Now double-click on the downloaded executable file and follow the on-screen instructions to install it.
  3. Once installed, open the tool and check the box parallel to the “Force Repatch” option.
    Click on Force Repatch to fix league of legends error code 004
    Choose Force Repatch option
  4. Now click on the “Start” button to start the repair Process and patiently wait for this process to get complete.
  5. After the completion of the repair process, launch your game and see if the error has been terminated.

Solution 9: Reinstall the game

  1. Press “Win + R” keys from the keyboard to open the run box and search for “appwiz.cpl”.
    Typing "appwiz.cpl"
    Typing “appwiz.cpl”
  2. Now right-click on the “League of Legends” app and select “Uninstall”.
    Uninstall League of Legends
    Uninstall League of Legends
  3. Again, press “Win key + R” keys from the keyboard to open the run box and search for “%localappdata%”.
    Tying in "%localappdata%"
    Tying in “%localappdata%”
  4. From this folder, select the “RIOT” folder and press the “Delete” key on the keyboard to delete it from your PC.
  5. After performing all the steps explained above, download League of Legends again and install it on your computer.
  6. After the game has been successfully installed, most probably the error would be gone.

If you are still unable to fix this issue, you can contact us for any further assistance.


Back to top button

League of Legends often presents users with an Error Code 004 where the client states that patching the game failed. The error message further states that restarting the game might fix the issue. Patching is an act of adding pieces of code to the game to improve gameplay, fix bugs, and introduce new features.

League of Legends Error Code 004 while patching

League of Legends Error Code 004

The error code 004 can occur to any player when updating his League of Legends (LoL) and the fixes are quite straightforward. Most of the time the issue is fixed just be restarting the game client and trying to patch again. If simple restarting doesn’t work, you can move on with the solutions listed below.

What causes the Error Code 004 in League of Legends?

Error code 004 in League of Legends can occur due to a number of different reasons since it is related to updating/patching the game. Here are some of them:

  • The game is missing administrator privileges and the computer doesn’t allow it to patch.
  • There is not enough space in your hard drive. Patching always requires some extra space so it can download the code and then implement it.
  • The installation of the game is corrupt and needs to be repaired.
  • The game client is broken and needs to be replaced.
  • There may be antivirus software which blocks several actions performed by the game when downloading the patch and installing it. Windows Defender/Firewall was also reported to cause issues.
  • The configuration files of LoL are corrupt and needs replacement. Configuration files are unique for each user and if any of the files are not working properly, you might encounter the issue.
  • There isn’t a good internet connection or there are issues with the DNS

Before starting with the solutions, make sure that you have an administrator account on your computer and have a good internet connection which doesn’t belong to any organization. If you are using an internet connection behind any Firewall or using an institute LAN, you might experience this issue as some network actions are restricted in these cases. Once you are absolutely sure that you have an open internet connection, only then proceed.

Solution 1: Starting the game as an Administrator

Before we try anything technical, you should attempt at starting the game as an administrator. Do this even if you are logged as an administrator. Windows has tightened its leash on what third-party applications can do with limited permissions. Hence in some cases, the patching fails just because it doesn’t have administrator privileges.

  1. Right-click on the game launcher and select Properties.
  2. Once in Properties, click the tab of Compatibility and check the option Run this program as an administrator.

Run this program as an administrator in League of legends launcher

Run this program as an administrator – League of Legends Launcher
  1. Press Apply to save changes and exit. Now try launching the game again and see if the problem is solved. You can even try launching the game in the compatibility mode and see if it makes any difference.

Solution 2: Checking Space in Hard Drive

Another important reason why the patching might fail because there isn’t much space in your hard drive where the application is installed. This is common because most users install the game in their Local Disk C and since it is already bogged down, there may be a shortage of space.

Windows Explorer (Check Hard Drive free space)

Windows Explorer (Check Hard Drive free space)

Press Windows + E to launch the File Explorer and click on This-PC at the left navigation bar. Now check from the information under each drive whether there is ample space. If there isn’t, you can clean junk and remove excessive programs and then try patching again after restarting your computer.

Solution 3: Checking Antivirus Software

Like mentioned in the causes, Antivirus Software is known to cause issues when patching the game. Since patching involves downloading additional software and after manipulating the existing installation, it merges the code. If your Antivirus considers this as a threat or a false positive, you will not be able to perform any of these actions.

Temporarily disable antivirus in AVG Free

Temporarily disable Antivirus – AVG Free

You can check our article How to Turn Your Antivirus Off and turn your Antivirus software off temporarily. If disabling the Antivirus works, you can add an exception and enable it again. Do note that in addition to third-party Antivirus software, Windows Defender/Firewall are also known to cause issues. Some notable Antivirus included AVG Free.

Solution 4: Deleting the game config files

If all three solutions don’t work, you can try deleting the game configuration files. These configuration files contain settings which the game consults before loading up. It is a type of temporary storage of settings which the game requires while booting.

Configuration files are known to get corrupt or go bad from time to time. We will try deleting the config files and see if this solves the issue.

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

Config folder in League of Legends installation

Config folder – Riot games
  1. Now delete the entry ‘game.cfg’. You can even cut paste it to a different location so you can replace it if things go bad.

game.cfg in League of Legends

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

Releases folder in League of Legends

Releases folder – League of Legends
  1. Now close the window and launch the game using the launcher. Preferably as an administrator.

Solution 5: Using Hextech Repair Tool

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

  1. Download the Hextech Repair Tool from the official website. Once downloaded, right-click it and select Run as administrator.

Hextech Repair Tool official website

Hextech Repair Tool download website
  1. Now check the option Force Repatch and click Start. Wait for the process to finish.

Force repatch in Hextech repair tool

Force Repatch – Hextech repair tool
  1. After the progress is complete, restart your computer and check if the issue is solved. You can also manipulate Firewall settings and even disable them temporarily to see if they are the problem.

Solution 6: Setting Google’s DNS

If all the above methods don’t seem to work, you can try setting Google’s DNS (Domain Name Server) in your internet settings and then try to patch League of Legends. The patching can also fail if your computer cannot find suitable DNS servers automatically. This setting will ensure this doesn’t happen.

Also, you can try flushing your internet configuration settings and refreshing your IP address. Also, attempt at changing your network connection and try again.

  1. Press Windows + R, type “control panel” in the dialogue box and press Enter.
  2. Once in the control panel, click on the sub-heading “Network and Internet”.

Network and Internet - Control Panel

Network and Internet – Control Panel
  1. Select “Network and Sharing Center” from the next window you are navigated to.

Network and Sharing Center - Control Panel

Network and Sharing Center – Control Panel
  1. Here you will find the network to which you are connected to. Click on the network present in the form of “Connections” as shown in the screenshot below.

Current connected networks with computer

Currently connected networks
  1. Now click on “Properties” present at the near bottom of the small window which pops up.

Properties of Connection

Properties of Connection
  1. Double-click on “Internet Protocol Version 4 (TCP/IPv4)” so we can change the DNS server.

Internet Protocol IPv4 - Network properties

Internet Protocol IPv4 – Network properties
  1. Click on “Use the following DNS server addresses:” so the dialogue boxes below become editable. Now set the values as follows:
Preferred DNS server: 8.8.8.8

Alternate DNS server: 8.8.4.4

Setting Google's DNS Server against the connected network

Setting Google’s DNS Server
  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 Solution 5 and reinstall the game. You can also attempt at downloading a fresh copy and after removing the existing one from your computer, install it.

Photo of Kevin Arrows

Kevin Arrows

Kevin is a dynamic and self-motivated information technology professional, with a Thorough knowledge of all facets pertaining to network infrastructure design, implementation and administration. Superior record of delivering simultaneous large-scale mission critical projects on time and under budget.

The multiplayer online battle game League of Legends developed by Riot Games is hugely popular. Most of the time the gameplay is seamless, but from time to time you may see a message such as the error code 004.

In this article, we will go through what the error code 004 means, likely causes, and the most common fixes. As the error can be caused by a number of factors, we will go through each action individually.

By the end of the article, you will not only have a better idea of how to fix the error code 004. But also have a better understanding of the game as a whole.

What is The League of Legends Error Code 004?

league of legends error code 004

Image Credit: Unsplash

The League of Legends error code 004 can be displayed in a number of scenarios. The most likely cause of the error is when updating or patching the game. However, the error may also be displayed if the game doesn’t have the correct admin privileges.

Other likely causes of the error code 004 can be due to not enough hard drive space, a corrupt installation, and/or corrupt config. files. Other likely causes include Antivirus software blocking the game or a faulty Internet connection.

There can be numerous reasons why the League of Legends error code 004 can be displayed. Therefore, it’s wise to systematically go through various checks which we will detail below.

Running through each step below in order will give you a better understanding of how to fix the error and the game in general.

League of Legends error code 004: Run as Administrator

league of legends error code 004

Image Credit: Unsplash

One of the most common reasons for the League of Legends error code 004 is setting administrator privileges. Even if you are logged into your administrator account, the game itself may not have the correct privileges.

Follow the steps below to set the correct administrator privileges for the game.

  • If you are already playing, exit the game, then open ‘Task Manager’ (Start > in the search box type ‘Task Manager’) then end all processes associated with the game.
  • Locate the game icon on your desktop or the executable file, Right-click, and then from the drop-down menu select ‘Properties.’
  • Select the ‘Compatibility’ tab, then make sure ‘Run this program as an administrator ‘ is selected.
  • Click the ‘Apply’ button and then ‘OK’ to save all changes.
  • Restart the game, make any necessary updates, and see if the error has disappeared.

Free up Hard Drive Space for League of Legends

An error code may be encountered in League of Legends if you don’t have enough free space on your hard drive. If you don’t have enough hard drive space then updates and patches may fail to install.

There are third-party utilities available to check what data is chewing up your hard drive space. But most operating systems have disk cleanup utilities built-in. The steps below will run through how to use Windows ‘Disk cleanup’ to free up hard drive space.

  • Within Windows Explorer, Right-click the hard drive icon, and in the drop-down menu select ‘Properties.’
  • In the properties window, select the ‘General’ tab, then click the ‘Disk Cleanup’ button.
  • Within the ‘Disk Cleanup’ window, select the files you wish to delete, then click ‘OK.’

If the above steps don’t clear enough hard drive space, then you will have to uninstall any unwanted programs. There’s also the option of using 3rd party tools to create additional hard drive partitions. There’s also the option of installing an external hard drive to add extra hard drive space.

Disabling Anti-Virus Software for the League of Legends Error

league of legends error code 004

Image Credit: Unsplash

To fix League of Legends error 004, your Anti-virus software may be throwing out a false positive. This can happen when you are downloading or installing a new patch. You will need to either temporarily disable your third-party antivirus software or the likes of Windows Defender.

Each third-party antivirus software will have its own way of temporarily shutting down. Below we will go through the simple steps of disabling Windows defender. This software is built into the Windows operating system and will need disabling as a matter of course.

  • Click the ‘Start’ icon and select ‘Settings.’
  • In the next window, select the following, ‘ Updating & Security’ > ‘Windows Security’ > ‘Virus & threat protection.’
  • On the next screen, select ‘virus and threat protection settings.’
  • In the following window, under ‘real-time protection’ switch the button to ‘off.’
  • Once you have installed all updates and patches, follow the steps above, then turn ‘real-time protection’ back on.

Deleting Config Files to Remove Error Code 004

league of legends error code 004

Image Credit: Unsplash

It’s possible that a configuration file has become corrupted, causing the error code 004. If a config file is to blame, then it will need deleting. Follow the steps below to delete any corrupt config files.

  • Locate the League of Legends folder on your hard drive. The folder will most likely be on your main hard drive. If you don’t know the precise location, you can perform a search within File Explorer.
  • Locate the ‘Config folder,’ within the League of Legends folder, then delete the file ‘game.cfg.’
  • Next, locate the folder path ‘RADS > projects > league_client > releases.’
  • Within the ‘Releases’ folder, there will be a folder with the latest version number of the game. Delete this folder.
  • After the above steps, make sure you are logged in as an administrator, then restart the game.

League of Legends error code 004: Internet Connection

Error messages may occur within League of Legends due to problems with an Internet connection. Firstly, check that your router is fully functioning by checking all connected devices. Another workaround is to use Google’s DNS service as listed below.

  • On your computer keyboard, use ‘Windows + I’ to bring up the ‘Settings’ window.
  • Navigate to ‘Network & Internet > Status > Change adapter options.’
  • Locate your network connection, then choose ‘Properties.’
  • Within the ‘Networking’ tab, select ‘Internet Protocol Version 4 (TCP/IPv4),’ then ‘Properties.’
  • Under the section ‘Use the following DNS server addresses:’ use the Google public server IP addresses as below –
  • Preferred DNS server: 8.8.8.8
  • Alternate DNS server: 8.8.4.4
  • Click the ‘OK’ button to save all changes. Restart your computer, log in as an administrator, update the game, then check all is working.

Hextech Repair Tool for the League of Legends Error Code

If you fail to solve the error code 004 within League of Legends, the Hextech Repair Tool can be used. This tool can be used to identify many common errors within the game. The tool itself can be downloaded here.

  • Log into your system as an administrator, then open the Hextech Repair Tool.
  • As the error code 004 generally occurs when patching the game, within the Hextech Repair Tool, choose ‘Game > Force re-patch.’ then click the ‘Start’ button.
  • When the process is finished, shut down the tool, then restart the computer.

How to Reinstall League of Legends

league of legends error code 004

Image Credit: Unsplash

If all else fails you may have to reinstall the game League of Legends. The game will first need completely uninstalling before adding a fresh copy.

  • Within ‘Control Panel’, select ‘Programs > Programs and Features.’
  • Select the League of Legends app., then ‘Uninstall/Remove.’ Follow the on-screen prompts to fully remove the app.
  • Navigate to the main League of Legends folder via File Explorer on your hard drive. Then delete all install and setup files.
  • Restart the computer, then download the latest version of the software here.
  • It’s also possible to install the game by third-party software apps.

How to Fix Common League of Legends Errors

If you experience the League of Legends game crashing from time to time or displaying errors, follow the steps below.

  • Check and update any graphics card drivers.
  • If the game is running slowly, reduce your graphics card settings within the game.
  • Make sure the latest game updates are in place.
  • Install the latest version of the .net framework.
  • Use the Hextech Repair Tool to diagnose common League of Legends problems.

If the above fixes don’t work, try reinstalling the game. As above, you will firstly need to remove all the install files from the previous version.

Summary of the League of Legends Error Code 004

While the League of Legends error code 004 may stop your gameplay from time to time, it is fixable. Follow the steps above systematically, which will diagnose and solve the problem.

In many cases, the Hextech Repair Tool should be used as a matter of course to diagnose any League of Legends problems.

We hope that you have found this article useful in solving your League of Legends errors. If you have enjoyed this article, please comment below with your own findings and share them on social media.

Понравилась статья? Поделить с друзьями:

Читайте также:

  • Лига легенд a critical error has occurred and the process must be terminated как исправить
  • Либре офис презентация как изменить шрифт
  • Либре офис ошибка 508
  • Либре офис как изменить кавычки
  • Либра ошибка датчика

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии