App or game is “not designed to run on your OS” error [Fix]

Ivan Jenic
by Ivan Jenic
Loading Comments
Affiliate Disclosure

Besides Windows Update issues, problems caused by a faulty DLL files are one of the most common flaws of the Windows operating system. Most of the DLL-related issues prevent users from opening apps or games in Windows.

In this article, we’re going to talk about a particular error message that says that a certain app is “not designed to run on your OS”. This error is usually caused by mfc140u.dll, which is part of the Microsoft’s Visual C++ redistribution suite.

The mfc140u.dll error can prevent you from opening various apps or games in Windows, but most recently, users of the GOG client have reported that they’re unable to open it. So, in case you’ve recently encountered the same problem, we’ve prepared a few solutions that may help you deal with this error.

We also have to say that this error is not specifically tied to mfc140u.dll, as other DLL files can cause it too. So, even if another file caused the “not designed to run on your OS” error, you can still apply workarounds listed in this article.

Reinstall Visual C++

Since mfc140u.dll is part of the Visual C++ redistribution suite, the first thing we’re going to try is reinstalling the package. That way, a faulty DLL will be deleted, and a fresh and working replacement will come in its place. Since the Visual C++ redistribution suite usually comes with a certain app, we can’t reinstall it like other ‘normal’ apps.

However, Microsoft has a tool that allows you to reinstall Visual C++ easily. Here’s how to use it:

  1. Download the VC redis for mfc140u.dll (or the error you’re encountering)
  2. Run Install executable 
  3. Choose Repair
  4. Restart your computer

If the issue is gone, well, that’s it, your problem is solved, and you can stop reading this article. If not, move on to another solution.

Disable antivirus

There’s a chance your antivirus interferes with the Visual C++ files, and therefore causes the mentioned problem. To resolve that, we’re going to try the full reinstall, with antivirus disabled.

First thing first, we need to completely uninstall the Visual C++ redistribution suite. And here’s how to do that:

  1. Run the executable once again
  2. Choose Uninstall
  3. Restart your computer

Now, it’s time to disable your antivirus. Do that, and install the Visual C++ redistribution suite, by running the executable file.

If you notice that the problem re-appears when you turn the antivirus on, consider switching to another antivirus, or completely uninstalling in favor of Windows Defender.

Clean the registry

If reinstalling the suite didn’t solve the problem, the next thing you should do is cleaning your registry a bit. There’s also a chance that some part of your system won’t allow you to uninstall Visual C++, so this solution is helpful in this case, as well. Here’s exactly what you need to do:

  1. Go to Search, type regedit, and open Registry Editor
  2. Navigate to the following path: HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products
  3. Now, manually search through each listing in this folder, until you find the one with Microsoft Visual C++ 20XX” under “ProductName”
  4. Right-click every single entry, and choose Export
  5. Now, right-click them once again, and choose Delete

Reboot your PC now, and see if the error still persists.

Perform the SFC scan

If none of the solutions listed above managed to solve the problem, your last resort should be running the SFC scan. This is a built-in feature in Windows, that scans your system for various errors, and tries to automatically resolve them.

Using the SFC scan doesn’t always prove as a reliable solution, but you should try it. After all, the only thing you can lose is a little bit of your time. Here’s how to run the SFC scan:

  1. Right-click the Start Menu, and select Command Prompt (Admin)
  2. Type the following command, and press Enter: sfc/scannow
  3. Wait for the process to finish
  4. Restart your computer

That’s about it, we hope at least one of these solutions helped you to deal with this annying issue, and that you’re now able to run your apps and games normally.

If you have any questions, or suggestions, please feel free to let us know in the comments section below.