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

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

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

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 protectionWindows 10 shows how to select Virus and Threat Protection
  3. Choose Quick scan and click Scan nowWindows 10 shows how to run a Quick Scan using Windows Defender
  4. If no threats are revealed after the quick scan, select Windows Defender Offline scan and click Scan nowWindows 10 shows how to perform a Windows Defender offline scan
  5. Patiently wait while Defender runs the scan. You shouldn’t use your computer during this time since it will be slowed down. If Defender identifies any viruses, allow it to quarantine or remove the suspicious files. Meanwhile, any files you consider safe should be moved to the whitelist in order to exclude them from further scans

16. Temporarily turn off your antivirus

Depending on the third-party antivirus program you have installed, certain security settings might conflict with your computer configuration. In other words, your security program might block your access to your favorite applications due to safety issues.

To quickly put this theory to the test, temporarily disable your antivirus and then try to open the file or launch the application. If you can do so without any more errors, it means that you have to change your antivirus settings and add an exception for your files and applications. Whatever you do, don’t leave the antivirus powered off since you will leave your PC vulnerable to Internet dangers.

17. Temporarily disable your firewall

Your firewall controls which applications are allowed to access the Internet and which outside servers can reach your machine. Normally, an application makes an exception for itself in the system firewall as soon as you set it up. However, if that doesn’t happen on your computer because you or someone else changed firewall settings, you can end up with application errors like 0xc0000005.

Easily test this by deactivating your firewall:

  1. Log in to Windows 10 with administrator rights
  2. Press the Windows key, type Check firewall status, and hit Enter
  3. Click Turn Windows Defender Firewall on or off on the left part of the windowControl Panel shows how to turn Windows Defender Firewall on or off
  4. Set Turn off Windows Defender Firewall at both Private network settings and Public network settings. Click OKControl Panel shows how to turn off Windows Defender Firewall

Try to launch the application or open the file that was giving you trouble before.

If you’re successful, restore firewall settings to default:

  1. Search for firewall on your computer and open Firewall & network protection
  2. Scroll down and click Restore firewalls to defaultWindows Security shows how to restore firewalls to default
  3. Click Restore defaults and Yes to confirm

If the 0xc0000005 error returns, add an exception for your app in the firewall:

  1. Go back to Firewall & network protection
  2. Click Allow an app through firewallWindows 10 shows how to allow an app through the firewall
  3. Click the Change settings button (you need admin rights)
  4. Search for your app in the list. If it’s not there, click Allow another app, the browse your computer and add your application’s launcher fileWindows 10 shows how to allow another app through the firewall
  5. Select your app from the list, check its box, then enable the Private and Public options next to itWindows 10 shows how to allow Google Chrome through the firewall

18. Change Data Execution Prevention settings

Data Execution Prevention (DEP) is a security tool built into Windows 10, whose role is to protect memory pages by stopping applications from deploying malicious code. If the program you’re trying to launch has a behavior seen as malicious, DEP won’t let you access it. It could be the reason why you keep getting the 0xc0000005 violation error.

But you can make an exception for your app in Data Execution Prevention:

  1. Press Win key + R, type sysdm.cpl, and press Enter to access System Properties
  2. Go to the Advanced tab
  3. At Performance, click the Settings buttonWindows shows how to access advanced performance settings
  4. Switch to the Data Execution Prevention tab
  5. Select Turn on DEP for all programs and services except those I select
  6. Click Add, open your application’s executable file, and click OK to confirm. You can do this for multiple programs. However, keep in mind that DEP can’t be turned off for certain programsWindows 10 shows how to manage data execution prevention settings
  7. Click Apply and exit to the desktop
  8. Try to open your program now

If you later wish to restore Data Execution Prevention settings to default, retrace the steps above to reach the Data Execution Prevention tab. Then, choose Turn on DEP for essential Windows programs and services only, and click Apply.

19. Disable the LoadAppInit_DLLs registry entry

Another way to fix the 0xc0000005 violation code error is by disabling the LoadAppInit_DLLs registry entry. Don’t worry about damaging computer settings since you will be creating a registry backup before changing anything, just in case you need to restore the original configuration later.

  1. Click the Start button, search for regedit, and open Registry Editor
  2. Open the File menu and click ExportHow to create a registry backup
  3. Set a file name and destination, then click Save to create the registry backup file (.reg format)
  4. Go to this location:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows
  5. Find the LoadAppInit_DLLs entry and check that its Data is set to 0x00000000 (0). If it’s not, double-click the entry, set Value data to 0 and Base to Hexadecimal, then click OKRegistry Editor shows how to check LoadAppInit_DLLs
  6. Exit Registry Editor

If you need to restore the previous registry settings for any reason, just double-click the .reg file you previously exported.

20. Repair the BCD file

If your system’s BCD (Boot Configuration Data) is malfunctioning, Windows might have trouble trying to process the files and settings required for launching programs. But you can repair the BCD file using a Windows installation media:

  1. Connect an empty USB flash drive into your PC
  2. Download Media Creation Tool from the official website
  3. Start the application and follow the steps to set up a Windows installation media disk
  4. Click the Start button and open the power menu
  5. While holding down the Shift key, click Restart to boot Windows to the troubleshoot menu
  6. Select Troubleshoot > Advanced Options > Command Prompt
  7. Choose your PC account and enter your password to continue
  8. Write the next commands (hit Enter after each line of code):
    • bootrec /repairbcd
    • bootrec /osscan
    • bootrec /repairmbr
  9. Exit Command Prompt and start Windows normally

21. Disable startup programs

Your operating system might have trouble accessing files due to conflicting applications that automatically run at every Windows boot. To fix this problem, you should disable all autostart apps:

  1. Press Ctrl + Shift + Esc to launch Task Manager
  2. Go to the Startup section
  3. Select a program with the Enabled status and click Disable. Do this for all apps with the Enabled statusWindows 10 shows how to disable startup processes
  4. Restart your computer

22. Run a clean system boot

You can run a clean Windows 10 boot in order to disable non-essential system services and startup items that might be affecting your applications and causing the 0xc0000005 error. Here’s what you need to do:

  1. Click the Start button, search for System Configuration, and press Enter
  2. Stay in the General tab
  3. Choose Selective startup
  4. Disable Load system services and Load startup items
  5. Click Apply and exit
  6. Right-click the taskbar and open Task Manager
  7. Go to the Startup area
  8. Disable all apps with the Enabled statusWindows 10 shows how to disable startup processes
  9. Reboot your PC

23. Start Windows 10 in Safe Mode

You can start Windows 10 in Safe Mode to create a secured environment for diagnosing computer issues that lead to application error 0xc0000005. Here’s what you need to do:

  1. Shut down your computer and turn it on. Interrupt the boot sequence three times in a row to reach the Advanced Startup menu
  2. Select Troubleshoot > Advanced options > Startup Settings
  3. Click Restart and wait
  4. Press F5 to boot Windows in Safe Mode with Networking or, if you don’t need Internet access to open the files or launch the applications that are giving you trouble, press F4

24. Roll back Windows 10

You can revert Windows 10 to a checkpoint that was recorded before you started experiencing the 0xc0000005 access violation error, thanks to System Restore. Before proceeding, keep in mind that all applications installed beyond the restore point will no longer exist, so you will have to reinstall them.

How to use System Restore:

  1. Log in to Windows 10 using an admin account
  2. Press the Win key, search for Control Panel, and open this app
  3. Select RecoveryWindows 10 shows how to access Recovery from Control Panel
  4. Click Open System RestoreWindows 10 shows how to open System Restore
  5. Select a restore point from the list or click Show more restore points to inspect more options. To find out which apps you will have to reinstall, click Scan for affected programs
  6. Proceed with the remaining steps. Windows will reboot to complete the restore

25. Use a Linux live distro

Unfortunately, System Restore often fails to work. When you exhaust all your options, it’s time to prepare your PC for a full reset. During preparation, you should back up all personal files and any applications you don’t want to reinstall after the reset. If you’re having a difficult time performing file operations like copying due to various errors, you can create a Linux live distro.

How to create a Linux live distro with Rufus:

  1. Download a Linux distro like Ubuntu
  2. Plug a pen drive into your PC. Copy any files you might need later since the drive will be formatted
  3. Download Rufus from the official website
  4. Set up and launch Rufus
  5. Select the pen drive and set Boot section to Disk or ISO image
  6. Click SELECT and add the Ubuntu ISO image
  7. Set Partition scheme to MBR
  8. At File system, select FAT32
  9. Click OK and waitRufus shows how to create a bootable USB drive with Ubuntu

How to boot Ubuntu from the USB flash drive:

  1. Make sure the pen drive remains plugged into your computer
  2. Restart Windows but, before system boot, quickly press the key displayed on the screen to access the boot startup menu (F12 on some computers)
  3. Choose the USB storage drive with Ubuntu and press Enter
  4. After Ubuntu loads, access your files and create a backup

26. Reset your PC

Once you make sure that all your essential files are safely copied somewhere, you can perform a factory reset on Windows 10 by removing not only applications and files, but also by formatting the drive to erase any problem that caused application error 0xc0000005 in the first place.

How to reset Windows 10:

  1. Click the Start button, type Reset this PC, and press the Enter key
  2. Click the Get started buttonWindows 10 shows how to reset this PC
  3. Select Remove everything and proceed with the next instructionsWindows 10 shows the PC reset options

Application error 0xc0000005 can be fixed

To review, the 0xc0000005 violation error can occur when trying to open files, launch applications, or play games. It indicates an underlying problem with your hard disk or operating system that must be immediately resolved.

You can try a simple solution like restarting your computer, closing all processes, or running the app with administrator rights. However, if the problem is more complicated than that, you can run Program Compatibility Troubleshooter, clear the application cache, reinstall the program, repair and reinstall .NET Framework, check for system updates, or reset the Windows Update components.

It’s also a good idea to run the Hardware and Devices troubleshooter, fix corrupt hard disk and operating system issues, check the system RAM, update or roll back drivers, run a computer malware scan, temporarily disable the antivirus and firewall, change Data Execution Prevention settings, deactivate the LoadAppInit_DLLs registry entry, or repair the BCD file.

Furthermore, you can disable applications that automatically run at every system startup, run a clean system boot, or roll back Windows 10 to a previous checkpoint using System Restore. However, if everything fails, you can use a Linux live distro to access and back up your files in order to prepare for a Windows 10 factory reset that will surely resolve the violation error.

How did you manage to get rid of this error? Tell us about your experience in the comments below.