FIX: Exception Access Violation Error On Windows 10

Milan Stanojevic
by Milan Stanojevic
Deputy Editor
Download PDF
Affiliate Disclosure

  • The Exception Access Violation error on Windows 10 prevents you from running certain apps.
  • Top-of-the-range antivirus suites like BullGuard will keep you away from such errors.
  • Windows 10 PCs tend to suffer from lots of similar issues. Check out this System Errors section when you need further guidance.
  • Errors are likely to occur from time to time, so bookmark our Windows 10 Errors Hub for definitive diagnosis and quick solutions.
Exception Access Violation Error

You can get a software error almost in any application, and speaking of software errors, today we are going to cover Exception access violation error on Windows 10.

So what is Exception access violation error and how to fix it? According to the reports, Exception access violation error is usually related to a memory error.

It’s mostly caused by software, but sometimes this error can be caused by a faulty RAM module.

Exception Access Violation error can be problematic, and speaking of errors, users reported the following error messages on their PC:

  • Exception Access Violation Java – Many users reported this error message while using Java on their PC. If you have this problem, be sure to try one of our solutions.
  • Unhandled Exception Access Violation Visual Studio – This is a variation of this error message, and it can affect various applications, including Visual Studio. If you have this problem, try reinstalling the affected application and check if that solves the problem.
  • Exception_access_violation in module ntdll.dll, odbc32.dll – Sometimes this error message will give you the name of the file that is causing this error to appear. Using that file name, you can easily find the problematic application or hardware and fix the issue.
  • Exception Access Violation Kaspersky – This error message can be caused by various antivirus applications. Users reported this problem with Kaspersky, but other antivirus tools can also cause it.
  • Exception Access Violation World of Warships, Overwatch, Minecraft – Sometimes this error message can affect certain games, and users reported issues with Overwatch, Minecraft , and many other games.

How can I fix the Exception Access Violation error?

1. Check your PC for malware

try out Bullguard

According to users, sometimes this error can appear due to malware infections. Many of them reported a fake Chromium browser on their PC that causes this error to appear.

Therefore, it’s advised to perform a detailed scan with your antivirus software. If your current antivirus can’t find and fix the problem, we strongly recommend that you try using BullGuard.

This is the very best antivirus solution on the market, and you should be able to easily solve the issue this time.

On top of that, you can’t go wrong with it if you’re in search of minimal impact on the system, identity safety features, and strong viruses protection.



BullGuard is a one-stop solution to scan for malware. No Exception Access Violation errors will bother you again!
$23.99/year Get it free

Read our full BullGuard review

2. Add Data Execution Prevention Exception

  1. Open Control Panel. You can do that by typing Control Panel in the Search bar and choosing Control Panel from the list of results.
    Exception Access Violation Kaspersky
  2. Go to System and choose Security > System.
    Exception Access Violation Overwatch
  3. Next, click on Advanced system settings.
    Exception Access Violation Java
  4. Next, in the Advanced tab find the Performance section and click the Settings button.
    Unhandled Exception Access Violation Visual Studio
  5. Go to Data Execution Prevention tab. Select Turn on DEP for all programs and services except those I select. Now click the Add button.
    Exception_access_violation in module ntdll.dll
  6. Locate the .exe file of the program you wish to run.
  7. After you’ve added that program to the DEP exclusion list, click Apply and OK to save the changes.
    Exception Access Violation Kaspersky
  8. Try running the program again.

If a specific program is giving you an Exception access violation error, you might want to add that program to the Data Execution Prevention exceptions list. To do that follow the steps above.

Once you add the desired application to the exclusion list, check if the problem is resolved.

3. Disable User Account Control

  1. Open Control Panel.
  2. Go to User Accounts > User Accounts and choose Change User Account Control settings.
    Unhandled Exception Access Violation Visual Studio
  3. Move the slider all the way down until it says Never Notify. Click OK to save changes.
    Exception_access_violation in module ntdll.dll
  4. Try installing Java or try running Java applets.

It has been reported that Exception access violation error occurs when users are trying to install Java or when they try to run Java applets or applications.

In order to fix this issue, it’s advised to temporarily disable User Account Control. To do that, follow the instructions above.

This solution applies to other software as well, so even if Java is working without any problems on your computer, you can try disabling User Account Control to fix this issue.

We have to mention that disabling User Account Control comes with slight security risk, so if you’re not comfortable with it, just disable User Account Control when you run the desired application and then turn it back on.

Learn how to manage User Account Control like a real technician with our complete guide!

4. Create options.ini file

  1. Open AppData folder. You can open it by pressing Windows Key + R and typing %appdata% in the Run dialog. After typing %appdata%, press Enter or click OK to open AppData folder.
    Exception Access Violation Kaspersky
  2. In AppData folder find and open My Battle for Middle Earth Files folder.
  3. If the folder is empty, you need to create a new options.ini file in it.
  4. Create a new text document and add the following lines to it:
    • AudioLOD = Low
    • HasSeenLogoMovies = yes
    • IdealStaticGameLOD = VeryLow
    • Resolution = 800 600
    • StaticGameLOD = VeryLow
    • TimesInGame = 1
  5. Now click File > Save as.
    Exception Access Violation World of Warships
  6. In Save as type section select All Files and in File name section enter options.ini. Make sure that you save the file in AppData > My Battle for Middle Earth Files folder. Click Save.
    Exception Access Violation Java
  7. After the file has been saved, try running the game again.

As we already mentioned, the Exception access violation error affects all sorts of software, and video games aren’t an exception.

One game affected by this issue is Lord of The Rings: Battle for Middle Earth, but fortunately for you, there’s a solution available.

Keep in mind that this solution works only for Lord of The Rings: Battle for Middle Earth, however, you can change the configuration file for most games by following similar steps.

5. Make sure that the file isn’t set as read-only

  1. Find the shortcut of the problematic file, right-click it, and choose Properties.
    Exception Access Violation Minecraft
  2. Go to the General tab and find the Attributes section. Make sure that Read-only isn’t checked. Now click on Apply and OK to save the changes.
    Exception Access Violation Java
  3. Try running the application again.

Sometimes Exception access violation error can appear because your files are set to read-only mode. However, you can change that by following the above steps.

This is a simple solution and several users reported that it works, so feel free to try it out.

6. Reconnect your headset

try to reconnect headset

This error has been reported by Vindictus players, and according to them, this error occurs with Logitech headset G35, but the issue might be related to other headsets from other manufacturers as well.

According to users, the only solution is to unplug your headset while the game is loading and plug it back in once the game has loaded.

7. Check for hardware problems

check for RAM problems

As we already mentioned Exception access violation error can sometimes be related to your RAM memory, so it won’t hurt to check if your RAM memory is working properly.

You can check your memory using MemTest86. Just download it, and move it to a USB flash drive, restart your computer and let MemTest86 run for a while.

If you don’t know how to do it, maybe it’s best that you contact a professional and ask him to do it for you.

Many users reported that their RAM was the cause of this error, so be sure to check your RAM and replace it if you find any problems with it.

7. Use the Compatibility mode

  1. Locate the application that is giving you this error, right-click it, and choose Properties from the menu.
    Unhandled Exception Access Violation Visual Studio
  2. When Properties window opens, navigate to Compatibility tab. Now check Run this program in compatibility mode for and select an older version of Windows from the list. Click on Apply and OK to save changes.
    Exception_access_violation in module odbc32.dll

If you’re getting Exception Access Violation error message frequently on your PC, that can be due to compatibility issues. Certain older applications aren’t fully compatible with Windows 10.

Fortunately, Windows has a useful feature called Compatibility mode that allows you to run older applications. If you have this problem with a certain application, simply enable Compatibility mode.

Once you make the necessary changes, try starting the application again and check if the error reappears.

Keep in mind that you might have to try several different compatibility modes before you find the one that works on your PC.

8. Run the Hardware troubleshooter

  1. Open the Settings app. You can do that quickly by pressing Windows Key + I.
  2. Once the Settings app opens, go to the Update & Security section.
    Unhandled Exception Access Violation Visual Studio
  3. Now select Troubleshoot from the menu on the left and click on Hardware and Devices. Click on Run the troubleshooter button.
    Exception Access Violation Java
  4. Follow instructions on the screen to complete the troubleshooter.

According to users, you might be able to fix this problem simply by running the Hardware troubleshooter.

This feature is designed to fix common hardware problems, and it might help you with Exception Access Violation error.

Once the troubleshooter is finished, check if the problem still appears. Few users reported that this solution worked for them, so feel free to try it out.

Not a fan of Windows Troubleshooter? We got your back with the best troubleshooting tools!

9. Reinstall the application

try to reinstall the application

If you’re getting Exception Access Violation while trying to run a certain application, you might be able to fix the problem simply by reinstalling that application.

Simply remove the problematic application from your PC and install it again. If possible, try to download and install the latest version and check if that solves the problem.

Exception Access Violation error can cause certain problems on your PC, but we hope you managed to solve this issue by using one of our solutions.

FAQ: Learn more about Exception Access Violation error

  • What does Exception access violation mean?

Exception access violation comes as a sign of malware infection or that some parts of the software you are trying to launch are accessing protected memory addresses.

  • How do you fix a memory access violation?

You may try to check your PC for malware or disable User Account Control. For detailed steps and more tips, refer to this guide on how to fix Exception Access Violation error.

  • What causes access violation errors?

These are usually related to memory errors or severe malware infections. To correct them, don’t hesitate to use BullGuard’s top malware detection.

Editor’s Note: This post was originally published in January 2018 and has been since revamped and updated in July 2020 for freshness, accuracy, and comprehensiveness.

Was this page helpful?
Thanks for letting us know! You can also help us by leaving a review on MyWOT or Trustpillot.
Get the most from your tech with our daily tips
Tell us why!
  • I only get this problem when using Facebook. As soon as I pass the cursor across one of the buttons – without necessarily clicking it – I get this message. Any thoughts?