0XC0150007

STATUS_SXS_ACTIVATION_CONTEXT_DISABLED (0XC0150007) Fix

Windows Errors Intermediate 👁 0 views 📅 Jun 8, 2026

This error means your app tried to run with a disabled side-by-side assembly. Usually old Visual C++ runtimes or corrupted .manifest files. Here's how to fix it.

What's happening here?

You're seeing error code 0XC0150007 with the message about a disabled activation context. This usually pops up right when you double-click a program — maybe an older game, a business app, or something you downloaded from a site that bundles runtimes.

The real cause: Windows tried to load a side-by-side assembly (usually a Visual C++ runtime or a .manifest file) but found it was marked as disabled. That can happen if a previous install or uninstall left things half-broken, or if you've got multiple versions of the same runtime fighting each other.

Let's fix it. I've ordered these steps from quickest (30 seconds) to slower (15+ minutes). Stop when the app runs.

Fix 1: Quick check — 30 seconds

This won't fix the root cause, but it'll tell you if the error is intermittent or stuck.

  1. Right-click the app's shortcut and pick Run as administrator. Sometimes elevation bypasses a disabled context.
  2. If it works, then it's a permissions issue — but you'll want to go to Fix 2 anyway to clean the real mess.
  3. If it still shows the same error, move to Fix 2.

Fix 2: Clean up Visual C++ runtimes — 5 minutes

This is the fix that works 8 times out of 10. The error comes from a borked Visual C++ redistributable. Old versions get left behind, and Windows gets confused about which one to load.

  1. Press Windows Key + R, type appwiz.cpl, and hit Enter.
  2. In the list, look for anything named Microsoft Visual C++ 20xx Redistributable. You'll probably see a bunch — 2005, 2008, 2010, 2012, 2013, 2015-2022.
  3. Uninstall all of them. Yes, every single one. Don't worry — Windows needs them, but we're going to reinstall them fresh.
  4. Restart your computer. After restart, you won't have any VC++ runtimes — don't panic.
  5. Go to Microsoft's official download page for the Visual C++ Redistributable latest supported downloads. That's the all-in-one pack from 2015-2022. Grab both the x86 and x64 versions.
  6. Install both. Then restart again.
  7. Launch your problem app. If the error is gone, you're done. If not, move to Fix 3.

Fix 3: Clean boot to find a conflict — 15 minutes

Sometimes a third-party service or startup program disables the activation context. A clean boot strips all non-Microsoft stuff so you can test.

  1. Press Windows Key + R, type msconfig, and hit Enter.
  2. Go to the Services tab. Check Hide all Microsoft services at the bottom.
  3. Click Disable all. This turns off every third-party service.
  4. Go to the Startup tab. Click Open Task Manager.
  5. In Task Manager, select each startup item and click Disable. Do that for every item.
  6. Close Task Manager, click OK in msconfig, and restart.
  7. After restart, try your app again. If it works, the problem is one of those services or startup programs. You can re-enable them one at a time and restart each time to find the culprit.
  8. If the error still shows up even in a clean boot, it's a deeper system file issue. Go to Fix 4.

Fix 4: System File Checker and DISM — 15+ minutes

Corrupted system files can disable activation contexts. Let's fix that.

  1. Open Command Prompt as administrator. Press Windows Key + X and pick Command Prompt (Admin) or Terminal (Admin).
  2. Type sfc /scannow and press Enter. This checks core system files. It'll take 10-15 minutes. Let it finish — don't close the window.
  3. If it finds corrupted files but can't fix them, or if it reports nothing, then run: DISM /Online /Cleanup-Image /RestoreHealth. This fixes the system image itself. Also takes 10-15 minutes.
  4. After both finish, restart your PC.
  5. Try the app again. If the error is gone, you're set. If not, there's one more thing to try.

Fix 5: Registry check — only if you're comfortable

A disabled activation context can lurk in the registry. This is rare, but I've seen it on systems where someone messed with compatibility settings.

  1. Press Windows Key + R, type regedit, and hit Enter.
  2. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\
  3. Look for a key named DisableActivationContext or PreferExternalManifest. If you find them, check if they're set to 1. If they are, double-click and change to 0.
  4. Close regedit and restart.
  5. Test your app.

If none of this works, the app itself may have a broken install. Uninstall it completely, then reinstall the latest version from the official source. That bypasses the messed-up activation context entirely.

Was this solution helpful?