Repeated Daily Crashes of Desktop Window Manager in Reliability Monitor When Using Pen

Anonymous
2020-11-13T05:11:27+00:00

Is anyone also having problems? I am all updated to 2009, all drivers updated. SFC reports no issues. Occasionally, when there's a crash my screen goes black for a few seconds.

Source

Desktop Window Manager

Summary

Stopped working

Date

‎11/‎12/‎2020 1:07 PM

Status

Report sent

Description

Faulting Application Path: C:\Windows\System32\dwm.exe

Problem signature

Problem Event Name: BEX64

Application Name: dwm.exe

Application Version: 10.0.19041.508

Application Timestamp: cd97c98b

Fault Module Name: HeatCore.dll

Fault Module Version: 0.0.0.0

Fault Module Timestamp: c6130bfa

Exception Offset: 0000000000035afd

Exception Code: c0000409

Exception Data: 0000000000000002

OS Version: 10.0.19042.2.0.0.768.101

Locale ID: 1033

Additional Information 1: b111

Additional Information 2: b111fda7573a1e10441015376b653053

Additional Information 3: 02f1

Additional Information 4: 02f1489b0e3ef25dd4a9c89674c90c7c

Extra information about the problem

Bucket ID: 0329fc9be08ddbf2c3f9318478ced3bf (1439236000953848767)

Surface | Surface Pro | Install and update

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

92 answers

Sort by: Most helpful
  1. Anonymous
    2021-04-23T15:07:33+00:00

    Interestingly enough, it appears that it does happen sometimes even when not using the pen. I didn't notice it, I don't know whether the screen just didn't go black or the lid was closed, but it still shows up in Reliability Monitor with the same HeatCore.dll issue. 
    The reason why I noticed is that there is another effect of dwm.exe crashing: Microsoft Teams (and sometimes some other Electron-based apps ... maybe) go black (but only sometimes), so I have to restart it completely in order to use it.

    Anyway, according to MS support, their technical department should get back to me in the next couple of days, MAYBE they come up with a fix. Hopefully.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2021-04-10T09:19:34+00:00

    Don't do that, that is absolutely useless! I wanted several hours on a clean install using the recovery image and issue persisted. 0/10 not worth the effort.

    Ask your brother to take a closer look instead, that advice was so generic it could have come from Microsoft support.

    Anyway, good luck fixing it

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2021-03-29T03:00:37+00:00

    This might work folks. I am trying the Regedit fix for the next week.

    ///

    Hey can you try this workaround after updating firmware from here: https://www.microsoft.com/en-us/download/details.aspx?id=100419

    Try this workaround:

    • Boot into safe mode
    • as administrator, take ownership of this file (google for the process on how to take ownership of system files in Windows 10) c:\windows\system32\heatcore.dll
    • rename heatcore.dll to heatcore.dll.bak
    • reboot

    I think if you do this, the pen will still work but without the tilt feature.


    Also, can you report the content of this regkey? Heatcore.dll refers to it:

     HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Heat
    

    If a device is listed here, changing the devicename to some random letters may workaround the issue.

    I think either approach will prevent the "HEAT" API from working which I believe is some internal Microsoft real-time pen input processing deal to detect which way you're gripping the pen, compute pen vs tablet angle, compute parallax compensation, and stuff like that.

    SOURCE

    https://dancharblog.wordpress.com/2021/03/29/surface-pro-7-7-black-screen-dwm-exe-crashes-when-using-pen-i-have-a-workaround/

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2021-03-23T11:07:36+00:00

    I've even tried to find one of the previous Surface recovery images but when I put my serial number into  https://support.microsoft.com/en-us/surface-recovery-image it shows a 20H1 and a 1903 recovery image but both links are identical and appear to be the 20H1 image. Apparently going back is not an option unless I can find a generic Windows image and apply the Surface Driver pack.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  5. Anonymous
    2021-03-23T03:38:12+00:00

    I'm not sure if this is 100% effective, but it appears having my surface connected to power when I touch my screen for the first time with my pen prevents the DWM/heatcore.dll crash. Hoping it works for others! I'll update in a week.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments