Table of Contents
ToggleSummary
- You might encounter the “Error Code 30005: CreateFile failed with 32” message on Windows if the program detects the game files have been modified or corrupted.
- Allowlisting Easy Anti-Cheat in your security software and disabling the “Kernel-mode Hardware-enforced Stack Protection” feature can help fix this error.
- If the error persists, consider repairing or reinstalling the Easy Anti-Cheat program on your PC.
Encountering the “Error Code 30005: CreateFile failed with 32” every time you launch a game on your PC can be frustrating. This error typically occurs when running games protected by the Easy Anti-Cheat service. Fortunately, it’s possible to fix the underlying issue without much hassle.
1
First, Perform Some Preliminary Checks
Before diving into any advanced fixes, it’s a good idea to perform the following preliminary checks.
- Are you using any hacking software or files to gain an advantage in the game? If so, you should remove them.
- Close any other program running alongside the game.
- Close any graphics optimization software you are using.
- Have you modified the game files? If so, you’ll need to undo those changes or reinstall the game from scratch.
You can apply the remaining fixes if none of the above checks help.
2
Delete the EasyAntiCheat.Sys File
“EasyAntiCheat.sys” is a file that contains launch information for your games. Each time you launch a game, Easy Anti-Cheat ensures that the game files haven’t been modified and creates this file. However, if this operation gets interrupted for some reason, you might encounter this error.
In most cases, deleting the EasyAntiCheat.sys file should force the Easy Anti-Cheat program to recreate it and fix the error.
- Go to the directory folder of the game you’re having trouble with. Most of the time, you will find it in a subfolder of the Program Files (x86) folder on the drive where your operating system is installed.
- Open the EasyAntiCheat or EasyAntiCheat_EOS folder.
- Locate the EasyAntiCheat.sys or EasyAntiCheat_EOS.sys file in the folder.
- Right-click on the file and click the Delete icon.
If you encounter any errors while deleting the file, Easy Anti-Cheat is likely running in the background. To shut it down, press Ctrl + Shift + Esc to open the Task Manager, select Easy Anti-Cheat in the Processes tab, and click End Task at the top to close it.
After that, you should be able to delete the file without any issues.
3
Repair Corrupted Game Files
If some of your game files have become corrupted, Easy Anti-Cheat may consider them tampered with. In this case, you will need to repair the affected game files to fix the error.
If you installed the game through Steam, you can refer to our guide on repairing game files using different launchers and follow the steps provided there. After repairing the game files, try launching it again.
4
Allowlist Easy Anti-Cheat in Windows Defender or Antivirus
Although Easy Anti-Cheat is a trusted program, Microsoft Defender or your antivirus software might mistakenly flag it as a threat and block it. This can prevent Easy Anti-Cheat from running, resulting in the “Error Code 30005: CreateFile failed with 32” message.
To check for this possibility, you can temporarily disable Windows Defender or your antivirus program. If this solves the issue, you should allowlist Easy Anti-Cheat in both Windows Defender and your antivirus program to prevent them from blocking it in the future.
You can easily allowlist a program in Windows Firewall by heading to the Control Panel. Similarly, you can allowlist it in any third-party antivirus program. Refer to the antivirus program’s website for instructions on how to allowlist apps in that specific software.
5
Disable Kernel-Mode Hardware-Enforced Stack Protection
Activating Kernel-mode Hardware-enforced Stack Protection, a security feature on Windows, can interfere with Easy Anti-Cheat software, as reported by a user in a Microsoft Community forum.
While this feature is designed to prevent malicious software from interfering with the operating system, it can sometimes conflict with trusted programs like Easy Anti-Cheat.
One user confirmed in a Reddit thread that turning off this security feature fixed the problem. You can try turning it off on your PC to see if that fixes the problem.
- Click the search icon on the taskbar, type Windows Security in the text box, and hit Enter.
- Navigate to the Device Security tab in the left sidebar.
- Click the Core isolation details option in the right pane.
- Turn off the toggle under Kernel-mode Hardware-enforced Stack Protection.
- Restart your PC for changes to take effect.
If the “Kernel-mode Hardware-enforced Stack Protection” option isn’t available in the Device Security tab, it means your processor doesn’t support it. In that case, you don’t need to worry about disabling it.
6
Ensure the Easy Anti-Cheat Service Is Running
Easy Anti-Cheat relies on a service aptly called EasyAntiCheat. If this service isn’t running on your PC, you might encounter errors. To avoid this, you’ll need to ensure the EasyAntiCheat service is running.
- Open the Services app using the search menu.
- Find the EasyAntiCheat service on the list.
- If it is already running, you don’t need to do anything. If it isn’t running already, right-click on it and select Start.
7
Repair or Reinstall the Easy Anti-Cheat Program
If none of the fixes work and the Easy Anti-Cheat software is still not functioning correctly, you can try repairing the program.
- Go to the installation folder of your game. If you have installed the game through Steam, open the Steam client, right-click on the game, and select Properties. Then, choose Local Files > Browse.
- Close the Steam client and keep the installation folder open.
- Return to the EasyAntiCheat folder and double-click the Easy Anti-Cheat setup file.
- Click the Repair Service button.
- Wait for the process to complete, and then click Finish.
If the error persists, you should consider reinstalling the Easy Anti-Cheat program as a last resort. To do that, follow the same steps explained above and run the Easy Anti-Cheat setup file again.
Instead of clicking on Repair, click Uninstall in the bottom-left corner. After that, click on Install Easy Anti-Cheat. Then, click Finish.
While software like Easy Anti-Cheat is essential for detecting and preventing cheating, it can occasionally malfunction for various reasons. Hopefully, applying the fixes above has resolved the “Error Code 30005: CreateFile failed with 32” on your PC, and you’re back to gaming as usual.