A process crashed in windows .. Crash dump location

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


A process crashed in windows .. Crash dump location



A windows process got crashed for some reason. I need to analyse the crash dump.



In Windows 2003 PC health helped us to find the crash dump file.



How to get the crash dump file location in Windows 2008?




7 Answers
7



I have observed on Windows 2008 the Windows Error Reporting crash dumps get staged in the folder:



C:UsersAll UsersMicrosoftWindowsWERReportQueue



Which, starting with Windows Vista, is an alias for:



C:ProgramDataMicrosoftWindowsWERReportQueue





Any idea where this would be on Windows 10? Where "All Users" is no longer in Users folder?
– AllTradesJack
Jan 12 '17 at 19:21





@AllTradesJack, Probably C:ProgramDataMicrosoftWindowsWER. Also, All Users is a hidden junction point on windows 8. It's possible if you uncheck the "Hide protected operating system files" option in windows explorer options you'll see it. It'll probably redirect to c:ProgramData.
– Aaron Carlson
Jan 12 '17 at 21:11





Maybe useful (Powershell)



http://sbrennan.net/2012/10/21/configuring-application-crash-dumps-with-powershell/



From Windows Vista and Windows Server 2008 onwards Microsoft
introduced Windows Error Reporting or WER . This allows the server to
be configured to automatically enable the generation and capture of
Application Crash dumps. The configuration of this is discussed here .
The main problem with the default configuration is the dump files are
created and stored in the %APPDATA%crashdumps folder running the
process which can make it awkward to collect dumps as they are spread
all over the server. There are additional problems with this as but
the main problem I always had with it was that its a simple task that
is very repetitive but easy to do incorrectly.



Source code in Powershell (should be useful source code in C# too):


$verifydumpkey = Test-Path "HKLM:SoftwareMicrosoftwindowsWindows Error ReportingLocalDumps"

if ($verifydumpkey -eq $false )
{
New-Item -Path "HKLM:SoftwareMicrosoftwindowsWindows Error Reporting" -Name LocalDumps
}

##### adding the values

$dumpkey = "HKLM:SoftwareMicrosoftWindowsWindows Error ReportingLocalDumps"

New-ItemProperty $dumpkey -Name "DumpFolder" -Value $Folder -PropertyType "ExpandString" -Force
New-ItemProperty $dumpkey -Name "DumpCount" -Value 10 -PropertyType "Dword" -Force
New-ItemProperty $dumpkey -Name "DumpType" -Value 2 -PropertyType "Dword" -Force



WER -Windows Error Reporting- Folders:



HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsWindows Error ReportingLocalDumps



%localappdata%MicrosoftWindowsWER



%LOCALAPPDATA%CrashDumps



C:Users[Current User when app> crashed]AppDataLocalMicrosoftWindowsWERReportArchive



C:ProgramDataMicrosoftWindowsWERReportArchive



c:UsersAll UsersMicrosoftWindowsWERReportQueue



BSOD Crash



%WINDIR%Minidump



%WINDIR%MEMORY.DMP



Sources:
http://sbrennan.net/2012/10/21/configuring-application-crash-dumps-with-powershell/
http://msdn.microsoft.com/en-us/library/windows/desktop/bb787181%28v=vs.85%29.aspx
http://support.microsoft.com/kb/931673
https://support2.microsoft.com/kb/931673?wa=wsignin1.0



The location is in the following registry key: HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsWindows Error ReportingLocalDumps



Source: http://msdn.microsoft.com/en-us/library/windows/desktop/bb787181%28v=vs.85%29.aspx





That registry key is empty.
– Ian Boyd
Jun 1 '17 at 20:41



http://support.microsoft.com/kb/931673



There are Registry changes you can make to explicitly select where the crash dump file resides, otherwise %localappdata%MicrosoftWindowsWER is the default location. I assume that %localappdata% is defined differently for a user or a service running under System. You will need to enable WER I believe.



On Windows 2008 R2, I have seen application crash dumps under either



C:Users[Some User]MicrosoftWindowsWERReportArchive



or



C:ProgramDataMicrosoftWindowsWERReportArchive



I don't know how Windows decides which directory to use.



a core dump is usually only made when the Windows kernel crashes (aka blue screen). A servicecrash will most of the times only leave some logging behind (in the event viewer probably).



If it is the bluescreen crash dump you are looking for, look in C:WindowsMinidump or C:windowsMEMORY.DMP





That refresh to system (BSOD) crash. We're looking for crash logs of applications in Windows.
– Ian Boyd
Jun 1 '17 at 20:43



Windows 7, 64 bit, no modifications to the Registry key, the location is:



C:Users[Current User when app crashed]AppDataLocalMicrosoftWindowsWERReportArchive





In Windows 8 64 bit, this folder too: C:ProgramDataMicrosoftWindowsWERReportArchive
– Kiquenet
Oct 1 '14 at 13:39






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Stripe::AuthenticationError No API key provided. Set your API key using “Stripe.api_key = ”

CRM reporting Extension - SSRS instance is blank

Keycloak server returning user_not_found error when user is already imported with LDAP