How to Resolve The “EXCEPTION_ACCESS_VIOLATION” in Windows 11,10


The EXCEPTION_ACCESS_VIOLATION error message can occur while using almost any application on your computer. It usually pops up when the application you are trying to run tries to access a protected memory address.

Dubbed an Unhandled Exception Access Violation and marked by a numeric error code 0xc0000005, this Windows error restricts PC users from using the app to encounter the error message.  For most people, the problem occurs during gameplay or when launching apps like (Java, Visual Studio, Minecraft, etc.). Sometimes, the error even pops up randomly, and in this case, a problematic file like ntdll.dll, odbc32.dll, and similar are displayed in the error message.

The error’s numerics and error codes make it difficult for an average user to understand. In this post, we will identify ways to help you fix the error on your PC.

Without further ado, let’s quickly learn more about the error and then explore ways to help you resolve it.


Before we begin fixing the issue, it is important to identify when exactly the issue appears and what the signs are that cause the error. Take a look at the following pointers to learn more about the error –

  • The error occurs when people use JAVA. So programs related to it need fixing.
  • Unhandled Exception Access Violation Visual Studio error – doesn’t happen when using a specific app. It can be fixed by reinstalling the affected app.
  • The error is related to ntdll.dll, odbc32.dll.
  • Exception Access Violation WoW, Minecraft, and Overwatch error is related to certain games.

Why Do You Face This Error?

  • The accessed file is read-only
  • Corrupt RAM
  • Hardware issues
  • The computer is infected by malware
  • You are running a corrupt application or software

Other than these, sometimes the workings of your application processes are also interrupted by the antivirus program that you are using. This interruption triggers the EXCEPTION_ACCESS_VIOLATION error code, stopping the application from running as you desire.

Best Ways To Fix Exception Access Violation Error

The following table provides a quick overview of ways to fix the issue. It helps you understand the method and context, and you should be able to identify the exact fix that will help you resolve the violation error.

1 Scan the PC for Infection. Sometimes, you can see this error due to malware infection.

To learn how to fix it, check the method.

2 Run Windows Troubleshooter.


Sometimes, the error can be caused due to a corrupt or broken peripheral. Using a Windows Hardware troubleshooter, you can get to the root cause and fix the problem. To learn how to do that, check the method.
3 Add The Troubling Software To the Data Execution Prevention Exception List. When the application giving issues is added to the data execution prevention list, the Exception_Access_Violation, the problem can be fixed. To learn how to do that, check the method.


4 Uninstall the problematic application or turn off User Account Control. Uninstalling or disabling UAC sometimes helps fix Exception_Access_Violation civ. To know how to do that, check the method.


5 Create options.ini file. Creating an options.ini file in the games folder giving the issue will help troubleshoot the problem.  To learn how to do that, check the method.


If you don’t get an idea from the above table, do not worry. Simply check out all the details of the fixes that we have shared below. You can try all of them one after the other and find out if the issue is resolved. Only one of these doesn’t need to help you, as they are reversible, too. Hence, try them one after the other, and if you have made any system changes, reverse them if they do not work.

With all of that said, let’s jump straight to the fixes!

1. Scan the PC for Viruses and Other Malicious Infections

Generally, running a malicious application causes this error. The reliable and trusted way to deal with such a problem is to use real-time protection-enabled and updated antivirus solutions. However, not all antivirus programs support this error. You see some 3rd party apps that do not regularly update their database flag applications and cause the EXCEPTION_ACCESS_VIOLATION errors. Hence, you must be careful when choosing the app you will use to scan your PC.

We recommend T9 Antivirus, as it is the best security application for a Windows PC. It has the best scanning capabilities and offers multiple layers of security, including firewalls, quick scanners, deep scanners, and so on. Needless to say, you can make the most of your PC if you use a 360-degree security application like T9 Antivirus.

How To Use T9 Antivirus And Clean All The Infections To Keep PC Protected

1. Download T9 Antivirus & install it by clicking the executable file and following on-screen instructions.

2.  Launch the application and select the scan type. This best antivirus software offers different scanning types for thorough, quick, and custom scanning. You can select the one of your choice.

Quick Scan – this is fast, and it scans default folders.
Deep Scan – is in-depth. It is time-consuming.
Custom Scan – As the name suggests, this option allows the user to select the scan area and folder to scan. It takes much longer than Quick Scan.

3. After selecting the scan type, click Scan Now to start the process.

click Scan Now to start process  4. Wait for the scan to finish.
5. Review scan results and click Protect Now to quarantine detected infections.

Must Read- How Does An Antivirus Protect You Against Hackers?

2. Run Windows Troubleshooter

To resolve minor issues, Windows provides a built-in troubleshooter. You can use it to detect the problem and fix the detected issues with the peripherals or software. To use it, follow these steps:

1. Press Windows + I to open Windows Settings.
2. Click on Update & Security.

Update & Security3. From the left pane, click on Troubleshoot option > Additional troubleshooters > select the hardware using which you are facing the problem > hit Run the troubleshooter.

additional troubleshooters
4. Wait for the troubleshooter to scan the device and fix the error.
5.  Restart the PC and try to use the hardware; you should not face an Exception Access Violations error.

Read More: Do You Need Antivirus for Windows 11, 10

3. Add The Problematic Program To the Data Execution Prevention Exception List

Keep a record of the program using which you face the error message Exception_Access_Violation. After that, follow these steps to add the program to the exclusion list.

1. In the Windows search bar, type Control Panel > select the best search result and open it.

control panel
2. Look for the System option and click on it.
3. Next, click Advanced system settings.

Advanced system settings
4.  This will open the System Properties window. Click the Advanced tab > and click Settings under Performance.

click Settings
5. Hit the Data Execution Prevention tab
6. Select Turn on DEP for all programs and services except those I select > click the Add button > select the .exe file of the problematic application > Open

click Add button
7. To complete the process, click Apply > OK.

The Exception_Access_Violation CIV should now be fixed.

See This- How to Choose the Best Antivirus for Windows 11

4. Uninstall Problematic Software or Disable User Account Control (UAC)

Are you facing an Exception error when trying to install Java or run Java applications or applets? 

To troubleshoot the issue, we suggest temporarily disabling the User Account Control. Here are the steps to do it.

However, remember that disabling UAC can make the PC vulnerable. Therefore, disable it only for problematic information and re-enable it once the issue is resolved.

1. In the search box, type Control Panel and open it.
2. Click on User Accounts

User Accounts

3. Select Change User Account Control settings

Change User Account Control settings

4. Scroll the slider down to the Never Notify option.

Scroll slider down
5. Click Ok to apply changes. That’s it. Now try running the Java application that was giving issues. If this doesn’t fix the problem, we suggest uninstalling the application and downloading the software from a reliable website.

See This- How to Figure Out If Your Computer Has Malware

5. Make Options.ini File

The EXCEPTION_ACCESS_VIOLATION error also appears while playing certain games like Minecraft, World of Warcraft, and others. To fix this issue, create an options.ini file. To do so, follow these steps:

1. In the Windows search bar, type %appdata% > press Enter

2. Open the game using which you are facing the issues. Look for the options.ini file; if it is not there, create one using the below steps:
3. Right-click on the empty area on the desktop > New > select text document from the context menu.

select text document
In the document paste the following commands:

AudioLOD = Low

HasSeenLogoMovies = yes

IdealStaticGameLOD = VeryLow

Resolution = 800 600

StaticGameLOD = VeryLow

TimesInGame = 1

5. Click on File > Save As.
7. Save it in the game folder and name it options.ini > Save

name options.ini and save

8. Now try to run the game; you should not face any problems.

You can fix exception access violation errors on Windows 11 and 10 using the above steps.

Check This- How To Stop Pop-Up Ads On Windows 11

Final Words

Above, we have listed 5 ways to fix the “EXCEPTION_ACCESS_VIOLATION.” You can use them individually to see which works for you; however, if you suspect your system might be infected, use T9 Antivirus to detect and clean all types of malware, viruses, spyware, adware, and other infections. This best security tool for Windows works efficiently to protect the system against threats, and its real-time protection helps detect threats in real-time. We hope you will try it and share your feedback about the post in the section below.


How To Fix “Windows has stopped this device” Code 43 Errors in Windows
Ways to fix “your device is missing important security and quality fixes” Issues in Windows

Share On :

About The Author

Preeti Seth
Preeti Seth

A UX writer who loves explaining technical details in a clear, crisp, and concise manner. She loves writing about technical troubleshooting, How-To's, product reviews, etc. In her free time, she loves reading, meditating, and traveling.

Related Posts

Leave a comment

Your email address will not be published. Required fields are marked *

Seen on

View All