ACTIVE MALWARE WINDOWS TESTED: WINDOWS 10

How to fix
“Exception Access Violation” error
on Windows

Resolve the "Exception Access Violation" error on Windows 10 with simple fixes. Get your system running smoothly in minutes with expert-tested solutions.

How to fix “Exception Access Violation” error on Windows 10?
Quick Summary
Error severity
Medium
Est. time
5 minutes
Offer Fortect PC Suite
Start fix →
Ad · we may earn a commission
0 Comments
01

What causes How to fix “Exception Access Violation” error on Windows 10?

  • Corrupted software leading to memory corruption
  • Specific problematic files like ntdll.dll or odbc32.dll
  • Issues related to Java programs
  • Problems with certain games like World of Warships, Overwatch, or Minecraft
  • Interference from third-party antivirus programs
Offer Fortect PC Suite

Repairs Windows system files, removes malware, and restores a clean OS state — without reinstalling.

Ad · we may earn a commission
Get Fortect PC Suite ↗

Hello. How can I fix exception_access_violation error? Usually, it shows up when I play a game, but yesterday I received the same message on Facebook. I’m using Windows 10. Please help!

EXCEPTION_ACCESS_VIOLATION is a Windows-specific error[ref en-1] message, which may strike all OS versions (7, 8, 8.1, etc.). Usually, it is marked by a numeric error code 0xc0000005 and may be dubbed as Unhandled Exception Access Violation. This is the Windows error that users tend to experience from time to time.

The error is shown in a form of a pop-up window and prevents PC users from using particular apps normally. Many people reported this problem occurring during gameplay or when launching specific apps (Java, Visual Studio, World of Warships, Overwatch, Minecraft, etc.). Sometimes, the error shows up randomly, but in this case, the pop-up indicates a problematic file,[ref en-2] for example, ntdll.dll, odbc32.dll, and similar.

According to experts the Exception Access Violation pop-up may be triggered by corrupted software, which ends up with memory corruption.[ref en-3] In other words, the EXCEPTION_ACCESS_VIOLATION error means that some parts of the software the user is trying to launch may be trying to access protected memory address and the access is denied due to protection.

There are particular EXCEPTION_ACCESS_VIOLATION error variations and based on the reasons and solutions differ:

  • EXCEPTION_ACCESS_VIOLATION java error that people experience when using Java, so programs related to it need fixing, in particular.
  • Unhandled Exception Access Violation Visual Studio error - reinstalling the affected app might solve the issue the quickest.
  • EXCEPTION_ACCESS_VIOLATION error related to ntdll.dll, odbc32.dll files shows a particular file that is causing the error.
  • Exception Access Violation WoW, Minecraft, Overwatch error is related to certain games, so solutions involve changing settings, altering files or reinstalling the applications entirely.

In some rare cases, the Exception Access Violation error may be triggered by an antivirus program. Many people reported Kaspersky as a culprit, but there’s no official prove provided that this particular antivirus program causes the error exceptionally, so you should try to disable or remove any third-party antivirus program to check if it’s not causing the problem.

Exception access violation
Exception access violation

How to fix the EXCEPTION_ACCESS_VIOLATION error

If the antivirus is not the culprit, then we would recommend scanning the system with [d1] optimization utility. It can deal with problematic system files, such as ntdll.dll and odbc32.dll. You can repair other system pieces and solve unrelated problems, so fixing this error becomes easier. Also, some tools like this can alter Windows Registry entries, repairs any damaged data on the computer.

You need to try and check if the machine is working smoothly. Sometimes quick optimization can solve the error temporarily or permanently. If the issue is related to the application or a game, you can try to fix EXCEPTION_ACCESS_VIOLATION error manually with the methods listed below. 

#1 Add a program to the Data Execution Prevention exceptions list

If a specific program is giving the EXCEPTION_ACCESS_VIOLATION error, you should try adding that specific application to Data Execution Prevention exceptions list. To do so, please follow these steps:

  • Open Control Panel and select System and Security.
  • Select System and click Advanced System Settings on the left pane.
  • Open Advanced tab.
  • Click Settings under Performance and open Data Execution Prevention tab.
    Data execution prevention exceptions list
    Data execution prevention exceptions list
  • If Data Execution Prevention is turned on, click Add button.
  • Now find the .exe file of the program that returns the EXCEPTION_ACCESS_VIOLATION error.
  • When the program is added to the exclusion list, click Apply and OK to save the changes.
    Data execution prevention exceptions list2
    Data execution prevention exceptions list2
  • Finally, reboot the system and check if the problem was resolved.

#2 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.

#3 Disable User Account Control

This method is applicable in case you encounter the error when launching Java apps. Once you disable the User Account Control, try to install/reinstall 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.
    Change user account settings
    Change user account settings

#4 Create options.ini file to fix EXCEPTION_ACCESS_VIOLATION error

If the only app affected by EXCEPTION_ACCESS_VIOLATION error is Lord of The Rings: Battle for Middle Earth, try the following methods:

  • 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.
    Create a file
    Create a file
  • Right-click on empty space while in the folder, and select New -> Text Document.
    Create text document
    Create 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
      Options ini file
      Options ini file
  • 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.

#5 Reinstall problematic software

If the EXCEPTION_ACCESS_VIOLATION error affected a specific application only, we would recommend reinstalling it. You can do that via Windows Settings applet or Control Panel.

  • 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.

Bottom line

To fix the EXCEPTION_ACCESS_VIOLATION error, you can try reinstalling the affected application, changing game settings, or altering specific files. If the issue persists, consider disabling or removing any third-party antivirus software to see if that resolves the problem.

Frequently asked questions

This error typically occurs due to software conflicts, corrupted files, or issues with system memory. It can happen when an application tries to access memory that it is not authorized to use.

You can start by running a System File Checker (SFC) scan to repair corrupted files, or check for Windows updates that might fix compatibility issues. Additionally, consider disabling any recently installed software that may be causing conflicts.

To prevent this error, ensure that all your drivers are up to date and regularly check for system updates on Windows 11. Also, avoid installing unverified applications that may lead to memory access violations.

Did this fix work for you?
Jake Doevan

Written & verified by

Senior Windows Technician
Windows repair tools SFC and DISM Startup failure recovery Windows Update errors System Restore

Jake Doevan is a senior Windows technician with deep practical knowledge of Windows' built-in repair and recovery tools. He has written extensively about SFC, DISM, CHKDSK, System Restore, and Windows Recovery Environment — the tools that can salvage a failing Windows installation without data loss. Jake's guides are precise and sequenced: each step is ordered to avoid compounding the original problem, and he explains what each command does so readers understand the process rather than following it blindly. His work is particularly valuable for users dealing with corruption, startup failures, and update-induced regressions.

0 Comments

Be the first to comment

Still worried? Run a free check.

Paste any URL or domain — we'll scan it against 4.2M known threats in 10 seconds.

View full scanner → Add to your website →