Windows

Fixing the “Unhandled Exception Has Occurred” Error in Windows 10

Learn how to troubleshoot the “Unhandled Exception Has Occurred” error in Windows 10 with practical fixes for damaged app files, compatibility issues, .NET problems, and other common causes.

Andrew Miller
Andrew Miller
Technology Writer  •  Sep 21, 2026  •  8 min read

The “Unhandled Exception Has Occurred” error in Windows 10 usually appears when an app crashes because it ran into a problem it could not handle. The message can show up when opening a program, using a specific feature, or closing the app, and it is often caused by damaged files, compatibility issues, or missing software components.

This error is annoying because it usually points to the app rather than Windows itself, which means the cause can vary from one program to another. The good news is that several practical fixes can narrow down the problem and, in many cases, stop the error completely.

Fixing the “Unhandled Exception Has Occurred” Error in Windows 10

What Usually Causes This Error

In most cases, the error is tied to the application that is crashing, not a general Windows failure. Common causes include corrupted program files, outdated software, missing .NET Framework components, driver conflicts, or settings that no longer match the version of Windows you are using.

Why It Matters If the error only appears in one program, you can focus on that app instead of troubleshooting Windows as a whole. That saves time and makes it easier to identify the real cause.

Try the Simple Fixes First

Start with the least disruptive steps. These often solve the problem without requiring deeper repair work or reinstalling Windows.

  1. Close the error message and open the app again. If the program only failed once, the issue may have been temporary.
  2. Check whether the error happens every time you perform the same action. If it does, that suggests a repeatable app or file problem.
  3. If the program has updates available, install them. Many stability issues are fixed by newer versions.
  4. If the error started right after a recent app update, the update may be the cause. In that case, check whether the developer offers a patch or rollback option.
Quick Tip If the error happens in only one file or project, test the app with a different file. That can tell you whether the problem is the program itself or just one damaged piece of data.

Run the Program as Administrator

Some applications fail because they cannot access the files or folders they need. Running the program with elevated permissions can sometimes bypass that problem.

  1. Right-click the program shortcut or executable file.
  2. Select Run as administrator.
  3. If the app opens normally, check whether the error still appears during the same task.
  4. If this helps, you may need to adjust the app’s shortcut or compatibility settings so it always starts with the correct permissions.
Note This is more likely to help with older applications or tools that write to protected folders.

Use Compatibility Mode for Older Software

If the app was designed for an older version of Windows, it may not behave correctly on Windows 10. Compatibility settings can sometimes make it more stable.

  1. Right-click the app shortcut or .exe file and choose Properties.
  2. Open the Compatibility tab.
  3. Check Run this program in compatibility mode for.
  4. Select an earlier version of Windows if the app is older.
  5. Click Apply, then try the app again.

If you are not sure which version to choose, try one option at a time. Compatibility mode is not perfect, but it can help older programs that rely on outdated Windows behavior.

Repair or Reinstall the Problem App

If the application files are damaged, Windows may keep loading the same broken components every time you launch it. Repairing or reinstalling the app can replace those files with working versions.

  1. Open Settings and go to Apps.
  2. Find the program in the installed apps list.
  3. If the app has a Repair option, use it first.
  4. If repair does not help, uninstall the program.
  5. Restarting is not always required, but it can help Windows release locked files before you reinstall.
  6. Install the latest version of the app from the official source.
Warning Before uninstalling, make sure you have any product keys, license information, custom settings, or important project files backed up if the app stores them locally.

Update or Repair .NET Framework

.NET Framework problems are a common reason for exception errors in Windows applications, especially older desktop programs. If a required .NET component is missing or damaged, the app may crash when it tries to load it.

  1. Open Windows Features or the app’s required documentation to check whether .NET Framework is needed.
  2. Install any missing .NET Framework version recommended by the app.
  3. Run Windows Update, since Microsoft often delivers .NET repairs and updates through it.
  4. If the app depends on a specific .NET version, reinstalling or repairing that version may solve the error.
Key Fact Many Windows desktop applications rely on .NET Framework components even if the user never installs them manually.

Check for Driver Problems

If the exception appears when launching a game, graphics tool, printer app, or hardware-related software, a driver conflict may be involved. A bad or outdated driver can trigger crashes in applications that depend on it.

  1. Open Device Manager.
  2. Look for devices with warning icons.
  3. Update the graphics driver first if the error affects games or visual apps.
  4. Update the driver for the hardware the app interacts with, such as audio, printer, scanner, or USB devices.
  5. If the issue started after a recent driver update, consider rolling back that driver.
Note Even on Windows 10, the Device Manager steps are the same. The menu names may look slightly different depending on your system.

Test for Corrupted System Files

Although this error usually comes from the app, damaged Windows system files can still cause programs to crash. System file checks can repair missing or corrupted components that the app depends on.

  1. Open Command Prompt as an administrator.
  2. Run the System File Checker command: sfc /scannow
  3. Wait for the scan to finish and follow any on-screen repair messages.
  4. If problems remain, run DISM to repair the Windows image and then repeat the SFC scan.
Warning Do not close the command window while the scan is running. Interrupting repairs can leave the system in an incomplete state.

Look at the Error Details

The exception dialog sometimes includes a file name, module name, or line of code reference. That information can help you tell whether the crash is caused by a plug-in, a specific add-on, or a known bug in the application.

Quick Tip Copy the exact text of the error message before closing it. Even a small detail such as a file name can make the next troubleshooting step much easier.

Check the App’s Data and Settings

Some programs crash because their saved configuration or user data becomes corrupted. In that case, reinstalling the app may not be enough if the damaged settings are restored afterward.

  1. Close the app.
  2. Look for the program’s settings or cache folder in your user profile or AppData folder.
  3. Rename or move the settings folder so the app creates a fresh one on the next launch.
  4. Open the program again and check whether the error still appears.
Note The location of app data varies by program. If you are not sure where it stores settings, check the app’s support documentation.

When the Problem Started After an Update

If the error began immediately after a Windows update, app update, or driver update, the timing is important. That usually means the newest change introduced a compatibility issue rather than a hardware failure.

Why It Matters Matching the timing of the crash to a recent change is one of the fastest ways to narrow down the cause. If nothing changed before the error began, the problem is more likely a damaged file or setting.

If the Error Keeps Coming Back

If you have already repaired the app, updated drivers, and checked Windows files but the exception still appears, the issue may be specific to the program’s version or your user profile. At that point, the next best step is usually to test the app on a different Windows account or install a clean copy of the software.

  1. Create or sign in with another Windows user account.
  2. Launch the app in that account and see whether the error appears.
  3. If it works there, your original profile may have damaged app data or permissions.
  4. If it still fails, collect the exact error text and check the app developer’s support pages for the specific exception message.
Best For Users who want to isolate whether the issue is tied to their Windows profile, app settings, or the program itself.

Which Fix Should You Try First?

If you want the fastest route, use this order: update the app, run it as administrator, check compatibility mode, repair or reinstall it, then move on to .NET Framework, drivers, and Windows file repair. That approach handles the most common causes without wasting time on deeper system checks too early.

Note If the app is critical for work or school, avoid making multiple major changes at once. Testing one fix at a time makes it easier to tell what actually worked.
Topics

More from Windows

View all →
How to Fix DISM Error 0x800f0915 in Windows
Windows

How to Fix DISM Error 0x800f0915 in Windows

How to Fix Command Prompt When You Can’t Run It as Administrator
Windows

How to Fix Command Prompt When You Can’t Run It as Administrator

5 Ways to Fix HP Support Assistant When It Won’t Install
Windows

5 Ways to Fix HP Support Assistant When It Won’t Install

Why USB Devices Show Up as Unknown in Windows 11
Windows

Why USB Devices Show Up as Unknown in Windows 11

How to Fix the Windows Fast Startup Error 0xc00000d4
Windows

How to Fix the Windows Fast Startup Error 0xc00000d4

How to Fix a Volume Bar That Keeps Appearing in Windows
Windows

How to Fix a Volume Bar That Keeps Appearing in Windows