Hi,
Thank you for visiting Microsoft Community.
As per the issue description dwm.exe has stopped working in window 7. The issue could be if there is some third party conflict or some type of corruption. The issue could also be if some system files corruption or your system is affected by viruses/malware.
Try the steps provided below and see if it helps.
Method 1
Step 1:
Let’s boot the computer in Safe Mode and check if issue reappears. Safe mode is a diagnostic mode that starts your computer in a limited state. Only the basic files and drivers necessary to run Windows are started. The words Safe Mode appear in the corners of your monitor to identify which Windows mode you’re using. You may refer to the article mentioned below to boot the computer in safe mode.
Advanced startup options (including safe mode).
http://windows.microsoft.com/en-in/windows7/advanced-startup-options-including-safe-mode
Step 2:
If your computer works fine in safe mode, I would suggest you to perform clean boot.
Putting your system in Clean Boot state helps in identifying if any third party applications or startup items are causing the issue. You need to follow the steps from the article mentioned below to perform a Clean Boot.
Refer to the link to perform clean boot.
How to perform a clean boot in Windows
http://support.microsoft.com/kb/929135/en-us
Note: Refer "How to reset the computer to start normally after clean boot troubleshooting" to reset the computer to start as normal after troubleshooting.
Method 2
If issue still persists and you are able to login to your computer then I would suggest you to check the system files are they working fine or not and to check that try to run System File Checker (SFC) tool.
SFC scan will scans all protected system files and replaces incorrect versions with correct Microsoft versions.
How to use the System File Checker tool to troubleshoot missing or corrupted system files on Windows Vista or on Windows 7.
- Go to Start, click All Programs and open Accessories.
- Right click on Command Prompt in the Program list and then select Run as administrator. If you are prompted for an administrator password or for confirmation, type your password, or click OK.
- In the Command Prompt, type the following command, and then press ENTER:
sfc /scannow
For more information refer to this link:
http://support.microsoft.com/kb/929833/en-us
Method 3
If still issue persists I would suggest you to run the Microsoft safety scanner.
The Microsoft Safety Scanner is a free downloadable security tool that provides on-demand scanning and helps remove viruses, spyware, and other malicious software. It works with your existing antivirus software.
http://www.microsoft.com/security/scanner/en-us/default.aspx
Note: The Microsoft Safety Scanner expires 10 days after being downloaded. To rerun a scan with the latest anti-malware definitions, download and run the Microsoft Safety Scanner again.
Note: Any data files that are infected may only be cleaned by deleting the file entirely, which means there is a potential for data loss.
Hope this would help. If issue still persists post back with current status of your computer and result of the proposed suggestion, we will be happy to assist you.
Regards,