Besides Windows Update issues, problems caused by faulty DLL files are some of the most common flaws of the Windows operating system. These DLL-related issues usually prevent users from opening apps or games.
In this article, we’re going to talk about a particular error message that says that a certain app or game is not designed to run on your OS.
You’re most likely wondering: Is not designed to run on Windows or it contains an error? Well, this is an error usually caused by mfc140u.dll, which is part of Microsoft’s Visual C++ redistribution suite.
This is rather unpleasant, so we’ve prepared a few solutions that may help you deal with it. Do keep in mind that the issue 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 the workarounds listed below.
How can I fix App or game is not designed to run on your OS error?
1. Reinstall Visual C++
- At first, close all open programs.
- On your keyboard, press Windows+R keyboard shortcut to launch Run.
- Type in Control Panel and click OK.
- Select Uninstall a Program.
- It’s time to uninstall everything that starts with Microsoft Visual C++.
- When the above step is completed, you may download and install Microsoft Visual C++ from the official Microsoft Web site.
Since mfc140u.dll is part of the Visual C++ redistribution suite, the first thing you should do is to reinstall the package. That way, any faulty DLL will be deleted, and a fresh and working replacement will come in its place.
Uninstalling Visual C++ is possible just like any other program on your system, so follow the above steps. If the issue still occurs after applying the above procedures, move on to the next solutions.
You can’t open Control Panel? Take a look at this step-by-step guide to find a solution.
2. Clean the registry
- Go to Search, type regedit, and open Registry Editor.
- Navigate to the following path: HKEY_LOCAL_MACHINESOFTWAREClassesInstallerProducts.
- Now, manually search through each listing in this folder, until you find the one with Microsoft Visual C++ 20XX under ProductName.
- Right-click every single entry, and choose Export.
- Now, right-click them once again, and choose Delete.
- Reboot your PC now and see if the error still persists.
If the first solution made no difference, the next thing you should do is to clean your registry a bit. There’s also a chance that some part of your system won’t allow you to uninstall Visual C++.
That’s precisely why this trick is often helpful to solve the not designed to run on your OS error message, so don’t postpone applying the steps detailed above.
3. Run the System File Checker
- Right-click the Start Menu, and select Command Prompt (Admin).
- Type the following command, and press Enter: sfc/scannow
- System File Checker will verify the integrity of all protected operating system files stored on your PC. Wait for the process to finish.
- Then, don’t hesitate to restart your computer.
If none of the solutions listed above managed to fix the issue, 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.
If you’re having trouble accessing Command Prompt as an admin, then you better take a closer look at this guide. Having problems using the SFC tool instead? Check this useful guide and set things right once again.
We hope at least one of these solutions helped you to deal with this annoying 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.
Editor’s Note: This post was originally published in March 2017 and has been since revamped and updated in March 2020 for freshness, accuracy, and comprehensiveness.