How to collect postmortem log in WinPE environment?

Article:HOWTO47462  |  Created: 2011-03-28  |  Updated: 2011-08-01  |  Article URL
Article Type
How To


This document intended to describe collecting postmortem log for problems e.g. network boot failure, slow imaging etc. in WinPE (Rdeploy/Ghost) environment.

To collect log, we assume a removable disk (e.g. USB) is connected to the machine.  Additionally, you have already opened one of the minimized DOS windows after booting into WinPE env.
1. Check available writable disk
x:\windows\system32> diskpart
DISKPART> list volume
  Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
  ----------  ---  -----------  -----  ----------  -------  ---------  --------
  Volume 0     D                     CD-ROM               0 B             No Media
  Volume 1     C    OS           NTFS  Partition     51 GB       Healthy         System     <<< writable disk
  Volume 2     E    USB         NTFS  Partition    1024MB    Healthy                           <<< writable disk
* Disk Label C and E are writeable. We collect log in removable USB disk (E)
2. Collect logs running commands as required.
x:\windows\system32> mkdir e:\post_log
x:\windows\system32> copy x:\windows\system32\wpeinit.log e:\post_log\
x:\windows\system32> copy x:\windows\inf\ e:\post_log\
x:\windows\system32> copy x:\windows\inf\ e:\post_log\
x:\windows\system32> ipconfig /all >> e:\post_log\ipconfig.log 2>&1

3. Compress and send the logs collected in e:\post_log directory.

Article URL

Terms of use for this information are found in Legal Notices