Some software programs may not launch normally if your computer has corrupted software or memory. Anytime your access is denied, you will usually receive an access violation error, which usually reads, “Exception_Access_Violation.” In most cases, it comes with an error code or address.

Malware infections and faulty hardware may cause the Exception_Access_Violation issue. Improper file settings and compatibility errors may also result in the problem. If you’re looking for ways to fix the Exception_Access_Violation error on Windows 10, this article will help you.

What Does Access Violation Mean on Windows 10?

“Access Violation at Address” errors can happen on every version of Windows, including Windows 10. If you see this message, it means the software you’re trying to run is attempting to access a protected memory address. It appears in the form of a pop-up window that prevents PC users from using particular programs.

The thing is, the Exception Access Violation error almost always occurs in any application. Many users have reported encountering the issue while running JAVA, Visual Studio, and antivirus applications. It even appears while operating certain games such as World of Warships, Overwatch, and Minecraft.

How to Resolve the Exception Access Violation Error on Windows 10

Perform a Malware Scan

If your computer is heavily infected with malware, it can corrupt your memory system and cause this error to appear. You should perform a thorough and detailed security scan if you have noticed suspicious behavior on your computer. Occasionally, the Windows built-in antivirus software may not find anything. So, you might want to try another option such as Auslogics Anti-Malware. This tool can identify a potential malware infection that was ignored by your primary antivirus.

If malware isn’t the problem, we recommend scanning your system using a PC optimization tool such as Auslogics BoostSpeed. BoostSpeed’s cleaning module is designed to clean all types of PC junk. It safely removes temporary system and user files, problematic system files, leftover Windows Update files, temporary Sun Java files, and much more. Some registry anomalies, such as empty keys, do not typically pose any issues until they accumulate over time. They can become extremely complicated, rendering your computer useless. This is why we recommend using the Registry Cleaner in BoostSpeed. Experts consider it one of the safest tools for eliminating all those annoying glitches and crashes once and for all.

BoostSpeed image

Resolve PC Issues with Auslogics BoostSpeed

Besides cleaning and optimizing your PC, BoostSpeed protects privacy, diagnoses hardware issues, offers tips for boosting speed and provides 20+ tools to cover most PC maintenance and service needs.

Microsoft Partner logo
Auslogics BoostSpeed is a product of Auslogics, certified Microsoft® Silver Application Developer

Add Data Execution Prevention Exception

It’s possible to add the problematic program to a data execution prevention exception list if there’s no malware on your computer. This will let you run the program regardless of the “Access Violation at Address” error.

  1. Input “Control Panel” (without the quotes) in your Windows Search bar and launch the app.
  2. Scroll down and click on System.
  3. In the left pane, click on Advanced System Settings.
  4. In the Advanced tab, click on Settings under the Performance section.
  5. In the Performance Options window, click on the Data Executive Prevention tab.
  6. Tick the “Turn on DEP for all programs and services except those I select” option, then click on the Add button and find your program’s .exe file.
  7. Add it to the list, click on Apply, and then on Okay to save the changes.

Try running the problematic program again to see if you still get the Access Violation at Address error.

Disable User Account Control

You are more likely to encounter the Access Violation at Address problem if you are trying to install or run a Java-based application. If this is the case, you can temporarily disable User Account Control to fix the problem.

  1. In your Windows search bar, enter “Control Panel” (without the quotes) and launch the app.
  2. Scroll down and click on User Accounts.
  3. In the right pane, click on Change User Account Control settings.
  4. Move the slider down to “Never Notify” and click OK.

Try running the affected program again to see if the problem has been resolved. After you run your program, remember to enable your user account settings.

Make Sure the Affected Software Isn’t Set as Read-only

You won’t be able to launch or run a program effectively if it’s in read-only mode. Here’s how to check and fix it:

  1. Locate the affected program’s shortcut on your desktop and right-click on the file.
  2. From the menu, select the Properties option.
  3. Go to the General tab, locate the Attributes section and make sure the read-only option is not checked.
  4. Click on Apply, then on Ok to save changes.

Run the Problematic Program in Compatibility Mode

The reason you are receiving an Exception Access Violation error message on your PC could be due to compatibility issues. Some older programs that you are trying to run may not be compatible with newer operating systems like Windows 10. Nevertheless, your operating system has a feature called Compatibility Mode that lets you run older applications. If you encounter this problem with an application, you can enable Compatibility mode.

  1. Locate the affected program’s shortcut on your desktop and right-click on the file.
  2. From the menu, select the Properties option.
  3. In the Properties menu, select the Compatibility tab.
  4. Select the Run this program in compatibility mode checkbox, then select an older windows version from the drop-down menu.
  5. Click on Apply and OK to save changes.

Run the problematic program again to see if you still get the Access Violation at Address error.

Check Your RAM for Corruption

You may encounter this Access Violation at Address error if you previously had a malware infection that caused damage to parts of your RAM.

You can check your RAM for corruption using the following steps:

  1. Input “Windows memory diagnostic” (without the quotes) in your Windows Search bar and launch the program.
  2. Click on the “Restart now and check for problems” option.
  3. Just let the program run and wait for its results.

You should replace your RAM if it is corrupted.

Create an options.ini file

If Lord of The Rings: Battle for Middle Earth is the program giving the EXCEPTION_ACCESS_VIOLATION error, follow the steps below:

  1. Use the Win + R shortcut to launch the Run box.
  2. Input “%appdata%” (without the quotes) and click Enter.
  3. In the folder, create an options.ini file if it doesn’t exist there.
  4. Right-click on an empty space in the folder, and choose New > Text Document.
  5. Paste the following lines into the Text Document:

AudioLOD = Low

HasSeenLogoMovies = yes

IdealStaticGameLOD = VeryLow

Resolution = 800 600

StaticGameLOD = VeryLow

TimesInGame = 1

  1. Now, select File > Save as.
  2. Choose All Files and enter the options.ini in the File name section.
  3. Select the AppData > My Battle for Middle Earth Files folder as the saving location and click Save.

Troubleshoot Your Hardware

Many Windows users have had success in fixing the Access Violation at Address error by resolving their hardware issues. Simply follow the steps below:

  1. Use the Win + I shortcut to launch the Settings app.
  2. Click on Update & Security.
  3. In the left pane, click on Troubleshoot.
  4. Follow the on-screen instructions to run the troubleshooter.
  5. Wait for the troubleshooting process to be completed.

Run the problematic program again to see if you still get the Access Violation at Address error.

Reinstall the Problematic Software

If you get the Access Violation at Address error when running a certain application, try reinstalling the affected program. There is a good chance that parts of the app you are trying to run have been damaged from crashes or improper saves. Perhaps, a buggy update has caused issues.

To remove the affected program, follow these steps:

  1. Use the Win + I shortcut to launch the Settings app.
  2. Click on Apps.
  3. Locate the problematic application from the list and click on Uninstall.
  4. Follow the usual procedure for installing the affected program.

Best solutions to the “Access Violation at Address” error on Windows 11

One of the ways of getting rid of errors and glitches on Windows is updating to the latest version of the OS available. Typically, operating system upgrades happen automatically. However, if you haven’t received the latest upgrade, follow these steps:

  • Go to Start.
  • Select Settings.
  • Navigate to Update & Security.
  • Select Windows Update
  • Go to Check for updates.

If an update is available, it will be automatically installed.

Windows 11 comes with several notable upgrades including new widgets, system tray upgrades, redesigned settings, multiple desktops — and more. However, while a lot of glitches and errors have been addressed in Windows 11, you may still be running into the Access Violation at Address” error.

Now, if you need to solve the “Access Violation at Address” error on Windows 11, you can go through all the same fixes as listed above. This includes:

  • Running a malware scan
  • Adding the data execution prevention exception
  • Making sure that the affected software isn’t set to “read only”
  • Checking your RAM for corruption
  • Troubleshooting your hardware
  • And, finally, reinstalling the problematic software

If you believe that your system is infected with malware but your default antivirus program hasn’t revealed any issues, consider getting a second opinion and running a scan with Auslogics Anti-Malware. The software is fully compatible with Windows 10 and Windows 11 and has been upgraded to detect even the rarest malicious items on a PC.

If a malware scan hasn’t revealed any issues on your system but you are still running into errors and experiencing a general slowdown of your system, consider using Auslogics BoostSpeed.

The program has been designed for Windows 11 and can efficiently remove junk files and other speed reducing issues from your PC in just a few clicks.


There you have it—nine solutions to fix your “Access Violation at Address” problems on Windows 10. Feel free to use the comment box below to share which method helped you get rid of the error.