The error you’re encountering is related to dwm.exe, the Desktop Window Manager, which is a crucial part of Windows. This error can occur due to various reasons such as driver issues, problems with Windows updates, or issues with the graphics card.
Here are some potential solutions you can try:
Update or Rollback GPU Driver: This issue is common with certain versions of drivers. You could try updating your GPU driver to the latest version or rolling back to a previous version.
Scan for Viruses: If dwm.exe is using a lot of resources, it could indicate a virus. Run a scan of your computer and remove any suspicious files.
Restart Explorer Process: You can try to restart the explorer.exe process. Open Task Manager, find explorer.exe in the Details tab, right-click it and select End Task. Then, go to the File tab and select Run a new task.
Disable Problematic Services: Try disabling problematic services like Skype Updater, Google Update, and Google Update (gupdatem). Press Windows Key + R, type services.msc, press Enter or OK. Double-click the service you need, change the Startup Type to Disabled, and click Apply.
Run DISM Command: You can try running the following command in the Command Prompt (run as administrator): DISM /Online /Cleanup-Image /RestoreHealth. This might take up to 10 minutes. Restart your PC after the procedure ends.