How to Fix League of Legends Error 004 in Windows 10
Several reasons contribute to League of Legends error code 004 on your Windows 10 PC. Here are a few of them.
How to Fix League of Legends Error 004 in Windows 10 Method 1: Basic Troubleshooting Methods Method 2: Delete LoL_air_client Folder (If Applicable) Method 3: Run League of Legends Manually Method 4: Tweak File Hosts Method 5: Clear DNS Cache & Data Method 6: Update Windows Method 7: Update GPU Drivers Method 8: Roll Back GPU Drivers Method 9: Reinstall GPU Drivers Method 10: Run Disk Cleanup Method 11: Change DNS Server Address Method 12: Disable Antivirus Temporarily (If Applicable) Method 13: Disable Windows Defender Firewall (Not Recommended) Method 14: Use Virtual Private Network Method 15: Delete DirectX via Registry Method 16: Reinstall League of Legends Game
The launched game does not have administrative rights, hence your PC does not allow it to patch. There is not enough space on your PC. Patching (the act of including additional codes to enhance gaming) needs some space. The installation files and configuration files of the game are corrupt and have to be replaced. The game client is corrupt or broken on your PC. The overprotective antivirus program or firewall is blocking the game. Outdated Windows 10 operating system and drivers. There is no stable internet connection to launch and play the game. Misconfigured game installation files.
Here is a list of troubleshooting methods that will help you fix error code 004 in League of Legends. Follow them in the same order to attain the best results.
Method 1: Basic Troubleshooting Methods
Following are some of basic troubleshooting methods that you should try before going through the advanced steps to fix the said error code. 1A: Restart PC The general trick to resolve all the temporary glitches associated with League of Legends error code 004 is to restart your computer. You can restart your PC by following the steps.
Navigate to the Windows Power User menu by pressing the Windows and X keys simultaneously.
Select Shut down or sign out.
Finally, click on Restart. 1B. Restart Router This is a simple troubleshooting way that will help you fix League of Legends error 004 within simple steps. You can restart your router by following our guide to Restart Router or Modem. Once your router has restarted, check if you can fix League of Legends error code 004.
1C. Verify Server Status Very often, you may face League of Legends error code 004 due to problems from the server side. To check whether the server is offline or it has some technical problems, follow the below-mentioned steps.
Visit the official Riot-server status update page.
Then, scroll down and select League of Legends.
Then, select your Region and Language to continue.
On the next page, you can see any notifications for server end errors. If there are any, you have to wait until they are resolved.
Also Read: How To Fix League Of Legends Client Not Opening Issues 1D. Run League of Legends as Administrator To avoid League of Legends error code 004 on your Windows 10 computer, run League of Legends as an administrator as instructed below.
Right-click on the League of Legends shortcut on the Desktop.
Now, select the Properties option.
Then, navigate to the Compatibility tab and check the option Run this program as an administrator.
1E. Close All Background Processes If there are too many background processes on your Windows 10 PC, you cannot access your network connection that easily, since all those tasks will take a share of the network. Also, RAM consumption will be more and the performance of the game will slow down apparently. Follow our guide How to End Task in Windows 10 to close all other background processes on your Windows 10 PC.
After closing all the background processes, check if error code 004 in League of Legends is fixed or not.
Method 2: Delete LoL_air_client Folder (If Applicable)
Another simple way to fix League of Legends error code 004 is to delete a specific folder in File Explorer. This removes the corrupt components in your Windows 10 associated with the game. Here are a few steps to delete the folder.
Press the Windows + E keys together to open File Explorer.
Now, navigate to the following location path. Note: You may also find the lol_air_client folder in some other location too. Pay a bit extra attention to finding the folder.
Now, right-click on the lol_air_client folder and click on the Delete option.
Once you have deleted the folder, restart the PC and check if you have fixed the 004 error League of Legends. Also Read: Fix Apex Legends Anti Cheat Error in Windows 10
Method 3: Run League of Legends Manually
If your computer takes some additional time to patch up League of Legends, you will face League of Legends error code 004. Yet, you can manually patch the game by following the below-mentioned steps.
Hit the Windows + E keys together to open File Explorer.
Now, navigate to the following location path.
In the Deploy folder, right-click on the LoLPatcher.exe executable file and click on Run as administrator.
Once you have launched your game manually, check if you face League of Legends error code 004 again.
Method 4: Tweak File Hosts
If the host file has edited entries of League of Legends, you will face League of Legends error 004. Hence, you have to remove the entries to resolve the same. Here are a few instructions to tweak hosts entries.
Press Windows + E keys together to open File Explorer.
Now, switch to the View tab and check the Hidden items box in the Show/hide section.
Now, copy and paste the following path into the navigation path of File Explorer.
Now, select and right-click on the hosts file and select the Open with option as shown.
Now, select the Notepad option from the list and click on OK as depicted.
Now, the hosts file will be opened in Notepad as follows.
Add this line 67.69.196.42 l3cdn.riotgames.com to the bottom of the file.
Now, save the file by clicking on Ctrl+ S keys together.
Exit Notepad and check if you have fixed League 004 error. Also Read: How to Change League Of Legends Summoner Name
Method 5: Clear DNS Cache & Data
Few users have suggested that clearing the DNS cache and data on your PC has helped them fix League of Legends error 004. Follow as instructed.
Hit the Windows key and type cmd. Then, click on Open.
Now, type the following commands one by one and hit Enter key after each command.
Wait for the commands to be executed and restart the PC.
Method 6: Update Windows
All the bugs and erroneous patches in your computer can be fixed by Windows updates. Microsoft releases frequent updates to fix all these problems. Hence, make sure whether you are using the updated version of the Windows Operating System and if any updates are pending in action, use our guide How to Download and Install Windows 10 Latest Update
After updating your Windows Operating System, check if you have fixed League of Legends error 004. Also Read: Fix Windows 10 Update Error 0x80070103
Method 7: Update GPU Drivers
If you want to enjoy any graphical games without any errors, your drivers must be in a perfect state. If the drivers are outdated or faulty, make sure you update them. You can search for the newest releases of drivers from its official websites or you can update them manually. Follow our guide 4 Ways to Update Graphics Drivers in Windows 10 to update your driver and check if you have fixed League of Legends error code 004.
Method 8: Roll Back GPU Drivers
Sometimes, the current version of your graphics drivers may cause any launching conflicts and in this case, you have to restore previous versions of installed drivers. This process is called rollback of drivers and you can easily roll back your computer drivers to their previous state by following our guide How to Rollback Drivers on Windows 10.
Also Read: How to Tell If Your Graphics Card is Dying
Method 9: Reinstall GPU Drivers
If you still face League of Legends error 004 after updating your GPU drivers, then reinstall device drivers to fix any incompatibility issues. There are several ways to reinstall drivers on your computer. Yet, you can easily reinstall Graphical drivers as instructed in our guide How to Uninstall and Reinstall Drivers on Windows 10.
After reinstalling GPU drivers, check if you can access League of Legends without any errors.
Method 10: Run Disk Cleanup
If your PC does not have any drive space to install any new patches from the game, you will face League of Legends error 004. Hence, firstly check the drive space and clean the temporary files if necessary. Step I: Check Drive Space To check the drive space in your Windows 10 PC, follow the below-mentioned steps.
- Press and hold Windows + E keys together to open File Explorer.
- Now, click on This PC from the left screen.
- Check the disk space under Devices and drivers as shown. If they are in red, consider clearing the temporary files.
Step II: Clear Temporary Files If there is minimum available space in your computer contributing to error code 004, follow our guide 10 Ways to Free Up Hard Disk Space On Windows which helps you clear all unnecessary files in your computer.
Method 11: Change DNS Server Address
Several users have suggested that switching to Google DNS addresses may help you fix League of Legends error code 004. If you launch the game properly and face an error prompt, follow our guide to change the DNS address. This will help you fix all DNS (Domain Name System) problems so you can launch the game without any hustles.
After changing your DNS address, check if you can launch LoL without error screen.
Method 12: Disable Antivirus Temporarily (If Applicable)
One other possible reason that causes League of Legends error 004 is your security suite. When your antivirus programs detect LoL files and folders as a threat, you will face several conflicts. So, read our guide on How to Disable Antivirus Temporarily on Windows 10 and follow the instructions to disable your Antivirus program temporarily on your PC.
After fixing the discussed League of Legends error 004 error on your Windows 10 PC, make sure to re-enable the antivirus program since a system without a security suite is always a threat. Also Read: Fix Avast Blocking League of Legends (LOL)
Method 13: Disable Windows Defender Firewall (Not Recommended)
In addition to the Antivirus program, the Windows Defender Firewall might prevent access to games on your PC. So, try to disable Windows Defender Firewall as instructed in our guide How to Disable Windows 10 Firewall, and follow the steps accordingly.
Note: Once launching LoL after disabling Windows Defender Firewall, make sure you re-enable the Firewall suite after the game. A computer without a security suite is always prone to malware attacks.
Method 14: Use Virtual Private Network
Still, if you are unable to fix your problem, you can try using Virtual Private Network. It ensures to keep your connection is more private and encrypted. You can change the geographic region with the help of VPN settings so you can fix League of Legends error 004 easily. Although there are so many free VPNs available over the internet, you are advised to use a reliable VPN service to enjoy premium versions and features. Have a glance at our guide What is a VPN and how it works? to learn more about Virtual Private Limited. If you are confusing how to set up a VPN on your Windows 10 computer, follow our guide on How to set up a VPN on Windows 10 and implement the same.
Once you have set up a VPN connection, check if you have fixed League 004 error. Also Read: Fix League of Legends Black Screen in Windows 10
Method 15: Delete DirectX via Registry
Several gamers have confirmed that reinstalling DirectX on your PC helped them to fix League of Legends error 004. Here is how to delete DirectX installed file from Registry.
Press the Windows + R keys together to open the Run dialog box.
Now, type regedit and hit Enter key to launch Registry Editor.
Now, navigate to the following location in the Registry Editor.
Now, right-click on the InstalledVersion file and click on the Delete option.
Then, right-click on the Version file and then select the Delete option.
Now, follow our guide Download And Install DirectX on Windows 10 to reinstall DirectX on your Windows 10 PC.
Also Read: Fix League of Legends Frame Drops
Method 16: Reinstall League of Legends Game
Any misconfigured files in League of Legends will lead to the League of Legends error 004 even if you have followed all the above-discussed methods and updated all the pending actions. So, in this case, you have no other option than to reinstall the game. The game is tied up with your account and when you reinstall the game, you will not lose your progress. Here is how to reinstall League of Legends.
Hit the Windows key and type apps and features. Then, click on Open.
Now, search League of Legends in the list and click on it. Then, select the Uninstall option.
If you are prompted, again click on Uninstall.
Once the game is completely uninstalled from your computer, press and hold Windows + E keys together to open File Explorer.
Now, navigate to the following paths and delete the folders related to LoL such as: Note: Make sure you find something related to League of Legends instead of gametitle in the above locations.
Then, empty all the data in Recycle bin and permanently delete the files/folders you have deleted now.
Then, go to the League of Legends official website download page and click on the Play For Free option.
Sign up for your account and click on Download for Windows option. Then, click on the Install option.
Wait for the game to be installed. Navigate to My downloads in File Explorer and double-click on the setup file to run the application.
Follow the on-screen instructions to install the game on your Windows 10 PC.
Finally, relaunch the game and now you will have a fix for League unspecified error. Note: Many users and online forums have reported that reinstalling the game with the Hextech Repair tool helped fix the error. Visit the official Hextech Repair tool site and download the program. It is free of cost, hence when you install and launch the tool, you will see an option to reinstall the game. Follow the instructions to fix the LoL error 004. Recommended:
Fix GeForce Error HRESULT E Fail in Windows 10 Fix Witcher 3 Crashing on Windows 10 How to Restart Valorant Riot Client in Windows 10 Fix Unspecified Error League of Legends in Windows 10
We hope that this guide was helpful and you could fix League of Legends error 004 in Windows 10. Let us know which method worked for you the best. Also, if you have any queries/suggestions regarding this article, then feel free to drop them in the comments section.