WerFault.exe failed to load when service process crash on win10 RRS feed

  • Question

  • I want to do something when service process crash (the service process load my dll), werfault.exe could run normally on win10 x86, then the expected function could be executed (OutOfProcessExceptionEventCallback);  But WerFault.exe could not be loaded on x64 virtual machine, then expected function "OutOfProcessExceptionEventCallback" in our exception module could not be executed. Could someone give any advises or help ?

    Detail environment information:  

    x64 win10 version 10.0.16299.192; virtual machine; service process "lsass.exe" 

    error information when service process(lsass.exe) crash:

    WER/CrashExp:363: ERROR Failed to create the process "C:\Windows\system32\WerFault.exe", cmdline "C:\Windows\system32\WerFault.exe -u -p 2912 -s 2588", creationflags 525312, HRESULT 80070013

    Tuesday, January 9, 2018 12:58 AM

All replies

  • Low level mistake, have fixed the problem, compile exception handler module need use "MTd" or "MT" for the project settings. 
    Wednesday, January 10, 2018 1:06 AM