diff --git a/.github/workflows/eepp-windows-build-check.yml b/.github/workflows/eepp-windows-build-check.yml index 1d85192e9..8d95dc40f 100644 --- a/.github/workflows/eepp-windows-build-check.yml +++ b/.github/workflows/eepp-windows-build-check.yml @@ -87,7 +87,8 @@ jobs: shell: powershell run: | $dumpDir = (New-Item -ItemType Directory -Force -Path "bin\unit_tests\output").FullName - $dumpKey = "HKCU:\Software\Microsoft\Windows\Windows Error Reporting\LocalDumps\eepp-unit_tests.exe" + # WER reads per-application LocalDumps settings from HKLM, including on CI runners. + $dumpKey = "HKLM:\Software\Microsoft\Windows\Windows Error Reporting\LocalDumps\eepp-unit_tests.exe" New-Item -Path $dumpKey -Force | Out-Null New-ItemProperty -Path $dumpKey -Name DumpFolder -PropertyType ExpandString -Value $dumpDir -Force | Out-Null New-ItemProperty -Path $dumpKey -Name DumpType -PropertyType DWord -Value 2 -Force | Out-Null