• Checking the system files and repairing the Visual C++ Redistributable packages can help fix this error.
  • If this error only affects a specific app or program, review its permissions or try reinstalling it on your PC.
  • If the error persists, try re-registering the problematic DLL file using Command Prompt or perform a system restore.

Try Basic Fixes

  • Update or reinstall the problematic software: Compatibility issues with your app or program can trigger the “DLL is not designed to run on Windows” error on your PC. If this error only affects a specific app or program, try updating or reinstalling it and see if it helps.
  • Scan for malware: The presence of malware on your PC could also prevent DLL files from running correctly on your Windows 10 or 11 PC and cause such problems. To overrule this, run a full system scan using Windows Defender or a reliable third-party antivirus program.
  • Install Windows updates: Microsoft frequently releases updates for your Windows PC to add new features, improve performance, and fix bugs and issues. It’s a good idea to install any pending Windows Updates and see if that helps.

Fix 1: Check for Permission Issues

A lack of necessary permissions is a common reason you may encounter the “DLL is not designed to run on Windows” error while running an app or program. Here’s how to fix that.

Step 1: Click the search icon on the taskbar, type the name of the program that’s giving you the error, and select Open file location .

Open File Location of Program - 1

Step 2: Right-click on the .EXE file of the program and select Properties .

Open Properties of EXE File - 2

Step 3: Under the Security tab, click the Edit button.

Edit Permission of EXE File - 3

Step 4: Select Users and tick the Allow checkbox for Full control . Then, hit Apply > OK .

Full Control Over Program - 4

Fix 2: Run the SFC and DISM Scans

Corrupt or damaged system files on your computer can also cause such errors. You can run the built-in SFC (System File Checker) and DISM (Deployment Image Servicing and Management) scans to fix the damaged files causing the error.

Step 1: Right-click on the Start icon and select Terminal (Admin) from the list.

Open Terminal (Admin) on Windows 11 - 5

Step 2: In the console, type the following command and press Enter .

SFC /scannow
SFC Scan on Windows - 6

Step 3: Run the following commands one by one and press Enter after each one to run the DISM scan:

DISM /Online /Cleanup-Image /CheckHealthDISM /Online /Cleanup-Image /ScanHealthDISM /Online /Cleanup-Image /RestoreHealth
DISM Scan - 7

Now, restart your PC to check if the issue persists.

Fix 3: Repair the Visual C++ Redistributable Packages

Several popular Windows apps and programs rely on Visual C++ runtime libraries to provide essential features and operate smoothly. However, if there is a problem with the Visual C++ redistributable package on your computer, you may get the error “DLL is not designed to run on Windows” while opening or using a program. Here’s how to can fix that.

Step 1: Press the Windows + R keyboard shortcut to open the Run dialog box. Type appwiz.cpl and press Enter .

Step 2: Select the Microsoft Visual C++ Redistributable package and click Change . Repeat this process to repair all the packages.

Repair Microsoft Visual C++ Redistributable Package - 8

Step 3: Hit the Repair button and wait for the process to complete.

Repair Microsoft Visual C++ Redistributable - 9

Fix 4: Re-Register the Problematic DLL File Using Command Prompt

Another thing you can do to resolve this error is to re-register the problematic DLL file. Here’s how:

Step 1: Right-click on the Start icon and select Terminal (Admin) from the list.

Step 2: In the console, type regsvr32 , followed by the name of the DLL file. For instance, if you were to re-register the msxml3.dll file, your command would be this:

regsvr32 msxml3.dll
Re-Register DLL Files - 10

Exit the Terminal window and check if Windows still shows the error.

Fix 5: Perform a System Restore

Lastly, if the “DLL is not designed to run on Windows” error has only started appearing recently, use system restore to revert your PC to a point when it was working properly. Here’s how.

Step 1: Click the search icon on the taskbar, type create a restore point , and press Enter .

Open System Restore on Windows 11 - 11

Step 2: Navigate to the System Protection tab and click the System Restore button.

Open System Restore on Windows 11 - 12

Step 3: Select the Recommended restore option and click the Next button at the bottom.

Restore Point Windows 11 - 13

Step 4: Click Finish and allow Windows to restore to the specified restore point.

Perform a System Restore on Windows 11 - 14

Was this helpful?