Summary
- 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 thedirectory folder of the game you're having trouble with. Most of the time, you will find it in a subfolder of theProgram Files (x86) folder on the drive where your operating system is installed.
- Open the EasyAntiCheat orEasyAntiCheat_EOS folder.
- Locate theEasyAntiCheat.sys orEasyAntiCheat_EOS.sys file in the folder.
- Right-click on the file and click theDelete icon.

If you encounter any errors while deleting the file, Easy Anti-Cheat is likely running in the background. To shut it down, pressCtrl + Shift + Esc to open the Task Manager, selectEasy Anti-Cheat in theProcesses tab, and clickEnd 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 onrepairing 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 temporarilydisable 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 easilyallowlist 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 aMicrosoft 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 aReddit 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 Securityin the text box, and hitEnter.
- Navigate to theDevice Security tab in the left sidebar.
- Click theCore isolation details option in the right pane.
- Turn off the toggle underKernel-mode Hardware-enforced Stack Protection.
- Restart your PC for changes to take effect.

Screenshot by Pankil Shah -- No attribution required
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 theServicesapp using the search menu.
- Find theEasyAntiCheatservice 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 selectStart.

Screenshot by Pankil Shah -- No attribution required
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 selectProperties. Then, chooseLocal Files > Browse.
- Close the Steam client and keep the installation folder open.
- Return to theEasyAntiCheatfolder and double-click theEasy Anti-Cheat setup file.
- Click theRepair Service button.
- Wait for the process to complete, and then clickFinish.

Screenshot by Pankil Shah -- No attribution required
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 onRepair, clickUninstallin the bottom-left corner. After that, click onInstall Easy Anti-Cheat. Then, clickFinish.
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.









