How To Fix League of Legends Error Code 004 Issue

League of Legends is a popular multiplayer online battle arena video game developed and published by Riot Games for Microsoft Windows and macOS. It is free to download but players can purchase in-game items to enhance their gaming experience. Although this is a solid game there are instances when certain issues can occur which we will be addressing today. In this latest installment of our troubleshooting series we will tackle the League of Legends error code 004 issue.

How To Fix League of Legends Error Code 004 Issue

Before performing any of the recommended troubleshooting steps listed below it’s best to restart your computer first. This action refreshes the operating system and remove any corrupt temporary data that could be causing the problem.

The error code 004 usually occurs when updating the game client. This can usually be fixed by a quick restart however if the issue persists then you will have to perform the troubleshooting steps listed below.

Try running the game as an administrator

Sometimes this problem can be fixed by giving elevated privileges to the software by running it as an administrator.

  • Right-click on the game launcher and select Properties.
  • In Properties, click the tab of Compatibility and check the option Run this program as an administrator.
  • Press Apply to save changes and exit. 

Check if the League of Legends error code 004 issue still occurs.

Check hard drive space

Since this problem occurs when trying to update the game then it’s likely that it is caused by insufficient hard drive space. Try checking if the installation drive has enough space. If there is none then you will need to free up space by deleting unnecessary data.

Turn off your antivirus software

There’s a chance that the problem is caused by the interference of the antivirus software installed in your computer. To check if this is what’s causing the problem you will have to temporarily turn of the antivirus.


  • Right-click on the avast! icon in the system tray. Select avast! shields control and there will be options to disable avast for 10 minutes, 1 hour, until the computer is restarted or permanently.


  • Double click on the system icon for Bit Defender.
  • When the Bit Defender window appears, move the mouse arrow to the left side and click >> Virus Shield.
  • Move mouse arrow to the black check by Virus Shield is enabled and click.
  • The black works will change to red, >> Virus Shield is disabled.
  • Move mouse arrow to the top right corner and click the down arrows.
  • Bit Defender is now inactive.
  • To enable Bit Defender, do the same steps except click to enable.

Microsoft Security Essentials

  • Right-click on the MSE icon in the system tray and choose Open.
  • Click the Settings tab, then click Real Time Protection.
  • Uncheck the box next to “Turn on real time protection”.
  • Click the “Save changes” button.
  • Exit MSE when done.


  • Double click on the system tray icon to open the main application window.
  • Or via Start >> All Programs >> ESET >> ESET Smart Security.
  • Click Setup >> Antivirus and antispyware >> Temporarily disable Antivirus and antispyware protection.
  • When prompted to confirm temporarily disable select Yes.
  • Note: Protection will be automatically started after a system reboot.


  • Navigate to the system tray on the bottom right hand corner and look for the McAfee icon.
  • Right-click it -> chose “Exit.”
  • A popup will warn that protection will now be disabled. Click on “Yes” to disable the Antivirus guard.

Check if the League of Legends error code 004 issue still occurs.

Delete the game config files

The game config files contains information on game settings and is usually loaded when the game starts. If this has corrupt data then this problem can occur. To fix this you should try deleting the config files.

  • Open Riot Games from the directory where it is installed
  • Open League of Legends then open the Config folder.
  • Delete the entry ‘game.cfg’.
  • Go back to the main directory of League of Legends and navigate to RADS > projects > league_client > releases. Delete the latest version folder present.
  • Close the window and launch the game as an administrator.

Check if the League of Legends error code 004 issue still occurs.

Use the Hextech Repair Tool

The Hextech Repair Tool is a software that fixes most common problems that can occur in League of Legends. 

Check if the League of Legends error code 004 issue still occurs.

Try using Google’s DNS

Sometimes this problem can be caused by an issue with the DNS of your computer which is why you will need to try using a different DNS setting, preferably the Google DNS.

  • Click on the Start button then click on Settings
  • Click on Network & Internet
  • Click on Network and Sharing Center.
  • Click the Change adapter settings option in the left pane.
  • Right-click the network interface connected to the internet, and select the Properties option.
  • Select and check the Internet Protocol Version 4 (TCP/IPv4) option.
  • Click the Properties button.
  • Click the Use the following DNS server addresses option.
  • Set the values as follows: Preferred DNS server:, Alternate DNS server:
  • Click the OK button.
  • Click the Close button.

Check if the League of Legends error code 004 issue still occurs.