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 lớn the game khổng lồ improve gameplay, fix bugs, and introduce new features.
Bạn đang xem: League of legends won't update: how to fix
League of Legends Error Code 004The error code 004 can occur to lớn 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 lớn patch again. If simple restarting doesn’t work, you can move sầu 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 lớn a number of different reasons since it is related khổng lồ updating/patching the game. Here are some of them:
The game is missing administrator privileges và the computer doesn’t allow it khổng lồ patch.There is not enough space in your hard drive sầu. Patching always requires some extra space so it can download the code and then implement it.The installation of the game is corrupt và needs khổng lồ be repaired.The game client is broken & needs to be replaced.There may be antivi khuẩn software which blocks several actions performed by the game when downloading the patch & installing it. Windows Defender/Firewall was also reported to cause issues.The configuration files of LoL are corrupt và needs replacement. Configuration files are chất lượng for each user and if any of the files are not working properly, you might encounter the issue.There isn’t a good mạng internet connection or there are issues with the DNSBefore starting with the solutions, make sure that you have sầu an administrator tài khoản on your computer & have a good internet connection which doesn’t belong khổng lồ any organization. If you are using an mạng 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 sầu 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-buổi tiệc ngọt applications can do with limited permissions. Hence in some cases, the patching fails just because it doesn’t have administrator privileges.
Right-clichồng on the game launcher và select Properties.Once in Properties, click the tab of Compatibility & check the option Run this program as an administrator.
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.

Press Windows + E to launch the File Explorer & cliông xã on This-PC at the left navigation bar. Now check from the information under each drive sầu whether there is ample space. If there isn’t, you can clean junk and remove excessive sầu programs & then try patching again after restarting your computer.
Solution 3: Checking Antivirut Software
Like mentioned in the causes, Antivirut Software is known khổng lồ cause issues when patching the game. Since patching involves downloading additional software and after manipulating the existing installation, it merges the code. If your Antivirut considers this as a threat or a false positive, you will not be able lớn perkhung any of these actions.

You can kiểm tra our article How to Turn Your Antivirut Off và turn your Antivirus software off temporarily. If disabling the Antivirut works, you can add an exception và enable it again. Do note that in addition to lớn third-các buổi party Antivi khuẩn software, Windows Defender/Firewall are also known khổng lồ 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.
Xem thêm: Bà Bầu Ăn Bắp Có Tốt Không, Câu Trả Lời Khiến Bạn Tỉnh Ngộ
Configuration files are known to get corrupt or go bad from time khổng lồ time. We will try deleting the config files and see if this solves the issue.
Open Riot Games from the directory where it is installed & after opening League of Legends, open the Config thư mục.



Solution 5: Using Hextech Repair Tool
Hextech is the publisher of League of Legends and lượt thích 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.


Solution 6: Setting Google’s DNS
If all the above sầu methods don’t seem to work, you can try setting Google’s DNS (Domain Name Server) in your internet settings và 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 mạng internet configuration settings & refreshing your IPhường address. Also, attempt at changing your network connection and try again.
Press Windows + R, type “control panel” in the dialogue box & press Enter.Once in the control panel, cliông chồng on the sub-heading “Network và Internet”.Network và Internet – Control PanelSelect “Network & Sharing Center” from the next window you are navigated to lớn.Network và Sharing Center – Control PanelHere you will find the network to lớn which you are connected to. Clichồng on the network present in the form of “Connections” as shown in the screenshot below.Currently connected networksNow click on “Properties” present at the near bottom of the small window which pops up.Properties of ConnectionDouble-clichồng on “Internet Protocol Version 4 (TCP/IPv4)” so we can change the DNS VPS.Internet Protocol IPv4 – Network propertiesCliông xã on “Use the following DNS server addresses:” so the dialogue boxes below become editable. Now mix the values as follows:Preferred DNS server: 8.8.8.8Alternate DNS server: 8.8.4.4Setting Google’s DNS ServerPress OK to lớn save sầu changes và exit. Now restart your computer & see if this solved your problem.If all these solutions don’t work, you can run Hextech Repair Tool as in Solution 5 và reinstall the game. You can also attempt at downloading a fresh copy và after removing the existing one from your computer, install it.