0XC00000AA

STATUS_INSTRUCTION_MISALIGNMENT (0XC00000AA) Fixed

Windows Errors Intermediate 👁 8 views 📅 Jun 18, 2026

This error means your CPU tried to grab data from an odd memory address. The quick fix is disabling Data Execution Prevention for that specific program.

You're staring at an error code that looks like a tiny alien language — 0xC00000AA — and it just killed your app. I get it. Let's cut through the noise.

The Fix That Works 9 Times Out of 10

The most common cause of STATUS_INSTRUCTION_MISALIGNMENT is a conflict with Data Execution Prevention (DEP). DEP is a security feature that marks certain memory regions as non-executable. When a badly written driver or an old program tries to run code from one of those regions, Windows throws this error.

Here's the fix, step by step.

  1. Open System Properties. Press Windows + Pause/Break. If your keyboard lacks that key, right-click This PC on your desktop or in File Explorer, then pick Properties. Scroll down and click Advanced system settings on the left.
  2. In the System Properties window, go to the Advanced tab. Under Performance, click Settings.
  3. In the Performance Options window, click the Data Execution Prevention tab.
  4. You'll see two radio buttons. The default is Turn on DEP for essential Windows programs and services only. Leave that one selected.
  5. Below, click Add. Navigate to the .exe file that's crashing. For example, if it's an old game, browse to C:\Program Files (x86)\ThatGame\game.exe. Select it and click Open.
  6. You'll see a warning that says adding this program might reduce security. Click OK. Then click Apply and OK in every window until you're back at the desktop.
  7. Restart the program. Not your computer — just the application. The error should be gone.

After you click Apply, you should see the program appear in the exception list below the radio buttons. If you don't see it, you might have added the wrong .exe. Double-check the file path.

If the error still shows up, move to the next section. But honestly, this fixes it for most people — especially with older software like games from 2005-2010, or strange niche utilities like barcode scanners or industrial control software.

Why This Works

DEP works by marking memory pages as no-execute. When your CPU's NX (No Execute) bit is enabled, the processor checks every memory access. If the instruction pointer tries to read code from a page marked non-executable, the CPU raises a page fault — 0xC00000AA specifically means the memory address was misaligned by an odd number of bytes.

Older programs and drivers sometimes assume all memory is readable and executable. They might write code to a buffer on the stack and jump into it — something modern DEP stops cold. By adding the program to the DEP exception list, you're telling Windows: "I know this software is old and sloppy, but let it run anyway."

Less Common Variations

Sometimes the DEP exception doesn't cut it. Here's what else to try.

Corrupt or Incompatible Driver

If the error happens across multiple programs, or at system startup, you've got a bad driver. Open Device Manager. Look for any device with a yellow exclamation mark. Right-click it, choose Update driver, then Browse my computer for drivers, then Let me pick from a list of available drivers on my computer. Pick an older version if one's listed. Reboot.

If that doesn't work, boot into Safe Mode (hold Shift while clicking Restart, then Troubleshoot > Advanced options > Startup Settings > Restart > press 4). If the error disappears in Safe Mode, a third-party driver is the culprit. Update your chipset and network drivers from the manufacturer's site — not Windows Update.

Memory Testing

Bad RAM can cause misalignment errors, though it's rarer. Run Windows Memory Diagnostic: press Windows + R, type mdsched.exe, hit Enter, choose Restart now and check for problems. Let it run for a full pass. If it finds errors, replace the failing stick.

Virtual Machine Specific

If you're running inside a virtual machine (VMware, Hyper-V, VirtualBox), this error can pop up when the host CPU doesn't support certain virtualization extensions. In that case, enable VT-x/AMD-V in your VM settings. In VMware, go to VM > Settings > Processors > Virtualize Intel VT-x/EPT or AMD-V/RVI. Check that box, save, and restart the VM.

How to Prevent This from Coming Back

Prevention is less about stopping the error and more about keeping your system clean.

  • Keep drivers updated. Old drivers are the number one cause of misalignment errors. Use the manufacturer's update tool, not a third-party driver updater.
  • Don't run software from 2003 on Windows 11. Seriously. If you absolutely need it, use a virtual machine with Windows XP or run it under compatibility mode. Right-click the .exe, choose Properties > Compatibility, check Run this program in compatibility mode for, and pick an older OS.
  • Test your RAM yearly. Memory degrades over time. A quick memtest86 run every 12 months catches failing sticks before they corrupt your files.
  • Enable system protection. Create a restore point before installing new drivers or software. If the error comes back, you can roll back quickly. Press Windows + R, type sysdm.cpl, go to System Protection, and make sure protection is on for your system drive.

That covers it. You should be back up and running in under 10 minutes. If none of this works, the program is probably too broken for modern Windows — look for an updated version or a replacement.

Was this solution helpful?