title: Getting a dump of a process that crashes on startup
body: <p>On a customer machine (WinXP SP2) to which I have no access, I have a Win32 EXE (unmanaged C++) that crashes on startup. I guess the best way to troubleshoot this is to obtain a (mini-)dump and analyze it later with windbg or similar.</p>
  
  <p>Now, I would normally tell the customer to install Debugging Tools for Windows and run</p>
  
  <pre><code>cscript adplus.vbs -crash
  </code></pre>
  
  <p>However, it appears that you can't use adplus for apps that crash on startup (<a href="http://support.microsoft.com/kb/q286350/" rel="nofollow noreferrer">http://support.microsoft.com/kb/q286350/</a> says that "Do not use ADPlus in the following situations: If you must troubleshoot a program or process that quits unexpectedly during startup"). The same article says "use User Mode Process Dump", but I failed to install it successfully.</p>
  
  <p>Any idea of how to get a dump of a process that crashes on startup on Win32?</p>