Run regedd.exe and find “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps”. If the key does not exist, do the following:
1) create a new LocalDumps key
2) create a subkey with the same name as your Windows store application process, such as myapp.exe
3) in the subkey create a folder called DumpFolder, of type REG_EXPAND_SZ, set it to the directory where you want to generate dump (make sure it exists), say C:\Dumps
4) in the same subkey create a subkey called DumpCount, Value of type REG_DWORD, set its value to 5 (maximum number of dumps generated)
5) in the same subkey create a value called DumpType, of type REG_DWORD, set its value to 2 (full dump)
Here is a registration script saved as a file with the suffix name REg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps]
"DumpCount"=hex(b):0a,00,00,00,00,00,00,00
"DumpType"=hex(b):02,00,00,00,00,00,00,00
"DumpFolder"=hex(2):43,00,3a,00,5c,00,4c,00,6f,00,63,00,61,00,6c,00,44,00,75,\
00,6d,00,70,00,73,00,00,00