STATUS_SXS_ACTIVATION_CONTEXT_DISABLED (0XC0150007) Fix
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.
- Right-click the app's shortcut and pick Run as administrator. Sometimes elevation bypasses a disabled context.
- If it works, then it's a permissions issue — but you'll want to go to Fix 2 anyway to clean the real mess.
- 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.
- Press
Windows Key + R, typeappwiz.cpl, and hit Enter. - 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.
- Uninstall all of them. Yes, every single one. Don't worry — Windows needs them, but we're going to reinstall them fresh.
- Restart your computer. After restart, you won't have any VC++ runtimes — don't panic.
- 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.
- Install both. Then restart again.
- 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.
- Press
Windows Key + R, typemsconfig, and hit Enter. - Go to the Services tab. Check Hide all Microsoft services at the bottom.
- Click Disable all. This turns off every third-party service.
- Go to the Startup tab. Click Open Task Manager.
- In Task Manager, select each startup item and click Disable. Do that for every item.
- Close Task Manager, click OK in msconfig, and restart.
- 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.
- 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.
- Open Command Prompt as administrator. Press
Windows Key + Xand pick Command Prompt (Admin) or Terminal (Admin). - Type
sfc /scannowand press Enter. This checks core system files. It'll take 10-15 minutes. Let it finish — don't close the window. - 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. - After both finish, restart your PC.
- 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.
- Press
Windows Key + R, typeregedit, and hit Enter. - Navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\ - 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.
- Close regedit and restart.
- 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?