The “Exception Access Violation” error is a common problem that arises on Windows computers. Although it can be a very frustrating issue to deal with, it is relatively easy to resolve. This tutorial explores the root cause of the error and provides you with easy-to-follow steps to get your computer back up and running smoothly.
Tip: dealing with files you can’t remove? Learn how to delete undeletable files from Windows.
Content
- What Is the Exception Access Violation Error?
- 1. Run the Hardware and Device Troubleshooter
- 2. Disable User Account Control
- 3. Add the App to the Data Execution Prevention (DEP) Exception List
- 4. Run the Problematic Application in Compatibility Mode
- 5. Check for Viruses and Malware
- 6. Disconnect Any Newly Connected or Installed Hardware
- 7. Reinstall the App
- Frequently Asked Questions
What Is the Exception Access Violation Error?
The “Exception Access Violation” issue is a type of runtime error that occurs when a program tries to access memory that it is not allowed or simply does not have permission to do so. The error can also occur when a program has difficulty getting the right allocation of memory from the available memory.
The “Exception Access Violation” error usually causes the problematic program to freeze or crash amid operation, sending the user back to the desktop. This is typically accompanied by the error message: “Exception Access Violation has occurred. The application will now close.”
What Causes the Exception Access Violation Error?
The Exception Access Violation error can be caused by a myriad of underlying problems, making it difficult to single out one culprit. The error could stem from one or a combination of different backend conflicts on the Windows operating system. Some of the most common reasons for the error include:
- Corrupt or outdated drivers
- Faulty RAM
- Hardware issues
- Conflicts between different programs
- Viruses or malware infections
- Bugs in the problematic program.
Tip: learn what to do if you’ve noticed your Ethernet speed is capped at 100 Mbps in Windows.
How to Fix the Exception Access Violation Error in Windows
Since the error isn’t caused by a single culprit, you may need to try different approaches, depending on the most likely cause of the error. Some of the following methods should help you fix the “Exception Access Violation” error on your Windows computer:
1. Run the Hardware and Device Troubleshooter
The first step is to run the Hardware and Device troubleshooter. This will initiate a troubleshooting process that will check your computer for any hardware-related problems and attempt to fix them.
- Press the Windows + R keys to launch the Run dialog box.
- In the text box, type
msdt.exe -id DeviceDiagnostic
and click “OK.”
- In the new Hardware and Devices window, select “Next” and follow the prompts.
- Wait for the diagnostic to scan and fix any hardware-related issue that it encounters.
- Restart your computer once the troubleshooter is done and launch the problematic app again.
2. Disable User Account Control
User Account Control (UAC) is a security feature on Windows that helps prevent unauthorized changes to your computer. However, it can sometimes cause conflicts with programs and trigger an “Exception Access Violation” error. Follow the steps below to disable UAC:
- Press Windows + R to launch the Run dialogue box.
- Type
control
in the text box and hit the Enter key.
- Click on “User Accounts.”
- Click on “User Accounts” again.
- Select “Change User Account Control settings.”
- Move the slider on the left all the way down to “Never notify” to turn off UAC.
- Restart your computer and check whether you can open the application.
Good to know: want to make your PC run faster? Learn how to stop background apps and processes from running in Windows.
3. Add the App to the Data Execution Prevention (DEP) Exception List
If the previous methods don’t fix the error, check the Data Execution Prevention (DEP) utility. It is a security feature on Windows that helps prevent malicious code from running on your computer.
However, it can sometimes mistake legitimate programs as malware, causing conflicts and leading to the “Exception Access Violation” error. Try adding the problematic app to the utility’s exception list by following the steps below:
- Open the Run window.
- Type
sysdm.cpl
in the input field and hit “OK.”
- This will open up the System Properties window. Switch to the “Advanced” tab and click the “Settings” button.
- In the Performance Options window, switch to the “Data Execution Prevention” tab and select “Turn on DEP for all programs and services except those I select.”
- Click on the “Add” button and locate the application causing this error.
- Once you have located it, click on “Open -> OK.”
- Restart your computer for the changes to take effect.
4. Run the Problematic Application in Compatibility Mode
Sometimes the “Exception Access Violation” error is caused by application compatibility issues. As a result, running the application in compatibility mode may help resolve the problem, especially if the current build of the app wasn’t developed with your version of Windows in mind. To run an app that triggers an Exception Access Violation error in compatibility mode, follow these steps:
- Right-click on the problematic application in its installation folder or on your desktop.
- Click on “Properties.”
- Click on the “Compatibility” tab and check the box that reads “Run this program in compatibility mode for.”
- From the drop-down menu, select the version of Windows that the application was originally designed for.
- Click on “Apply -> OK.”
- Restart your computer and try running the application again.
5. Check for Viruses and Malware
If you’ve explored several other solutions without any positive results, it could be time to check whether viruses and malware could be responsible.
- Press the Windows key and search for “Windows Security.”
- Click on the matching result to launch the Windows Security app.
- Go to the “Virus and Threat Protection” tab on the left pane and check whether any action is needed.
- Alternatively, click the “Virus and Threat Protection” option, then the “Quick Scan” button.
- When the scan is finished, follow the prompts on the screen to get rid of any lingering threats.
- Restart your computer and launch the problematic app once again.
Tip: you can also check out our guide on how to remove viruses on your computer without using antivirus software to ensure all virus-related problems are covered.
6. Disconnect Any Newly Connected or Installed Hardware
Newly connected or installed hardware can sometimes cause compatibility issues with your computer, leading to the “Exception Access Violation” error. This is especially true if you just replaced or upgraded your RAM.
To troubleshoot this issue, disconnect any newly connected or installed hardware (if possible) and try running the application again. If the error no longer occurs, you may need to update the drivers for the hardware or reinstall it.
7. Reinstall the App
If all the methods highlighted thus far didn’t resolve the error for you, your best bet is to uninstall the app as a last resort. A fresh installation, coupled with all the steps you’ve followed in this guide, should get you up and running in no time.
- Press Windows + I to launch the Settings app.
- Click “Apps -> Apps & Features.”
- Find the problematic application and click on the three vertical dots next to it, then select “Uninstall” from the options.
- Follow the prompts to completely uninstall the application.
- Restart your computer.
- Reinstall the application from the original source.
- Try running the application again.
Meanwhile, if you didn’t install the app and are only trying to launch it from a Program Files folder to your computer, delete the folder, reboot your computer and recopy it.
Tip: did you know you can use Windows Package Manager to easily install and update programs? Follow this guide to learn how.
Frequently Asked Questions
How can I avoid getting the "Exception Access Violation" error on my PC?
A good first step is to always keep your operating system up-to-date. Following through with regular updates gives your PC a lot of protection behind the scenes. Also, scan your PC regularly for viruses, ensure you have the latest app versions, and try as much as possible to only download apps from the Microsoft Store or other official sources. You can refer to this list of safe websites to download Windows software.
Is it possible to recover lost data after an "Exception Access Violation" error?
While it is possible to recover lost data after an “Exception Access Violation” error, the outcome depends on the specific circumstances that led to the error, the extent of the data loss, and the application involved. Typically, if the error was caused by a software issue, it will be relatively easier to recover the lost data. However, if the error was caused by a hardware failure, data recovery may be more complicated.
Image credit: Pexels All screenshots by Maxwell Timothy.
Subscribe to our newsletter!
Our latest tutorials delivered straight to your inbox
- Tweet