1. Home
  2. Windows Tips
  3. Exception code 0xc0000005

How to Fix Outlook Exception Code 0xc0000005 (Full Guide)

“`html
The 0xc0000005 application error (access violation) can occur when trying to open a file, play a game, or launch a program. It’s triggered by system issues that prevent Windows from accessing the files and settings required for launching one or more applications.

For instance, users have reported getting this error when attempting to launch League of Legends. In other cases, it caused PC audio problems. It might seem impossible to solve the problem when you can’t even access basic system tools, but it can be done nonetheless.

Exception Code 0xc0000005

How to fix Exception Code 0xc0000005 on Windows 10

Check out the following solutions to troubleshoot the 0xc0000005 error. We suggest creating a system restore point before getting started, so that you can easily undo changes and start from scratch if necessary.

1. Restart your computer

Get started with the simplest possible solution: restarting your computer. If the 0xc0000005 application error was caused by a hanging process or faulty service, then a PC reboot should do the trick. And, if you want to be thorough about it, you can perform a hard PC reboot in order to clear the memory cache. Here’s how:

  1. Shut down your computer from the power menu
  2. Unplug the PC from its power source. If you have a laptop, make sure to remove its battery
  3. Press and hold the power button for 15-20 seconds to clear the cache
  4. Plug the computer back into its power source and turn it on

2. Close all application processes

If the application’s processes weren’t properly closed the last time you launched the program, it’s possible that the situation has led to access violation error 0xc0000005. To fix it, make sure to terminate all processes before relaunching a specific program. Here’s what you need to do:

  1. Press Ctrl + Shift + Esc to open Task Manager
  2. Find your app and select its entire process treeTask Manager shows how to end the Google Chrome task
  3. Click End task
  4. Try to launch the program now

3. Run as administrator

The 0xc0000005 access violation error could be caused by a lack of user permissions when attempting to launch a specific program or system tool. To easily test this, right-click the application’s launcher and select Run as administrator. If the option doesn’t appear in the context menu, hold down Shift when clicking the executable file.

Windows 10 shows how to run League of Legends as administrator

However, if you’re trying to open a file with any other extension besides .exe, you have to run its application with admin rights. For example, let’s assume that you’re trying to open a PNG image using IrfanView. In this case, you must run IrfanView with admin rights and then open the PNG image using the photo viewer.

Otherwise, if IrfvanView is set as the default photo viewer on your Windows 10 PC, right-click its launcher file, switch to the Compatibility tab, select Run this program as an administrator, click Apply, and exit. Now you should be able to open the PNG file by just double-clicking it in your file browser. Windows will automatically run IrfanView with elevated rights.

Windows 10 shows how to configure compatibility settings for IrfanView

4. Run Program Compatibility Troubleshooter

Windows 10 has an internal troubleshooter dedicated to fixing program compatibility issues. You can use it to repair the 0xc0000005 error if you’re trying to open files using applications that don’t fully support your operating system. Here’s how:

  1. Click the Start button, search for Troubleshoot settings, and press Enter
  2. Click Additional troubleshooters
  3. Select Program Compatibility Troubleshooter and click Run the troubleshooterWindows 10 shows how to run Program Compatibility Troubleshooter
  4. Choose the program you’re having problems with. If it’s not there, select Not Listed and click Next
  5. Click Browse to find and add the program’s launcher file
  6. Proceed to the next step and select Try recommended settings
  7. Click Test the program, observe results, then click Next
  8. If you still get the 0xc0000005 error, pick No, try again using different settings
  9. Follow the remaining wizard steps

5. Clear the app cache

You should empty the application’s cache to delete temporary data that might prevent your program from launching correctly. The steps vary for each program, so it’s a good idea to look up the cache clearing steps online. Here are some suggestions.

How to clear the cache of a Microsoft Store app:

  1. Click the Start button, search for the app, select it, and click App settingsWindows 10 shows how to access Camera app settings
  2. Scroll down and click ResetWindows 10 shows how to reset the Camera app
  3. Click Reset again to confirm

How to clear Google Chrome cache:

  1. Press Win key + E to open File Explorer
  2. Click inside the address bar, type %appdata%, and press Enter
  3. Go one folder up (from Roaming to AppData)
  4. Head over to Local > Google > Chrome
  5. Delete the User Data folderhow to delete the user data folder of Google Chrome

How to clear Steam cache (if you can’t play games on Steam):

  1. Open File Explorer
  2. Go to C:\Program Files (x86)\Steam\ if you installed Steam in the default directory
  3. Delete the appcache folderWindows Explorer shows how to delete the Steam appcache folder

6. Reinstall the application

There could be something wrong with the application that you’re trying to launch, but you can resolve this problem by removing it from your PC and then reinstalling it. Here’s how to do it correctly:

  1. Right-click the taskbar and select Task Manager
  2. Find your application, choose its entire process tree, and click End taskTask Manager shows how to end the Google Chrome task
  3. Right-click the Start button and go to Apps and Features
  4. Select your application from the list, click Uninstall and again to confirmWindows 10 shows how to uninstall Google Chrome
  5. Proceed with the removal operation
  6. Restart your computer
  7. Download the application from its official website
  8. Install and try to launch it

7. Repair and reinstall .NET Framework

Some software programs depend on .NET Framework to work properly. If the Framework package has corrupt, modified, or missing files, it could be the reason why you keep getting application error 0xc0000005. But you can easily fix this issue by repairing .NET Framework using a dedicated tool from Microsoft.

How to use Microsoft .NET Framework Repair Tool:

  1. Download Microsoft .NET Framework Repair Tool from the official website
  2. Launch the application and agree to the license terms
  3. Click Next to begin a computer scan
  4. Make sure to apply any fixes found by the repair tool, like reregistering or restarting the Windows Installer service

Try to launch your application after using the repair tool. If you still can’t shake off the error code, it’s a good idea to reinstall .NET Framework.

How to reinstall Microsoft .NET Framework:

  1. Press Win key + R, enter appwiz.cpl, and hit the Enter key
  2. Find and uninstall .NET Framework. If you have multiple versions installed, make sure to remove all of them
  3. Using a web browser, visit the .NET Framework official download page
  4. In the Supported versions group, click the recommended entry
  5. Download the runtime version (for non-developers)
  6. Install .NET Framework
  7. Check if you can open programs now

8. Check for system updates

Make sure that your Windows 10 computer is equipped with the latest features, improvements, hotfixes, and security patches from Microsoft. If there’s a system-wide problem known to cause the 0xc0000005 error, Windows Update will likely take care of it soon.

  1. Press the Windows key, type Check for updates, and press EnterWindows 10 shows how to check for system updates
  2. If the online search doesn’t begin automatically, click Check for updatesWindows 10 shows how to check for updates
  3. Wait a few seconds until Windows and click Download if there are any pending updatesWindows 10 shows how to download system updates
  4. Restart your computer

9. Reset Windows Update

If Windows Update doesn’t work properly and gives you various errors, it’s a good idea to reset its cache and all components involved in this tool by turning to the command-line environment.

  1. Sign in to Windows 10 using an administrator account
  2. Click the Start button, search for Command Prompt, and open this app
  3. Enter the following lines of code (press Enter after each one):
    • net stop wuauserv
    • net stop cryptSvc
    • net stop bits
    • net stop msiserver
    • ren %SystemRoot%\SoftwareDistribution SoftwareDistribution.old
    • ren %SystemRoot%System32\catroot2 Catroot2.old
    • net start wuauserv
    • net start cryptSvc
    • net start bits
    • net start msiserver
  4. Reboot your computer and try to run Windows Update again

10. Run the Hardware and Devices troubleshooter

The 0xc0000005 application error could be triggered by malfunctioning hardware and devices. It’s usually a simple problem, like quickly reinstalling a device that wasn’t properly set up on your PC.

Under normal circumstances, you should find the tool in Troubleshoot Settings. However, if the Hardware and Devices troubleshooter is missing from your computer, here’s what you need to do:

  1. Press Win key + R, type msdt.exe -id DeviceDiagnostic, and hit the Enter key
  2. Click Next and allow your operating system to apply any fixesWindows 10 shows how to run the Hardware and Devices troubleshooter
  3. Restart your PC after the wizard is finished
  4. Try to launch programs now

11. Fix hard drive corruption

If your hard disk has corrupt files, Windows might not be able to open files or launch programs anymore, resulting in violation error 0xc0000005. But you can fix this problem by using a command-line tool that comes bundled with Microsoft’s operating system, called CHKDSK (Check Disk).

How to use CHKDSK:

  1. Press Windows key + R, type cmd, and press Ctrl + Shift + Enter to open Command Prompt with elevation rights
  2. If Windows is installed on the default C: drive, run chkdsk c: /f /r. Else, replace c: with the correct partition letter
  3. Run y when you’re asked to confirm scheduling CHKDSK during the next system boot
  4. Restart your computer and wait for CHKDSK to do its job

12. Repair corrupt system files

Your operating system could have corrupt or missing files that prevent applications from running properly on your PC. You can restore damaged items with the help of SFC (System File Checker). Just like CHKDSK, you can operate this tool from the console environment.

How to use SFC:

  1. Run Command Prompt as admin
  2. Type sfc /scannow and hit EnterWindows shows how to run the sfc scannow command in CMD
  3. Windows will find and repair any issues. Once it finishes, restart your PC

If SFC won’t solve the 0xc0000005 error, you can use DISM (Deployment Image Servicing and Management) to check the component store of the Windows image.

How to use DISM:

  1. Launch Command Prompt with elevated rights
  2. Run DISM /online /cleanup-image /scanhealth and waitWindows 10 shows how to run DISM /online /cleanup-image /scanhealth in CMD
  3. If it finds any problems, run DISM /online /cleanup-image /restorehealth
  4. Once it completes its task, restart your PC
  5. Open Command Prompt as admin again
  6. Run SFC (sfc /scannow)
  7. Reboot your PC one last time

13. Check the system memory

If you’re experiencing any problems with the system RAM, it could affect all operations in your computer, including critical ones like opening files or launching apps. To fix RAM issues, you can turn to Windows Memory Diagnostic. Here’s how to use it:

  1. Make sure to save and close any projects you’re currently working on
  2. Click the Start button, search for Windows Memory Diagnostic, and open this app
  3. Click Restart now and check for problemsReboot your PC to run Windows Memory Diagnostic

Your computer will reboot and start checking the system memory for issues. It performs a Standard test by default, but we suggest opting for the Extended version since it’s in-depth. Press F1 to go to options, select Extended, and hit F10.

You can leave your PC unattended while it’s busy identifying memory problems. Once it completes, it will start Windows 10 normally and show the scan results in the notifications center. An alternative solution is MemTest86, which you can use to perform a RAM stress test.

14. Check your drivers

Your device driver might be outdated or incompatible with your operating system. In time, this can lead to error 0xc0000005 when attempting to open files, play games, and launch various applications. Begin the troubleshooting process by checking if your device and video drivers are obsolete and need updating.

How to update drivers:

  1. Right-click the Start button and go to Device Manager
  2. Click the small arrow next to Disk Drives to extend this group
  3. Select your disk, right-click it, and choose Update driverDevice Manager shows how to update disk driver
  4. Click Search automatically for drivers. If you get the The best drivers for your device are already installed message, click Search for update drivers on Windows Update. But if you have already checked for system updates, there’s no need to do this again
  5. Do the same for your video driver in the Display adapters categoryWindows shows how to update display adapter drivers in Device Manager

Windows is rarely successful at finding and downloading drivers on its own. In fact, it’s more reliable to do this manually: find the name of your driver in the Properties section, visit the official website, download a newer version, then return to Device Manager to perform the update by selecting the Browse my computer for drivers option.

However, if you’re having a hard time trying to figure out which drivers are obsolete and where to download them from, it’s easier to use a driver update application. It scans your computer, finds obsolete drivers, locates newer versions on the web, and installs them to your computer. And it’s all performed automatically. Plus, you won’t risk getting incompatible drivers that might end up causing more harm to your PC.

How to roll back unsupported drivers:

  1. Press Win key + R, type devmgmt.msc, and hit Enter
  2. Choose the device with the unsupported driver, right-click it, and go to Properties
  3. Select the Driver section
  4. Click Roll Back Driver and follow the steps. If the button’s greyed out and you can’t click it, it’s not possible to make the rollback because there’s no previous driver version saved to your PC. You can skip this stepThe Roll Back Driver button is greyed out in Device Manager

If you’re encountering driver-related issues that cause system crashes, you may also want to learn how to fix a driver power state crash.

15. Run a malware scan

If your operating system has viruses, it’s no wonder that you keep getting error codes like 0xc0000005 when trying to use your computer. It’s time to use Windows Defender or any other third-party anti-malware solution installed, in order to find and eliminate any threats from your hard drive.

How to use Windows Defender:

  1. Press the Win key, search for Windows Security, and launch this app
  2. Go to Virus & threat protection