DWMAPI.DLL Missing/Loading Errors - Fix-it Guide

Reading time icon 8 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team Read more

DWMAPI.DLL

Are you getting the Dwmapi.dll missing or loading errors when launching a game or software?

Third-party Windows software and games may fail to load when they can’t interact with the Microsoft Desktop Window Manager API or the Dwmapi.dll file.

Luckily, I’ve tested various troubleshooting techniques to help you fix and restore the missing DLL files. Let’s check them out!

What Is Dwmapi.dll?

Dwmapi.dll is a system file that controls Windows Aero and other modern Microsoft Store Themes. It’s the API file for the Desktop Window Manager. Third-party apps and games use it to interact with the Windows default themes and other visual features.

When you see the missing or can’t load aler, it means any of the following:

  • Some malware or apps might have deleted the file.
  • A malicious app keeps the DLL file busy so others can’t access it.
  • 15 other DLL files are statically linked to Dwmapi.dll, so one of those must be missing too.
  • The DLL file isn’t for anything earlier than Windows Vista. So, the app that’s not running isn’t compatible with your system if you try to run it on Windows XP or older PCs.

How To Fix Dwmapi.dll Missing or Loading Errors

Now, let me show you how to resolve this issue:

Download Dwmapi.dll From a Third-Party Source

The best and quickest way is to download a fresh copy and place it into the appropriate directory so the app looking for this file can access it.

  1. Visit the DLLme portal.
  2. Download the Dwmapi.dll file.
Download
  1. Extract it into a directory.
extract file
  1. Now copy the file and paste it into the following Windows system directories:
    • C:\Windows\System32
    • C:\Windows\SysWOW64
extract file
  1. For third-party apps that keep the DLL file in their own directories, look up any of these folders and paste it:
    • bin
    • lib
    • plugins
    • dll
    • modules
    • extensions
    • shared
    • components
    • external
    • resources
  2. If you can’t locate the exact folder, contact the game app developer and ask for the correct location for the Dwmapi.dll file.

The app or game isn’t fully compatible if the error is on a Windows XP PC. Still, you can try copying the DLL file in the System32 directory and see if there’s any improvement.

Register the DLL File Using REGSVR32.EXE

You can register the newly copied DLL file manually or force a registration if it’s already available in System32 or SysWOW64.

  1. Press Windows + X to launch the Power User menu.
  2. Select Windows PowerShell (Admin).
Windows PowerShell
  1. In the terminal, type regsvr32 dwmapi.dll.
  2. Hit Enter.
  3. You should see the “The module was loaded…” message.
The module was loaded

Perform a Clean Boot

This method will help you find if any third-party app keeps the DLL file busy so others can’t access it. Here’s how to clean boot your Windows PC:

  1. Call the System Configuration dialog box by pressing Windows + R and running the msconfig command.
  2. Go to the Services tab.
  3. Select the Hide all Microsoft services option.
  4. Click Disable all.
Hide all Microsoft services
  1. Now, navigate to the Startup tab of the same dialog box.
  2. Click on the Task Manager hyperlink.
  3. Windows will take you straight to the Startup tab.
  4. Right-click on a startup item and select Disable.
  5. Now, repeat the step for all the items except for the system utilities, like audio, video driver console, Bluetooth, etc.
  6. Close Task Manager.
disable app
  1. Go back to the Services tab on the System Configuration dialog box.
  2. Click Apply and OK.
apply settings
  1. Now, restart the PC.

If this method resolves the Dwmapi.dll file missing error, it means a third-party app, service, or background process is the root cause.

Press Windows + I and go to the Apps menu in the Windows Settings. Uninstall any recently installed third-party program from the Apps & features column on the right side of the window.

apps and features

To reenable all genuine services, reverse the steps mentioned for a clean boot process and reboot the PC.

Scan the System to Find and Remove Malware

Run the Microsoft Safety Scanner to detect and delete malware that interferes with the DLL files. Here are the simple steps:

  1. Visit the Microsoft Safety Scanner Download portal.
  2. Download the appropriate edition by choosing between the 32-bit and 64-bit options.
  1. Press Windows + R and enter the msinfo32 command. Hit Enter. Now, look at the System Type line. If it says x64, then download the 64-bit app or vice versa.
system type
  1. Go to the Downloads directory and double-click on the msert.exe file.
  2. The Microsoft Safety Scanner will open.
  3. Accept the terms on the first window and click Next.
  4. Click Next again to access the Scan type dialog.
  5. Select Full scan and hit Next.
scan type
  1. Restart the PC once done.

Run System File Checker (SFC) Scan

An SFC scan can help you fix the system files automatically when the PC is online. Here’s how:

  1. Access the Power User menu by pressing the Windows + X keys together.
  2. Select the Windows PowerShell (Admin) item.
  3. Inside the command line interface, copy and paste this command:
sfc /scannow
  1. Hit Enter to execute.
  2. Wait for the SFC scan to run completely.
sfc scan

Here are the possible results:

  • No integrity violations found: No actions are needed further. You can ignore the DISM scan method.
  • Integrity violations found: The SFC command itself tries to fix as many corrupted system files as it can. It’ll also show the total number of files it repaired. If it shows all files have been repaired, you don’t need to run a DISM scan. However, if you see some files weren’t restored, go to the next section.
  • Scan could not be completed: Try running a DISM scan.

Run Deployment Image Service and Management Tool (DISM) Scan

  1. In the same terminal window, enter this command:
DISM.exe /Online /Cleanup-image /Restorehealth
  1. Press Enter.
  2. Wait for the DISM command to look for system file issues and repair them.
dism scan

Here are the possible outcomes:

  • No integrity violations found: All systems files are in good condition.
  • Integrity violations found: The command will use an online image to fix the system files.
  • Scan could not be completed: You must again run the DISM scan.

Create a New User Account

Specifically for certain game apps, you should create a new Windows User Account:

  1. Open the Windows Settings app.
  2. Click on the Accounts option.
  3. Navigate to the Family & other users menu.
  4. Click on the Add someone else to this PC option on the right side.
Add someone else to this PC
  1. Select the I don’t have… hyperlink on the Microsoft dialog box.
I don't have
  1. On the Create account page, select Add a user without a Microsoft account option.
Create account page
  1. Enter the relevant details into the fields.
  2. Click Next.
Create a user for this PC
  1. Follow the on-screen instructions to set up a new account.
  2. Restart the PC.
  3. Log in using your new account.

Now, try to run the game app using its EXE file from the installation directory or the Steam app.

Perform a System Restore

Windows OS automatically creates restore points when you make substantial changes in the device. If you didn’t disable this feature manually, you might be able to restore the PC to the last known good configuration. This should also fix the issue. Follow these steps:

  1. Click the Start menu and type in Restore.
  2. Select the Create a restore point option below the Best match section.
Create a restore point
  1. The System Properties dialog box will open.
  2. Click on the System Restore button.
System Restore
  1. Select Next on the System Restore dialog box.
  2. Choose a restore point from the table. Click Next.
system restore point
  1. Hit the Finish button.

Wait for the system restore process to complete automatically. Your PC might restart a few times.

Reinstall Game App

As a last resort, you might need to uninstall a game app that’s not launching due to the Dwmapi.dll missing or loading errors.

If you’ve installed it using a DVD or digitally delivered package installer, go to Apps, find the game title in the Apps & features section, click on it, and hit Uninstall.

Alternatively, if you’ve used Steam, follow these steps:

  1. Open Steam.
  2. Select the Library menu at the top.
  3. Look up the game you want to remove below the Games and Software navigation panel on the left side.
game software
  1. Right-click on the game title and select Uninstall from the context menu.
  2. Click Uninstall again on the confirmation dialog box.

Steam will start removing the local files, which might take a few minutes.

Once you see the uninstallation confirmation, again go to the Library tab. You should still see the game in the left-side navigation panel.

However, if you right-click now, it should show Install.

uninstalled

Transferring Game App Data

Before uninstalling the game, you can copy your progress from the game save data directory.

You should be able to find it in the following locations on your PC:

  • Documents Folder:
C:\Users\JohnDoe\Documents\My Games
location of game save files
  • AppData Folder:
Local: C:\Users\JohnDoe\AppData\Local\GameName
Roaming: C:\Users\JohnDoe\AppData\Roaming\GameName
  • ProgramData Folder:
C:\ProgramData\GameName
  • Steam Games:
C:\Program Files (x86)\Steam\userdata\123456789\12345
  • Epic Games:
C:\Users\JohnDoe\AppData\Local\GameName\Saved\SaveGames

Summary

Now you know how to handle the Dwmapi.dll loading or missing error in Windows Vista and newer operating systems.

If the article helped you, feel free to comment below which method worked for you. Also, if you know of a better troubleshooting idea, mention that in your reply.

Moreover, you can learn how to fix a similar issue, HTMLayout.dll cannot be loaded.

More about the topics: DLL errors, windows 10, Windows 11

User forum

0 messages