Table of Contents
This article will show you how to Fix “Exception Access Violation” error on Windows 11/10. The Exception Access Violation error message doesn’t just happen with one program. It can happen with almost any program on your machine. Usually, the error warning shows up when the program you are trying to run tries to access a protected memory address.
When you run an app or turn on Windows, the Exception Access Violation pops up. Usually, this mistake is caused by one of the apps that are set to run when the system starts up. Because of this, the app might not work or your system might become unstable. If you want to know more information about this Visit Official Microsoft Support site.
This Windows error, which is called a Exception Access Violation and has a number error code of “0xc0000005”, makes it impossible for PC users to use the app where they got the error message. Most people experience the problem when they are playing a game or when they try to open an app like Java, Visual Studio, Minecraft, etc. Sometimes the error message shows up out of the blue, and when it does, it tells you what file is wrong, such as ntdll.dll, odbc32.dll, or something similar.
Run a Windows hardware troubleshooter
- Go to the Windows search bar and type in Settings.
- Click on the Update & Security option.
- Look for Troubleshoot and select it.
- Click Hardware and Devices.
- Hit Run the troubleshooter.
Create options.ini file to fix EXCEPTION_ACCESS_VIOLATION error
If Lord of the Rings: Battle for Middle Earth is the only app with the EXCEPTION_ACCESS_VIOLATION warning, try one of the following:
- Press Windows key + R, type %appdata%, and click Enter.
- Open My Battle for Middle Earth Files folder. If the folder is empty, create an options.ini file in it.
- Right-click on empty space while in the folder, and select New -> Text Document.
- Open that Text Document and paste the following lines in it:
- AudioLOD = Low
- HasSeenLogoMovies = yes
- IdealStaticGameLOD = VeryLow
- Resolution = 800 600
- StaticGameLOD = VeryLow
- TimesInGame = 1
- Now click File -> Save as.
- Select All Files and enter the options.ini in File name section.
- Select the AppData -> My Battle for Middle Earth Files folder as the saving location and click Save.
Disable User Account Control
This method can be used if you get the error when you try to open a Java app. Once the User Account Control is turned off, try to install or update Java and run its apps.
- Open Control Panel and select Accounts.
- Click User Accounts and select Change User Account Control settings.
- Move the slider until you set it to Never Notify and click OK.
Add the Application to the Data Execution Prevention (DEP) Exception List
Data Execution Prevention (DEP) is a security tool in Windows 10 and 11 that stops malicious code from running and can cause errors like “Exception Access Violation.” You should add the program that is giving you this error message to the list of exceptions so that it can run correctly. Here’s what you need to do:
- On your computer, press Windows + R to open the “Run Command” window.
- Type this command and hit enter: sysdm.cpl
- This will open up the System Properties window.
- Switch to the Advanced tab, and click on Settings under the “Performance” heading.
- In the Performance Options window, switch to the Data Execution Prevention tab and select Turn on DEP for all programs and services except those I select.
- Now, click on the Add button and locate the executable file of the application causing this error.
- Once you have located it, click on Open and then OK.
- Exit all windows and restart your computer for the changes to take effect.
Reinstall problematic software
If the EXCEPTION_ACCESS_VIOLATION problem only happened with one program, we would suggest reinstalling that program. You can do that through the Control Panel or the Windows Settings tool.
- Press Windows key + I and select Apps.
- Now find the application that can’t be launched due to the error and click on it once.
- Now select Uninstall.
- Alternatively, you can open Control Panel -> Programs and Features.
- Find the app, right-click on it, and select Uninstall.
Check for Viruses and Malware
This warning message can also be caused by viruses, malware, and other types of bad software. So, it’s best to run a full scan of your system regularly with an antivirus or anti-malware tool to make sure there aren’t any of these threats. Here’s how to do a malware and virus check on Windows 10:
- Press Windows + I to open the “Settings” window.
- Switch to the Update & Security tab
- Next, select Windows Security from the left-hand side menu and click on Virus & threat protection on the right.
- Under “Virus & threat protection”, click Scan options.
- Select the Full scan bullet point, and click Scan now.
What Is the Exception Access Violation Error?
When you try to run a certain program or function on your Windows computer, you may get an error message that says “Exception Access Violation.” This error means that the program tried to read, write, or run something in memory that it didn’t have permission to do.
It means that a part of the program code tried to do something with the protected memory access code that the operating system did not let it do. This can be caused by an old version of a program, corrupted files, hardware and software that don’t work well together, or a virus or other malware attack.