When starting a game or program, and sometimes while working with them, you may encounter an Exception Access Violation error, the title of the window may contain information about Unhandled Exception, Unexpected Error or Fatal Error, in the text – codes like 0xc0000005 or an indication of a DLL. The error is typical for Windows 10, previous versions of the system and, with a high probability, will remain in Windows 11.
This manual describes possible ways to fix the Exception Access Violation error, which, in fact, usually boils down to the inability of any program or game module to access the desired area of RAM.
- Antivirus software and Exception Access Violation
- DEP (Data Execution Prevention)
- Additional methods to fix the error
- Video instruction
Exception Access Violation as a result of antivirus software
Among the most common reasons for an error in a Russian-speaking user, especially when using unlicensed games or programs, is an antivirus: built-in Windows Defender or some third-party.
Possible actions to fix Exception Access Violation for this case:
- Check if the error persists if you temporarily disable your antivirus.
- Add the program or game folder to the antivirus exclusions. If you are using Windows Defender, you can do this by opening Windows Security – Virus & Threat Protection – Manage Settings and adding the desired folder in the Exceptions section.
Memory Execution Prevention may also cause the error in question for some programs, try disabling it. For this:
- Press Win + Rkeys on your keyboard, type cpl and press Enter.
- On the Advanced tab, in the Performance section, click the Options button.
- Click the Data Execution Prevention tab, select Enable DEP for all programs and services except those selected below, and add the executable file of the program or game that is causing the Exception Access Violation error to the list. Apply the settings.
Additional ways to fix the error
The above two methods most often return operability and are a solution to the problem, but not always. Additionally, you can try the following methods:
- For relatively old software, try running the program or game in compatibility mode with the previous version of the OS, for more details: Windows 10 compatibility mode .
- If the error began to appear in a program that previously worked properly on the same computer, try using system restore points for the date when the problem was not yet observed.
- In case you encounter a problem after reinstalling Windows on your computer or laptop, manually install all the original device drivers, including the chipset drivers. Manually – this is not using “Update driver” in the device manager, but by downloading drivers from the official website of the manufacturer of the motherboard or laptop.
- Try to run the program or game as administrator .
- Check the RAM for errors , this factor can also be the cause of the Exception Access Violation error.
- Sometimes the error occurs after manually adding DLLs to the system in the C: \ Windows \ SysWOW64 and C: \ Windows \ System32 folders. Sometimes these are not working DLLs, sometimes – the bitness of the library does not match the location.
- For JAVA programmers: it is reported that an error can occur when x64 systems in the PATH specify SysWOW64 before System32.
Also, if we are talking about a program downloaded from the Internet (from an unofficial site), you can try to remove it and then download it from another source.