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 error could also be caused by a faulty system file, malfunctioning hardware, or malware infection.

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 in certain operating games such as World of Warships, Overwatch, and Minecraft.

How to Resolve the Exception Access Violation Error on Windows 10

Follow the steps below to resolve the “Access violation at address” error:

Fix 1: 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.

PRO TIP

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 other elements that may slow down your PC and cause many issues.

Experts consider it one of the safest tools for eliminating all those annoying glitches and crashes once and for all.


Related: Auslogics Anti-Malware: Features and Reviews


Fix 2: Update your Windows

Updating Windows can resolve the “Access Violation at Address” issue by providing bug fixes, security patches, and updated system files that might solve compatibility issues or repair problematic system files causing the error.

Here’s a detailed step-by-step guide on how to update Windows 11:

  • Press the Windows key + I  to open the Settings app.
  • In the Settings app, click on the Windows Update tab located in the left-hand pane.
  • Click the Check for updates button. Windows will start searching for available updates.

Access Violation at Address

If there are updates available, Windows will automatically begin downloading and installing them. This process may take some time, depending on the number of updates and your internet connection speed.

Use optional updates to update Windows

If the Windows update has no current update, you can check the optional updates. Here’s why:

  • Click on Advanced Options and select Optional Updates.
  • Here, you can see and select additional updates, like driver updates or non-critical feature updates. Check the boxes next to the updates you wish to install.
  • Click the Download and Install button to begin the installation process.

Exception_Access_Violation


Related: Ultimate Guide: How to Manually Check and Install Windows Updates.


Fix 3: Add data execution prevention exception

If your computer does not have malware, you can add the problematic program to a data execution prevention exception list. This will let you run the program regardless of the “Access Violation at Address” error.

  • Input Control Panel in your Windows Search bar and launch the app.
  • Scroll down and click on System .
  • In the left pane, click on Advanced System Settings.
  • If you’re using Windows 11, Open the Settings app, scroll down under System , and click on About . Then, click on Advanced System Settings under the About page.

Exception_Access_Violation error on Windows 10

  • In the Advanced tab , click on Settings under the Performance section .
  • Then, click on the Data Executive Prevention tab.
  • Tick ​​the Turn on DEP for all programs and services except those I select option.

Here Image

  • Then click on the Add button and find your program’s .exe file.
  • Add it to the list, click Apply , and then click Okay to save the changes. 

“ Access Violation at Address” Error on Windows 10/11

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

Fix 4: 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.

  • In your Windows search bar, enter Control Panel and launch the app.
  • Scroll down and click on User Accounts.
  • Click on User Accounts again.

Access Violation at Address error

  • In the right pane, click on Change User Account Control settings.
  • Move the slider down to Never Notify and click OK .

 

access violation

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.

Fix 5: 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:

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

access -violation_read_only

 

Fix 6: Run the problematic program in compatibility mode

You may be receiving an Exception Access Violation error message on your PC due to compatibility issues. Some older programs that you are trying to run may not be compatible with newer operating systems like Windows 10.

However, 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.

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

Exception Access Violation error message on your PC

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

Fix 7: Run the system file checker and DISM tools

Running the SFC and DISM tools can help fix system file corruption issues that might be causing the “Access Violation at Address” error. These tools can replace the corrupt or missing Windows system file that may be triggering other errors, such as BSODs .

To run the System File Checker (SFC) tool, follow the detailed steps below:

  • Press the Windows key + X  and select Windows Terminal (Admin) or Command Prompt (Admin) from the context menu.
  • If prompted by User Account Control, click Yes to grant the necessary permissions.
  • In the Command Prompt window, type  and press Enter .sfc /scannow

command prompt window_Exception Access Violation error message on PC

The System File Checker will begin scanning your system for corrupted files. This process might take some time, so be patient. If SFC finds any corrupted files, it will attempt to repair them automatically.

Once the scan and repair process is complete, restart your computer to apply the changes.

Run the DISM tool

In some cases, the SFC tool may not be able to fix the corrupted files. In such situations, you can use the Deployment Image Servicing and Management (DISM) tool to repair the Windows system image.

Follow these steps to use the DISM tool:

  • Open command prompt as administrator.
  • type DISM /Online /Cleanup-Image /RestoreHealth and press Enter .

Here Image

The DISM tool will connect to Windows Update to download and replace any damaged files in your system image. This process may take some time, so be patient.

After running the DISM tool, run the SFC tool again. This time, the SFC tool should be able to fix any remaining corrupted files. After the process, restart your computer to see if the issue has been resolved. 

Fix 8: 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:

  • Input Windows memory diagnostic  in your Windows Search bar and launch the program.
  • Click on the Restart now and check for problems option.
  • Just let the program run and wait for its results.

You should replace your RAM if it is corrupted.


Related: How to Check How Much RAM You Have on Windows 10 PC and MAC


Fix 8: 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:

  • Use the Win + R shortcut to launch the Run box.
  • Input %appdata% and click Enter .
  • In the folder, create an options.ini file if it doesn’t exist there.
  • Right-click on an empty space in the folder, and choose New > Text Document.
  • 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 .

Fix 9: 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:

  • Use the Win + I  shortcut to launch the Settings app.
  • Click on Update & Security.
  • In the left pane, click on Troubleshoot .
  • Next, click on Additional Troubleshooters.

Windows update_additional troubleshooters_ Exception Access Violation

  • Choose the piece of hardware you want to troubleshoot and follow the on-screen instructions to run the troubleshooter.

Windows update_ Access Violation

  • Follow the on-screen instructions to run the troubleshooter.

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


Also Read: [SOLVED] Hardware Problems Detected by Windows Memory Diagnostic Tool


Fix 10: 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, or perhaps  a buggy update has caused issues.

To remove the affected program , follow these steps:

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

If you’re running Windows 11, you can search for the app in the Start menu, right-click it, and select Uninstall.

Access Violation at Address_windows 10

Conclusion

There you have it— solutions to fix your “Access Violation at Address” problems on Windows 10. Go through the steps discussed in this guide to resolve the problem. We are hopeful that one of the methods can fix the Access violation at address error!

Feel free to use the comment box below to share which method helped you get rid of the error.

FAQ

There are several ways to fix the access violation at address error. Ensure all drivers and Windows updates are installed on your system. Outdated software usually causes incompatibilities and access violations. 

Also, thoroughly check your system for viruses using a reliable malware tool like Auslogics Anti-Malware. For more solutions, check out the guide on this page.

Upgrade to the most recent versions of your operating system and drivers to address the access violation in Windows 11. If the error continues, try using the Windows Memory Diagnostic tool to see if there are any memory-related problems. 

Also, consider removing or disabling any recently installed drivers or apps that can interfere with system operations. Restoring the system to a previous stable state could fix the problem if everything else fails.

 

Before starting, ensure your computer has the most recent drivers and Windows updates installed. Also, reliable antivirus software like Avast should be used to run a comprehensive virus scan to remove potential threats. 

Run the System File Checker tool as well to look for and fix any corrupted system files that might be causing the problem.