Wednesday, December 14, 2011

How To Split a Large File For E-mail and Upload

Compression and Splitting a File


From time to time, people need to send large files as attachments or need to upload to sites that have an upload limit. Most organizations limit e-mail messages to between 10 and 50 MB and file storage services such as Skydrive have a limit as low as 25-50 MB. Although it would be painful to have to email a file such as an ISO (3-4 GB) in 10-50 MB chunks, but it can be done by splitting the file with a tool such as 7-zip. I demonstrate 7-zip because it is easy to use for both disassembly and reassembly of the large file.

After installing 7-zip, simply add a large file to an archive as shown below.



Various settings exist for archives, but it is important to note the archive format (because the recipient needs to be able to receive this type of file) and split volume size needs to be specified in bytes (at a value equal to or lower than the transport medium, such as e-mail or Skydrive, can handle). Other parameters, such as dictionary size, compression method, and compression level can be specified to further decrease the size of the compressed data.



For simplicity, a few approximations can be used for "Split to volumes, bytes"
  • 10 MB -> 10,000,000 bytes
  • 50 MB -> 50,000,000 bytes
  • 1 GB -> 1,000,000,000 bytes
After clicking OK, the volumes are created and these can be uploaded/sent as needed.


Reassembling a File From Multiple Archives

To extract a file that has been split into multiple archives, place all of the archives in the same folder,



Then right click the first archive (.001) and pick one of the extraction options. The file is then reassembled and extracted.



See Also,
Windows Crash Dump Analysis
Skydrive: Uploading Files For Community Support

Troubleshooting 0x116 VIDEO_TDR_ERROR

The Debugging Tools for Windows are required to analyze crash dump files. If you do not have the Debugging Tools for Windows installed or dump files are not being generated on system crash, see this post for installation/configuration instructions:

http://mikemstech.blogspot.com/2011/11/windows-crash-dump-analysis.html

0x00000116 VIDEO_TDR_FAILURE is an interesting blue screen of death (BSOD) because a lot of users encounter it, and in the vast majority of forum posts (even ones that I've answered previously), neither MVP (Microsoft Most Valued Professional) nor non-MVP have been able to successfully resolve the issue in most cases, or really even break from the "update your graphics drivers" or "update your BIOS" mantra. I decided to dig into the Windows Driver Kit and really determine what this error is actually saying and see if there is a better resolution or workaround. Let's start out by looking at a dump from May 2010 using the !analyze -v debugger command and the !sysinfo machineid command,

0: kd> !analyze -v
*******************************************************************************
*                                                                             *
*                        Bugcheck Analysis                                    *
*                                                                             *
*******************************************************************************

VIDEO_TDR_FAILURE (116)
Attempt to reset the display driver and recover from timeout failed.
Arguments:
Arg1: fffffa8004c50310, Optional pointer to internal TDR recovery context 
                        (TDR_RECOVERY_CONTEXT).
Arg2: fffff880101cc360, The pointer into responsible device driver module 
                        (e.g. owner tag).
Arg3: 0000000000000000, Optional error code (NTSTATUS) of the last failed 
                        operation.
Arg4: 0000000000000002, Optional internal context dependent data.

Debugging Details:
------------------


FAULTING_IP: 
nvlddmkm+114360
fffff880`101cc360 803d393cb80000  cmp     byte ptr 
                           [nvlddmkm+0xc97fa0 (fffff880`10d4ffa0)],0

DEFAULT_BUCKET_ID:  GRAPHICS_DRIVER_TDR_FAULT

CUSTOMER_CRASH_COUNT:  1

BUGCHECK_STR:  0x116

PROCESS_NAME:  System

CURRENT_IRQL:  0

STACK_TEXT:  
... : nt!KeBugCheckEx
... : dxgkrnl!TdrBugcheckOnTimeout+0xec
... : dxgkrnl!TdrIsRecoveryRequired+0x1a2
... : dxgmms1!VidSchiReportHwHang+0x40b
... : dxgmms1!VidSchiCheckHwProgress+0x71
... : dxgmms1!VidSchiWaitForSchedulerEvents+0x1fb
... : dxgmms1!VidSchiScheduleCommandToRun+0x1da
... : dxgmms1!VidSchiWorkerThread+0xba
... : nt!PspSystemThreadStartup+0x5a
... : nt!KxStartSystemThread+0x16


STACK_COMMAND:  .bugcheck ; kb

FOLLOWUP_IP: 
nvlddmkm+114360
fffff880`101cc360 803d393cb80000  cmp     byte ptr 
                        [nvlddmkm+0xc97fa0 (fffff880`10d4ffa0)],0

SYMBOL_NAME:  nvlddmkm+114360

FOLLOWUP_NAME:  MachineOwner

MODULE_NAME: nvlddmkm

IMAGE_NAME:  nvlddmkm.sys

DEBUG_FLR_IMAGE_TIMESTAMP:  4baa0110

FAILURE_BUCKET_ID:  X64_0x116_IMAGE_nvlddmkm.sys

BUCKET_ID:  X64_0x116_IMAGE_nvlddmkm.sys

Followup: MachineOwner
---------

0: kd> !sysinfo machineid
Machine ID Information [From Smbios 2.5, DMIVersion 0, Size=1323]
BiosVendor = Alienware
BiosVersion = A04
BiosReleaseDate = 04/28/2010
SystemManufacturer = Alienware
SystemProductName = M17x          
SystemVersion = A0423
BaseBoardManufacturer = Alienware
BaseBoardProduct =       
BaseBoardVersion = A04 
 
We can tell one thing: We had a crash (duh...). The BIOS is relatively new (for the time) and the NVIdia drivers were likely up to date when this system crashed (we can use the lm vm nvlddmkm command to see this),

0: kd> lmvm nvlddmkm
start             end                 module name
fffff880`100b8000 fffff880`10de4d80   nvlddmkm T (no symbols)           
    Loaded symbol image file: nvlddmkm.sys
    Image path: \SystemRoot\system32\DRIVERS\nvlddmkm.sys
    Image name: nvlddmkm.sys
    Timestamp:        Wed Mar 24 06:09:52 2010 (4BAA0110)
    CheckSum:         00D3D0C3
    ImageSize:        00D2CD80
    Translations:     0000.04b0 0000.04e4 0409.04b0 0409.04e4
 
 
So now we need to really dig into the error and figure out what windbg/kd are trying to tell us about what happened. Microsoft's one-liner description is fairly cryptic: "Attempt to reset the display driver and recover from timeout failed." So what does this mean?

One of the complaints with Windows (or really any other operating system) is that the screen freezes from time to time. If the screen freezes for more than a few seconds, users are likely to hard reset the machine that they are working on. This seems natural, but in this case the system is still responsive. The graphics processing unit (GPU) is busy processing something (possibly a game, 3D render, or even Windows Aero) and is not actively refreshing the screen.

In Windows Vista SP1 and Windows Server 2008 SP1 Microsoft introduced a feature to help catch and correct this behavior using a feature called "Timeout Detection and Recovery (TDR)." The TDR feature works to identify whether the graphics processor is hung (the default timeout is 2 seconds), and if it is, it prepares to reset the graphics processor and the relevant part of the graphics stack. During this process, it tells the driver not to access the hardware or memory and gives it a short time for currently running threads to leave the driver. If the threads do not leave within the timeout, then the system bug checks with 0x116 VIDEO_TDR_FAILURE. The system can also bug check with VIDEO_TDR_FAILURE if a number of TDR events occur in a short period of time (the default is 5 TDRs in 1 minute). If the TDR is successful, then the user may receive a bubble that says "Display driver stopped responding and has recovered."

There are some registry keys that can be used to control the behavior of TDR and may be useful for additional testing and troubleshooting. These keys are all in HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\GraphicsDrivers. These keys/values may need to be created if they are not there, but if they are missing then they are using the default value. A full list is here on MSDN, but I will explain a couple that are likely to be the most applicable. The usual warnings apply with editing the registry: Be sure that you know what you are doing and if you get into trouble, either restore from backup or try to back out the change in Safe Mode.

The first key determines whether TDR is enabled or disabled and what it actually does when it detects a timeout:

Value Name TdrLevel
Type REG_DWORD
Possible Values 0 - Detection is Disabled
1 - Bug Check on Timeout
3 - Recover on Timeout (default)

This value may be useful to disable TDR. This would be done in the case that the graphics hardware and display adapter simply do not play nicely with TDR and that the GPU/Driver will recover on their own. Ultimately, if the driver/GPU don't recover after a hang, then the system will appear to be frozen and will not bug check on its own. This is the main registry key that I think might be helpful, but I'll also mention a couple of others.

TdrDelay (REG_DWORD, default value = 2) is used to change the timeout period from 2 seconds to a different number of seconds. This would be useful in the instance that the GPU takes 3 seconds to recover (instead of 2).

TdrLimitTime  (REG_DWORD, default value = 60) and TdrLimitCount (REG_DWORD, default value = 5) changes the behavior of allowing a smaller number or larger number of TDRs in a specific time period. The main usefulness here would be if the crash can be tuned out of the system by adjusting these parameters.

Other ideas for troubleshooting:
  • Disable any overclocking on the system or graphics processor
  • Ensure that your power supply is sufficient to handle the motherboard, processors, video card, and all other devices
  • Ensure that all power connections are firmly in place on the motherboard and video card (some video cards require additional power and have specific ports that need to receive direct power from the power supply)
  • Verify that the video card is fully inserted and secured
  • Verify that no other wires or materials are laying on the video card
  • Verify that the system and video card are adequately cooled, overheating graphics cards can cause serious hangs/crashes.
  • Verify that DirectX and OpenGL are up to date and any graphics intensive applications (such as games) are fully patched
I wouldn't pin this problem on Microsoft. Ultimately, this crash is due to game/software developers and graphics card manufacturers (such as ATI/AMD and NVidia) developing buggy devices and software and not playing by the rules and standards dictated for a specific platform like Windows. There are many cases of similar events happening on UNIX/Linux systems, so this problem is not specifically isolated to Windows. 

See Also,
Windows Crash Dump Analysis
Stress Testing a Video Card



Tuesday, December 13, 2011

Stress Testing a Video Card

Video cards, video drivers, and computationally intensive simulations and games cause a significant percentage of crashes for home and business users. Many of these crashes are caused by bugs in the applications, drivers, game engines (such as the Unreal engine), and 3D rendering software (such as OpenGL or DirectX), but some are also due to a slow failure of the system's video card. It is possible to stress test a video card by running applications that require significant video memory and processing. Crashes can range anywhere from a garbled screen and hung system to a blue screen of death and total system shutdown. In addition, many vendors (such as AMD/ATI and NVidia) have monitoring/tuning tools for the graphics cards that allow other key parameters (such as temperature and GPU performance) to be monitored.

One of the easiest ways to stress test a graphics card is to use the Really Slick Screensavers. These are a set of screensavers that I discovered in high school during my early days of running RedHat/Fedora Linux. Most of the screensavers can be tuned to fully utilize the hardware (particularly the lattice screensaver) and may help to implicate the graphics card as a failing component. The last time I visited the site, there was both an installer and a zip file containing the screensavers. Once the screen savers are installed, they can be configured and testing can begin.



Looking at the settings for the lattice screensaver,



The computational complexity and the stress applied to the hardware can be increased by increasing parameters such as the latitudinal and longitudinal divisions of the tori as well as the depth and density. Not all shutdowns indicate hardware failure, they may also indicate other issues such as a failing/underpowered power supply and overheating.

See also,
Windows Crash Dump Analysis 
Identifying Cooling Issues
Troubleshooting Memory Errors
Stress Testing a CPU to Detect Hardware Failure
How to Detect a Failing Hard Drive



Monday, December 12, 2011

Troubleshooting 0x3B SYSTEM_SERVICE_EXCEPTION

The Debugging Tools for Windows are required to analyze crash dump files. If you do not have the Debugging Tools for Windows installed or dump files are not being generated on system crash, see this post for installation/configuration instructions:

http://mikemstech.blogspot.com/2011/11/windows-crash-dump-analysis.html

0x0000003B SYSTEM_SERVICE_EXCEPTION is a fairly common bug check that occurs when there is an exception in the code that transfers control from non-privileged (user-mode code) to privileged (kernel-mode code) execution. Most SYSTEM_SERVICE_EXCEPTIONs result from memory corruption (parameter 1 typically shows 0xc0000005 STATUS_ACCESS_VIOLATION). The exceptions that occur from memory corruption may or may not be identified with the driver that causes the corruption and usually take involvement of the driver verifier to diagnose. These exceptions may also arise from memory issues. Below is an example dump analysis, typically !analyze -v shows most of the information that is going to be retrieved from a dump like this.

4: kd> !analyze -v
*******************************************************************************
*                                                                             *
*                        Bugcheck Analysis                                    *
*                                                                             *
*******************************************************************************

SYSTEM_SERVICE_EXCEPTION (3b)
An exception happened while executing a system service routine.
Arguments:
Arg1: 00000000c0000005, Exception code that caused the bugcheck
Arg2: fffff8000376a398, Address of the instruction which caused the bugcheck
Arg3: fffff88008848c70, Address of the context record for the exception that 
                        caused the bugcheck
Arg4: 0000000000000000, zero.

Debugging Details:
------------------


EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%08lx referenced 
                                memory at 0x%08lx. The memory could not be %s.

FAULTING_IP: 
nt!AlpcpCancelMessagesByRequestor+84
fffff800`0376a398 4c396b70        cmp     qword ptr [rbx+70h],r13

CONTEXT:  fffff88008848c70 -- (.cxr 0xfffff88008848c70)
rax=fffffa800f358af8 rbx=f7fff8a004060710 rcx=fffffa8010c75c06
rdx=fffffa800f358a60 rsi=fffffa800f358af8 rdi=0000000000000000
rip=fffff8000376a398 rsp=fffff88008849650 rbp=0000000000000000
 r8=0000000000000000  r9=fffff880088496c0 r10=fffffa8010c75cb0
r11=fffff880088497d8 r12=fffffa800f358a60 r13=fffffa8010c75ce0
r14=0000000000000001 r15=fffff880088496c0
iopl=0         nv up ei ng nz ac po cy
cs=0010  ss=0000  ds=002b  es=002b  fs=0053  gs=002b             efl=00010297
nt!AlpcpCancelMessagesByRequestor+0x84:
fffff800`0376a398 4c396b70        cmp     qword ptr [rbx+70h],r13 ds:002b:f7fff8a0`04060780=????????????????
Resetting default scope

CUSTOMER_CRASH_COUNT:  1

DEFAULT_BUCKET_ID:  VISTA_DRIVER_FAULT

BUGCHECK_STR:  0x3B

PROCESS_NAME:  dllhost.exe

CURRENT_IRQL:  0

LAST_CONTROL_TRANSFER:  from 0000000000000000 to fffff8000376a398

STACK_TEXT:  
... : nt!AlpcpCancelMessagesByRequestor+0x84


FOLLOWUP_IP: 
nt!AlpcpCancelMessagesByRequestor+84
fffff800`0376a398 4c396b70        cmp     qword ptr [rbx+70h],r13

SYMBOL_STACK_INDEX:  0

SYMBOL_NAME:  nt!AlpcpCancelMessagesByRequestor+84

FOLLOWUP_NAME:  MachineOwner

MODULE_NAME: nt

IMAGE_NAME:  ntkrnlmp.exe

DEBUG_FLR_IMAGE_TIMESTAMP:  4e02aaa3

STACK_COMMAND:  .cxr 0xfffff88008848c70 ; kb

FAILURE_BUCKET_ID:  X64_0x3B_nt!AlpcpCancelMessagesByRequestor+84

BUCKET_ID:  X64_0x3B_nt!AlpcpCancelMessagesByRequestor+84

Followup: MachineOwner
--------- 
 
We can tell that the exception occurred in nt!AlpcpCancelMessagesByRequestor+0x84.

4: kd> ln fffff8000376a398
(fffff800`0376a314)   nt!AlpcpCancelMessagesByRequestor+0x84   | 
(fffff800`037cfda0)   nt!CcCreateVacbArray
 
Next steps after identifying this error are to test the memory and ensure that the BIOS and drivers are all up to date. If this does not resolve the problem, see if enabling the driver verifier produces more meaningful dumps.

See Also,
Windows Crash Dump Analysis
Troubleshooting Memory Errors
Enable Driver Verifier To Help Identify Blue Screen Causes

Troubleshooting 0x77 KERNEL_STACK_INPAGE_ERROR

The Debugging Tools for Windows are required to analyze crash dump files. If you do not have the Debugging Tools for Windows installed or dump files are not being generated on system crash, see this post for installation/configuration instructions:
http://mikemstech.blogspot.com/2011/11/windows-crash-dump-analysis.html

0x00000077, KERNEL_STACK_INPAGE_ERROR, is a similar bug check to KERNEL_DATA_INPAGE_ERROR. This error indicates that the memory manager could not read a page back into memory from disk. The two main causes of this bug check are failing hardware (hard drive and RAM are primary suspects) and viruses. Information obtained from the minidump is relatively straightforward from the !analyze -v.

0: kd> !analyze -v
*******************************************************************************
*                                                                             *
*                        Bugcheck Analysis                                    *
*                                                                             *
*******************************************************************************

KERNEL_STACK_INPAGE_ERROR (77)
The requested page of kernel data could not be read in.  Caused by
bad block in paging file or disk controller error.
In the case when the first arguments is 0 or 1, the stack signature
in the kernel stack was not found.  Again, bad hardware.
An I/O status of c000009c (STATUS_DEVICE_DATA_ERROR) or
C000016AL (STATUS_DISK_OPERATION_FAILED)  normally indicates
the data could not be read from the disk due to a bad
block.  Upon reboot autocheck will run and attempt to map out the bad
sector.  If the status is C0000185 (STATUS_IO_DEVICE_ERROR) and the paging
file is on a SCSI disk device, then the cabling and termination should be
checked.  See the knowledge base article on SCSI termination.
Arguments:
Arg1: 0000000000000000, (page was retrieved from page cache)
Arg2: 8013801280128013, value found in stack where signature should be
Arg3: 0000000000000000, 0
Arg4: fffff880147f8f90, address of signature on kernel stack

Debugging Details:
------------------


ERROR_CODE: (NTSTATUS) 0 - STATUS_WAIT_0

BUGCHECK_STR:  0x77_0

CUSTOMER_CRASH_COUNT:  1

DEFAULT_BUCKET_ID:  VISTA_DRIVER_FAULT

PROCESS_NAME:  System

CURRENT_IRQL:  0

LAST_CONTROL_TRANSFER:  from fffff80002d57773 to fffff80002cd2600

STACK_TEXT: 
... : nt!KeBugCheckEx
... : nt! ?? ::FNODOBFM::`string'+0x4e3b1
... : nt!MmInPageKernelStack+0x40
... : nt!KiInSwapKernelStacks+0x1f
... : nt!KeSwapProcessOrStack+0x84
... : nt!PspSystemThreadStartup+0x5a
... : nt!KxStartSystemThread+0x16


STACK_COMMAND:  kb

FOLLOWUP_IP: 
nt! ?? ::FNODOBFM::`string'+4e3b1
fffff800`02d57773 cc              int     3

SYMBOL_STACK_INDEX:  1

SYMBOL_NAME:  nt! ?? ::FNODOBFM::`string'+4e3b1

FOLLOWUP_NAME:  MachineOwner

MODULE_NAME: nt

IMAGE_NAME:  ntkrnlmp.exe

DEBUG_FLR_IMAGE_TIMESTAMP:  4b88cfeb

FAILURE_BUCKET_ID:  X64_0x77_0_nt!_??_::FNODOBFM::_string_+4e3b1

BUCKET_ID:  X64_0x77_0_nt!_??_::FNODOBFM::_string_+4e3b1

Followup: MachineOwner
---------
 
 
If this error is seen, next steps are to check the hard drive and memory for errors and perform a virus scan if neither the hard drive nor RAM report any errors.

See Also
Windows Crash Dump Analysis
Troubleshooting Memory Errors
How To Detect a Failing Hard Drive

How To Detect a Failing Hard Drive

Hard drive failures are rarely positive events. The magnitude of what is lost depends on what is on the drive and whether the data lost is replaceable. Most businesses implement RAID (redundant array of independent disks) arrays on their systems and the loss of a single hard drive (or potentially a small number of drives) can be tolerated without losing any data. Additionally, most companies develop disaster recovery and business continuity plans that involve backing up and restoring data up to a specific point in time.

Most home users don't build systems with RAID arrays and the systems that come pre-configured from vendors such as Dell and HP only ship with a single drive (unless multiple drives are configured into the system and purchased). Even if multiple drives are shipped, RAID is not typically configured by the factory before the PC ships. This means that when a home user's hard drive fails, everything from documents, games, music, and movies to family photos and other items that have a lot of sentimental value can be irreversibly lost. In some cases, the data can be recovered by a data recovery specialist, but the data recovered might be incomplete or corrupt.

The hard drive industry has had a number of years to work on this problem and has made great strides in both reducing the number of hard drive failures (and increasing the mean time between failures, MTBF) and working on predictive analysis that may indicate a drive is close to failing (note that the predictive analysis may not be valuable in the case of sudden catastrophic loss of the drive). One tool that is useful for predictive analysis is the Self Monitoring, Analysis, and Reporting Technology (SMART) functionality that is built into most modern hard drives. Note that Google performed a study and demonstrated that only subsets of the SMART attributes are useful for predictive analysis, where others are purely informational.

Each hard drive manufacturer (Seagate, Western Digital, Intel, Hitachi, Samsung, OCZ, etc...) defines their own metrics that they track and expose through SMART, but there are a number of standardized attributes. Vendors also have the flexibility to add specific logs that can be checked through SMART. If logs and metrics aren't enough, SMART also has the capability to run self-tests of the hard drive.

Viewing these attributes and logs requires a tool such as smartctl (part of smartmontools). I demonstrate smartmontools here because there are ports for a number of different platforms (Windows, Linux, UNIX, Mac OS, etc) and the source code is freely available to compile on new platforms. Note that most hardware RAID arrays do not expose the drives directly to the operating system, but most have vendor-supported tools for viewing SMART statistics on each of the attached drives.

Note that for this demonstration, I am using the Windows build of smartmontools version 5.42-1. If the command line arguments presented here don't work, see if you need slightly different parameters by running smartctl -h.

To start out, I opened a command prompt (cmd.exe) and navigated to the binary install path for the smartmontools (for me, C:\Program Files(x86)\smartmontools\bin). From here, I used the --scan option of smartctl to Identify which drives the operating system sees,

C:\Program Files (x86)\smartmontools\bin>smartctl --scan
/dev/sda -d ata # /dev/sda, ATA device
/dev/sdb -d ata # /dev/sdb, ATA device
/dev/sdc -d ata # /dev/sdc, ATA device 
 
In this case, my system has three SATA drives and all of them are visible to the operating system. Note that smartctl returns a more linux representation of the devices (using /dev/xxx instead of using the SCSI notation [port, bus, target, logical unit] that Windows uses internally for SATA drives). Note that this screenshot was taken from the msinfo32 utility,



We can select a disk and retrieve all of the SMART information from one of the drives,

C:\Program Files (x86)\smartmontools\bin>smartctl -a /dev/sda 
  
The first section of the output is the information for the hard drive,

smartctl 5.42 2011-10-20 r3458 [i686-w64-mingw32-2008r2(64)-sp1] (sf-win32-5.42-1)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Barracuda 7200.10
Device Model:     ST3500630AS
Serial Number:    9QG3ZZZ9
Firmware Version: 3.AAK
User Capacity:    500,107,862,016 bytes [500 GB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   7
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:    Mon Dec 12 13:30:19 2011 MST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled 
 
The second section identifies the capabilities with regard to SMART.
 

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
See vendor-specific Attribute list for marginal Attributes.

General SMART Values:
Offline data collection status:  (0x82) Offline data collection activity
     was completed without error.
     Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0) The previous self-test routine completed
     without error or no self-test has ever 
     been run.
Total time to complete Offline 
data collection:   (  430) seconds.
Offline data collection
capabilities:     (0x5b) SMART execute Offline immediate.
     Auto Offline data collection on/off support.
     Suspend Offline collection upon new
     command.
     Offline surface scan supported.
     Self-test supported.
     No Conveyance Self-test supported.
     Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
     power-saving mode.
     Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
     General Purpose Logging supported.
Short self-test routine 
recommended polling time:   (   1) minutes.
Extended self-test routine
recommended polling time:   ( 163) minutes.

The next section identifies vendor specific attributes/metrics. This is an important section for identifying predictive failures. There arre several values reported, the normalized value (VALUE column), the worst normalized value ever recorded while SMART has been enabled (WORST column), the threshold column, and finally the raw value (RAW_VALUE). The threshold column requires more explanation. The VALUE and WORST values are scaled between 0 and 255 and are typically reported in a way that less is worse. If the VALUE or WORST is below the threshold value, then this may be a sign that the disk needs to be replaced immediately, some attributes indicate that the disk is expected to fail within 24 hours. Some attributes, which are more informational (such as temperature) may not indicate an impending failure, but may indicate increased wear on the drive. In my case, I had some short term cooling problems with the PC and SMART reports a failure in the past.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   114   067   006    Pre-fail  Always       -       83089801
  3 Spin_Up_Time            0x0003   094   093   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -       161
  5 Reallocated_Sector_Ct   0x0033   100   100   036    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   086   060   030    Pre-fail  Always       -       449282521
  9 Power_On_Hours          0x0032   062   062   000    Old_age   Always       -       33680
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       163
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
189 High_Fly_Writes         0x003a   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0022   064   044   045    Old_age   Always   In_the_past 36 (Min/Max 24/39)
194 Temperature_Celsius     0x0022   036   056   000    Old_age   Always       -       36 (0 21 0 0 0)
195 Hardware_ECC_Recovered  0x001a   062   056   000    Old_age   Always       -       55988229
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0000   100   253   000    Old_age   Offline      -       0
202 Data_Address_Mark_Errs  0x0032   100   253   000    Old_age   Always       -       0 
 
The next pieces are the error log (also very important for determining impending failure) and self test log.

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay. 
 
From the data, this drive is not expected to immediately fail and all of the metrics indicate that the disk should continue to function. Tests can be performed on the drives by using smartctl -t <test_name> <drive>. See smartctl -h for more details.

If your drive is starting to fail or becomes unbootable, it may be necessary to rescue the files drom the failing hard drive.

See Also
How To Rescue Files From a Damaged System
Windows Crash Dump Analysis
Identifying Cooling Issues
Troubleshooting Memory Errors
Stress Testing a CPU To Detect Hardware Failure 
Stress Testing a Video Card










Sunday, December 11, 2011

Troubleshooting 0xC9 DRIVER_VERIFIER_IOMANAGER_VIOLATION

The Debugging Tools for Windows are required to analyze crash dump files. If you do not have the Debugging Tools for Windows installed or dump files are not being generated on system crash, see this post for installation/configuration instructions:
http://mikemstech.blogspot.com/2011/11/windows-crash-dump-analysis.html

In cases of memory corruption, the driver verifier can be an invaluable tool in helping to identify the root cause of a kernel mode crash, or at the very least working towards identifying a definitive cause. In this case, the system was initially throwing 0x0000001A (MEMORY_MANAGEMENT) and 0x00000019 (BAD_POOL_HEADER). Typically, you won't see this bug check unless you have enabled the driver verifier and it has caught a specific type of error when the driver is performing a task with the Windows IO manager. Troubleshooting 0x000000C9 begins with a !analyze -v

4: kd> !analyze -v
*******************************************************************************
*                                                                             *
*                        Bugcheck Analysis                                    *
*                                                                             *
*******************************************************************************

DRIVER_VERIFIER_IOMANAGER_VIOLATION (c9)
The IO manager has caught a misbehaving driver.
Arguments:
Arg1: 0000000000000220, IRP_MJ_SYSTEM_CONTROL has been completed by someone other than the ProviderId.
 This IRP should either have been completed earlier or should have been passed
 down.
Arg2: fffff880057de710, The address in the driver's code where the error was detected.
Arg3: fffff980134b8dc0, IRP address.
Arg4: fffffa800cafb060, ProviderId.

Debugging Details:
------------------


BUGCHECK_STR:  0xc9_220

DRIVER_VERIFIER_IO_VIOLATION_TYPE:  220

FAULTING_IP: 
HIDCLASS!HidpMajorHandler+0
fffff880`057de710 48895c2410      mov     qword ptr [rsp+10h],rbx

FOLLOWUP_IP: 
HIDCLASS!HidpMajorHandler+0
fffff880`057de710 48895c2410      mov     qword ptr [rsp+10h],rbx

IRP_ADDRESS:  fffff980134b8dc0

DEVICE_OBJECT: fffffa800fe96b80

CUSTOMER_CRASH_COUNT:  1

DEFAULT_BUCKET_ID:  VERIFIER_ENABLED_VISTA_MINIDUMP

PROCESS_NAME:  System

CURRENT_IRQL:  2

LOCK_ADDRESS:  fffff800036c5b80 -- (!locks fffff800036c5b80)

Resource @ nt!PiEngineLock (0xfffff800036c5b80)    Available

WARNING: SystemResourcesList->Flink chain invalid. Resource may be corrupted, or already deleted.


WARNING: SystemResourcesList->Blink chain invalid. Resource may be corrupted, or already deleted.

1 total locks

PNP_TRIAGE: 
 Lock address  : 0xfffff800036c5b80
 Thread Count  : 0
 Thread address: 0x0000000000000000
 Thread wait   : 0x0

LAST_CONTROL_TRANSFER:  from fffff800039503dc to fffff800034c6c40

STACK_TEXT: 
... : nt!KeBugCheckEx
... : nt!VerifierBugCheckIfAppropriate+0x3c
... : nt!ViErrorFinishReport+0xda
... : nt!VfErrorReport10+0x6f
... : nt!VfWmiVerifyIrpStackUpward+0x67
... : nt!VfMajorVerifyIrpStackUpward+0x6e
... : nt!IovpCompleteRequest2+0xad
... : nt!IovpLocalCompletionRoutine+0x9d
... : nt!IopfCompleteRequest+0x341
... : nt!IovCompleteRequest+0x19f
... : nt!IopInvalidDeviceRequest+0x16
... : HIDCLASS!HidpIrpMajorDefault+0x8b
... : HIDCLASS!HidpMajorHandler+0xeb
... : nt!IovCallDriver+0x566
... : nt!ViFilterDispatchGeneric+0x62
... : nt!IovCallDriver+0x566
... : nt!VfIrpSendSynchronousIrp+0xe8
... : nt!VfWmiTestStartedPdoStack+0x72
... : nt!VfMajorTestStartedPdoStack+0x5f
... : nt!PpvUtilTestStartedPdoStack+0x12
... : nt!PipProcessStartPhase3+0x55c
... : nt!PipProcessDevNodeTree+0x264
... : nt!PiProcessStartSystemDevices+0x7c
... : nt!PnpDeviceActionWorker+0x302
... : nt!ExpWorkerThread+0x111
... : nt!PspSystemThreadStartup+0x5a
... : nt!KxStartSystemThread+0x16


STACK_COMMAND:  .bugcheck ; kb

SYMBOL_NAME:  HIDCLASS!HidpMajorHandler+0

FOLLOWUP_NAME:  MachineOwner

MODULE_NAME: HIDCLASS

IMAGE_NAME:  HIDCLASS.SYS

DEBUG_FLR_IMAGE_TIMESTAMP:  4ce7a665

FAILURE_BUCKET_ID:  X64_0xc9_220_VRF_HIDCLASS!HidpMajorHandler+0

BUCKET_ID:  X64_0xc9_220_VRF_HIDCLASS!HidpMajorHandler+0

Followup: MachineOwner
---------
 
 
This particular crash (Arg1 = 0x220 indicates that the suspected driver completed a WMI request that it should have passed on to another driver). A complete list of parameter 1 values is available on MSDN. The error is suspected to have occurred in HIDCLASS!HidpMajorHandler, indicating that this problem was due to a human interface device (keyboard, mouse, etc) or a driver related to one of these devices. This is determined using the ln debugger command (not for creating links in linux filesystems in this case, but the Windows Debuggers "list nearest symbols" command).

4: kd> ln fffff880057de710
(fffff880`057de710)   HIDCLASS!HidpMajorHandler   |  (fffff880`057de984)   HIDCLASS!HidpIrpMajorDefault
Exact matches:
    HIDCLASS!HidpMajorHandler = 
 
 
In this case the device object is not present in the minidump, but the IRP can be examined with the !irp extension command.

4: kd> !irp fffff980134b8dc0
Irp is active with 5 stacks 4 is current (= 0xfffff980134b8f68)
 No Mdl: No System Buffer: Thread 00000000:  Irp stack trace.  
     cmd  flg cl Device   File     Completion-Context
 [  0, 0]   0  2 00000000 00000000 00000000-00000000    

   Args: 00000000 00000000 00000000 ffffffffc0000010
 [  0, 0]   0  0 00000000 00000000 00000000-00000000    

   Args: 00000000 00000000 00000000 00000000
 [ 17,ff]   0  2 fffffa800fe96b80 00000000 00000000-00000000    
       fffffa800fe96b80: Could not read device object or _DEVICE_OBJECT not 
                                found

   Args: fffffa800cafb060 00000000 00000000 00000000
>[ 17,ff]   0 e0 fffffa800fe96b80 00000000 fffff80003952da0-fffff980134b8fb0 Success Error Cancel 
       fffffa800fe96b80: Could not read device object or _DEVICE_OBJECT not 
                                found
 nt!IovpInternalCompletionTrap
   Args: fffffa800cafb060 00000000 00000000 00000000
 [ 17,ff]   0 e0 fffffa800fe96920 00000000 fffff8000395c240-fffff8800318b720 Success Error Cancel 
       fffffa800fe96920: Could not read device object or _DEVICE_OBJECT not 
                                found
 nt!ViIrpSynchronousCompletionRoutine
   Args: fffffa800cafb060 00000000 00000000 00000000
 

Since the device object was not dumped, information about the     problem IRP and the related device object is not readily available.     In this case, troubleshooting with the driver verifier would need to     continue and it should be checked that all of the correct device     drivers for the system are installed and at their latest version     (unless known version issues exist) and that the latest system BIOS is installed.

See Also
Windows Crash Dump Analysis


First Impressions of Windows 8 Developer Preview

I don't typically do a lot with pre-release software, but I was curious enough about the next version of Windows to spin up a virtual machine of Windows 8 in Hyper-V. Installation at this point is fairly plain, matching the visual styles and minimalistic configuration that was provided by the Windows 7 and Windows Vista installs that came with previous versions of Windows


























One of the striking differences after installation is the Windows 8 Start menu,



This resembles a desktop version of the user interface in Windows Phone 7 and Windows Phone 7.5. An oddity that I found was that the applications do not show up in the taskbar when launched, but can be seen using the Task Manager. I'm not sure if this is something that Microsoft intends to fix before the final release, or if it represents a change in direction away from the traditional Windows look and feel to the newer wold of tablets and gestural interfaces.



Overall, I'm mixed on my first impression of Windows 8. It seems like Microsoft is trying to embrace an emerging model with the world of mobile devices and tablets, but I found that most of the things that were familiar and made Windows easy for an administrator to use are missing (but this is only a developer release, so it may get better with time...)



Friday, December 9, 2011

Active Directory Leaf Object: Confirm Subtree Deletion?

I was working in an Active Directory forest at one time removing a user object and I found myself surprised when I saw the following prompt. I was perplexed because user objects (and most of the other objects besides the Organaizational Unit that can be created through the Active Directory Users and Computers snap-in) are typically leaf nodes in Active Directory.

"Object %s contains other objects. Are you sure you want to delete object %s and all of the objects it contains? If you cancel the running deletion, the objects deleted thus far will not be recovered. Warning: If you select Use Delete Subtree server control checkbox, all objects within the subtree, including all delete-protected objects, will be deleted, and the deletion cannot be canceled"



When I explored this further, I identified that the object created below the user object was related to a fingerprint reader used in this particular company. I will show three ways to explore these objects since they do not show up in the default view of Active Directory Users and Computers.

To start this scenario, I used ADSI Edit and added a node under my user object in a test domain.

Active Directory Users and Computers

Many Active Directory Administrators spend lots of time with this tool and it is one that typically has a few unexplored features. One of the features that is not often used is the "Users, Contacts, Groups, and Computers as containers" view option.



This allows the children of these objects to be viewed by expanding the tree in the left pane.



ADSI Edit

ADSI Edit, with it's default view options can be used to explore these elements. By default, you can connect to the default naming context for the domain and navigate to the user object,


LDP

LDP is a useful tool for developing LDAP queries and finding lists of objects that conform to a specific set of parameters, such as department name or job title. The dsquery tool could also be used for this, but LDP is sometimes the better tool because it does not have the constraint of the fixed width of PowerShell or the command shell (cmd.exe). The only catch to using LDP is identifying the base distinguished name to search from. In this case, it is

cn=mike burr,cn=Users,dc=ad,dc=mikesblog,dc=lan

To find the child objects under this dn, use a generic filter, such as (cn=*).


The resulting object is printed with the attributes identified in the search box.




How to Mount an Operating System Image using imagex

imagex is a tool that is included with the Windows Automated Installation Kit (WAIK or AIK) to create, modify, and deploy imaged versions of an underlying operating system such as Windows Vista, Windows Server 2008, Windows 7, and Windows Server 2008 R2. imagex can be used for everything from creating an offline backup of an existing system for disaster recovery to capturing a standardized system image that can be deployed using Windows Deployment Services (WDS) or System Center Configuration Manager (SCCM).

In this post, I am going to demonstrate how to mount the WIM (Windows Imaging Format) for Windows Vista, Windows 7, Windows Server 2008, and Windows Server 2008 R2 from the installation media for the purposes of recovering an original file. To start out, the installation media (or a custom .WIM) for the operating system needs to be available and the Windows Automated Installation Kit needs to be installed. The general process for each of the operating systems is below,
  1. Identify the images included in the WIM and select the proper one to mount. This is determined using the imagex /info <wim_file> command.
  2. Mount the image to a temporary directory. This is performed using the imagex /mount <wim_file> <img_number> <mount_dir>. To mount the image as writeable, use the imagex /mountrw... command
  3. Recover the file(s) from the <mount_dir> directory used in the other steps.
  4. Unmount the image imagex /unmount <mount_dir>. Note that since we are not changing anything, we do not need to use the commit option for the unmount command. If you do change anything (and used the mountrw option above), be sure to use the imagex /unmount /commit . Not using the /commit will cause the changes to be ignored.
Note that by default, the imagex tool is located in C:\Program Files\Windows AIK\Tools\amd64 for 64 bit systems and C:\Program Files\Windows AIK\Tools\x86 for 32 bit systems.

Windows Vista

To start out, I mounted the Windows Vista ISO using Virtual CloneDrive to E:. The WIM file used for installing new systems is in E:\sources\install.wim. E:\sources\boot.wim is the Windows Preinstallation Environment (WinPE). WinPE is used to start and run the installation process.


c:\Program Files\Windows AIK\Tools\amd64>imagex /info e:\sources\install.wim

ImageX Tool for Windows
Copyright (C) Microsoft Corp. All rights reserved.
Version: 6.1.7600.16385

WIM Information:
----------------
Path:        e:\sources\install.wim
GUID:        {9d6995bd-4791-4b7a-97c7-c55c12738a9f}
Image Count: 1
Compression: LZX
Part Number: 1/1
Attributes:  0xc
             Integrity info
             Relative path junction


Available Image Choices:
------------------------
<wim>
  <totalbytes>2863295665</totalbytes>
  <img index="1" />
    <name>Windows Vista ENTERPRISE</name>
    <description>Windows Vista ENTERPRISE</description>
    <flags>ENTERPRISE</flags>
    <windows>
      <arch>9</arch>
      <productname>Microsoftr Windowsr Operating System</productname>
      <hal>acpiapic</hal>
      <producttype>WinNT</producttype>
      <productsuite>Terminal Server</productsuite>
      <languages>
        <language>en-US</language>
        <default>en-US</default>
      </languages>
      <version>
        <major>6</major>
        <minor>0</minor>
        <build>6002</build>
        <spbuild>18005</spbuild>
      </version>
      <systemroot>WINDOWS</systemroot>
    </windows>
    <dircount>13739</dircount>
    <filecount>70563</filecount>
    <totalbytes>12570635278</totalbytes>
    <creationtime>
      <highpart>0x01C9BADA</highpart>
      <lowpart>0x3AFF6E12</lowpart>
    </creationtime>
    <lastmodificationtime>
      <highpart>0x01C9BAEC</highpart>
      <lowpart>0x9D75600C</lowpart>
    </lastmodificationtime>
    <displayname>Windows Vista Enterprise</displayname>
    <displaydescription>Windows Vista Enterprise</displaydescription>
  </wim> 
 
imagex shows that there is only one image available (Windows Vista Enterprise). Other DVDs will likely have the other editions (Windows Vista Home Basic, Windows Vista Home Premium, Windows Vista Business, and Windows Vista Ultimate).

I mounted the Windows Vista Enterprise Image (index 1) to an empty directory that I created, c:\mounted_images.


imagex /mount e:\sources\install.wim 1 c:\mounted_images

ImageX Tool for Windows
Copyright (C) Microsoft Corp. All rights reserved.
Version: 6.1.7600.16385

Mounting: [e:\sources\install.wim, 1] -> [c:\mounted_images]...

[ 100% ] Mounting progress

Successfully mounted image.

Total elapsed time: 9 min 21 sec
 
  
From the c:\mounted_images directory, it is apparent that this is a full base install of Windows Vista. Files can be copied out of the directory and the image can be unmounted.

c:\Program Files\Windows AIK\Tools\amd64>imagex /unmount c:\mounted_images

ImageX Tool for Windows
Copyright (C) Microsoft Corp. All rights reserved.
Version: 6.1.7600.16385

Unmounting: [c:\mounted_images]...

[ 100% ] Mount cleanup progress

Windows Server 2008

To start out, I mounted the Windows Server 2008 ISO using Virtual CloneDrive to E:. The WIM file used for installing new systems is in E:\sources\install.wim. E:\sources\boot.wim is the Windows Preinstallation Environment (WinPE). WinPE is used to start and run the installation process.

 
c:\Program Files\Windows AIK\Tools\amd64>imagex /info e:\sources\install.wim

ImageX Tool for Windows
Copyright (C) Microsoft Corp. All rights reserved.
Version: 6.1.7600.16385

WIM Information:
----------------
Path:        e:\sources\install.wim
GUID:        {5207b5bd-a532-4e0c-9637-9a11463c9b59}
Image Count: 6
Compression: LZX
Part Number: 1/1
Attributes:  0xc
             Integrity info
             Relative path junction


Available Image Choices:
------------------------
<wim>
  <totalbytes>2326628687</totalbytes>
  <img index="1" />
    <name>Windows Longhorn SERVERSTANDARD</name>
    <description>Windows Longhorn SERVERSTANDARD</description>
    <flags>SERVERSTANDARD</flags>
    <windows>
      <arch>9</arch>
      <productname>Microsoftr Windowsr Operating System</productname>
      <hal>acpiapic</hal>
      <producttype>ServerNT</producttype>
      <productsuite>Terminal Server</productsuite>
      <languages>
        <language>en-US</language>
        <default>en-US</default>
      </languages>
      <version>
        <major>6</major>
        <minor>0</minor>
        <build>6001</build>
        <spbuild>18000</spbuild>
      </version>
      <systemroot>WINDOWS</systemroot>
    </windows>
    <dircount>11003</dircount>
    <filecount>51672</filecount>
    <totalbytes>8784297519</totalbytes>
    <creationtime>
      <highpart>0x01C85AAD</highpart>
      <lowpart>0xF456B173</lowpart>
    </creationtime>
    <lastmodificationtime>
      <highpart>0x01C85ABE</highpart>
      <lowpart>0xF6817FE5</lowpart>
    </lastmodificationtime>
    <displayname>Windows Server 2008 Standard (Full Installation)</displayname>
    <displaydescription>This option installs the complete installation of Window
s Server. This installation includes the entire user interface, and it supports
all of the server roles.</displaydescription>
  
  <img index="2" />
    <name>Windows Longhorn SERVERENTERPRISE</name>
    <description>Windows Longhorn SERVERENTERPRISE</description>
    <flags>SERVERENTERPRISE</flags>
    <windows>
      <arch>9</arch>
      <productname>Microsoftr Windowsr Operating System</productname>
      <hal>acpiapic</hal>
      <producttype>ServerNT</producttype>
      <productsuite>Enterprise</productsuite>
      <languages>
        <language>en-US</language>
        <default>en-US</default>
      </languages>
      <version>
        <major>6</major>
        <minor>0</minor>
        <build>6001</build>
        <spbuild>18000</spbuild>
      </version>
      <systemroot>WINDOWS</systemroot>
    </windows>
    <dircount>11046</dircount>
    <filecount>51836</filecount>
    <totalbytes>8792036862</totalbytes>
    <creationtime>
      <highpart>0x01C85AAD</highpart>
      <lowpart>0xC5BFCFD0</lowpart>
    </creationtime>
    <lastmodificationtime>
      <highpart>0x01C85ABF</highpart>
      <lowpart>0x1B2C3822</lowpart>
    </lastmodificationtime>
    <displayname>Windows Server 2008 Enterprise (Full Installation)</displayname>
    <displaydescription>This option installs the complete installation of Window
s Server. This installation includes the entire user interface, and it supports
all of the server roles.</displaydescription>
  
  <img index="3" />
    <name>Windows Longhorn SERVERDATACENTER</name>
    <description>Windows Longhorn SERVERDATACENTER</description>
    <flags>SERVERDATACENTER</flags>
    <windows>
      <arch>9</arch>
      <productname>Microsoftr Windowsr Operating System</productname>
      <hal>acpiapic</hal>
      <producttype>ServerNT</producttype>
      <productsuite>Terminal Server</productsuite>
      <languages>
        <language>en-US</language>
        <default>en-US</default>
      </languages>
      <version>
        <major>6</major>
        <minor>0</minor>
        <build>6001</build>
        <spbuild>18000</spbuild>
      </version>
      <systemroot>WINDOWS</systemroot>
    </windows>
    <dircount>11045</dircount>
    <filecount>51829</filecount>
    <totalbytes>8792568645</totalbytes>
    <creationtime>
      <highpart>0x01C85AAE</highpart>
      <lowpart>0xBB09805E</lowpart>
    </creationtime>
    <lastmodificationtime>
      <highpart>0x01C85ABF</highpart>
      <lowpart>0x37F84366</lowpart>
    </lastmodificationtime>
    <displayname>Windows Server 2008 Datacenter (Full Installation)</displayname>
    <displaydescription>This option installs the complete installation of Window
s Server. This installation includes the entire user interface, and it supports
all of the server roles.</displaydescription>
  
  <img index="4" />
    <name>Windows Longhorn SERVERSTANDARDCORE</name>
    <description>Windows Longhorn SERVERSTANDARDCORE</description>
    <flags>SERVERSTANDARD</flags>
    <windows>
      <arch>9</arch>
      <productname>Microsoftr Windowsr Operating System</productname>
      <hal>acpiapic</hal>
      <producttype>ServerNT</producttype>
      <productsuite>Terminal Server</productsuite>
      <languages>
        <language>en-US</language>
        <default>en-US</default>
      </languages>
      <version>
        <major>6</major>
        <minor>0</minor>
        <build>6001</build>
        <spbuild>18000</spbuild>
      </version>
      <systemroot>WINDOWS</systemroot>
    </windows>
    <dircount>5235</dircount>
    <filecount>21316</filecount>
    <totalbytes>2512939954</totalbytes>
    <creationtime>
      <highpart>0x01C85AA6</highpart>
      <lowpart>0x042D7F00</lowpart>
    </creationtime>
    <lastmodificationtime>
      <highpart>0x01C85ABF</highpart>
      <lowpart>0x4758A12D</lowpart>
    </lastmodificationtime>
    <displayname>Windows Server 2008 Standard (Server Core Installation)</displayname>
    <displaydescription>This option installs a minimal installation of Windows S
erver without the standard Windows user interface, and with a subset of server r
oles that can be managed from a command prompt, reducing management requirements
 and attack surface.</displaydescription>
  
  <img index="5" />
    <name>Windows Longhorn SERVERENTERPRISECORE</name>
    <description>Windows Longhorn SERVERENTERPRISECORE</description>
    <flags>SERVERENTERPRISE</flags>
    <windows>
      <arch>9</arch>
      <productname>Microsoftr Windowsr Operating System</productname>
      <hal>acpiapic</hal>
      <producttype>ServerNT</producttype>
      <productsuite>Enterprise</productsuite>
      <languages>
        <language>en-US</language>
        <default>en-US</default>
      </languages>
      <version>
        <major>6</major>
        <minor>0</minor>
        <build>6001</build>
        <spbuild>18000</spbuild>
      </version>
      <systemroot>WINDOWS</systemroot>
    </windows>
    <dircount>5266</dircount>
    <filecount>21400</filecount>
    <totalbytes>2522686340</totalbytes>
    <creationtime>
      <highpart>0x01C85AA6</highpart>
      <lowpart>0xBB3416BA</lowpart>
    </creationtime>
    <lastmodificationtime>
      <highpart>0x01C85ABF</highpart>
      <lowpart>0x568E146A</lowpart>
    </lastmodificationtime>
    <displayname>Windows Server 2008 Enterprise (Server Core Installation)</displayname>
    <displaydescription>This option installs a minimal installation of Windows S
erver without the standard Windows user interface, and with a subset of server r
oles that can be managed from a command prompt, reducing management requirements
 and attack surface.</displaydescription>
  
  <img index="6" />
    <name>Windows Longhorn SERVERDATACENTERCORE</name>
    <description>Windows Longhorn SERVERDATACENTERCORE</description>
    <flags>SERVERDATACENTER</flags>
    <windows>
      <arch>9</arch>
      <productname>Microsoftr Windowsr Operating System</productname>
      <hal>acpiapic</hal>
      <producttype>ServerNT</producttype>
      <productsuite>Terminal Server</productsuite>
      <languages>
        <language>en-US</language>
        <default>en-US</default>
      </languages>
      <version>
        <major>6</major>
        <minor>0</minor>
        <build>6001</build>
        <spbuild>18000</spbuild>
      </version>
      <systemroot>WINDOWS</systemroot>
    </windows>
    <dircount>5266</dircount>
    <filecount>21397</filecount>
    <totalbytes>2522615418</totalbytes>
    <creationtime>
      <highpart>0x01C85AA7</highpart>
      <lowpart>0x063D88A0</lowpart>
    </creationtime>
    <lastmodificationtime>
      <highpart>0x01C85ABF</highpart>
      <lowpart>0x65A488EE</lowpart>
    </lastmodificationtime>
    <displayname>Windows Server 2008 Datacenter (Server Core Installation)</displayname>
    <displaydescription>This option installs a minimal installation of Windows S
erver without the standard Windows user interface, and with a subset of server r
oles that can be managed from a command prompt, reducing management requirements
 and attack surface.</displaydescription>
  </wim>



imagex shows a number of images available (Full installations and Core installations of each edition of Windows Server 2008).

I mounted the Windows Server 2008 Enterprise Image (index 2) to an empty directory that I created, c:\mounted_images.



imagex /mount e:\sources\install.wim 2 c:\mounted_images

ImageX Tool for Windows
Copyright (C) Microsoft Corp. All rights reserved.
Version: 6.1.7600.16385

Mounting: [e:\sources\install.wim, 2] -> [c:\mounted_images]...

[ 100% ] Mounting progress

Successfully mounted image.

Total elapsed time: 8 min 41 sec
 
  
From the c:\mounted_images directory, it is apparent that this is a full base install of Windows Server 2008 Enterprise. Files can be copied out of the directory and the image can be unmounted.

c:\Program Files\Windows AIK\Tools\amd64>imagex /unmount c:\mounted_images\

ImageX Tool for Windows
Copyright (C) Microsoft Corp. All rights reserved.
Version: 6.1.7600.16385

Unmounting: [c:\mounted_images\]...

[ 100% ] Mount cleanup progress

Successfully unmounted image.

Total elapsed time: 50 sec 
 

Windows 7

To start out, I mounted the Windows 7 ISO using Virtual CloneDrive to E:. The WIM file used for installing new systems is in E:\sources\install.wim. E:\sources\boot.wim is the Windows Preinstallation Environment (WinPE). WinPE is used to start and run the installation process.


c:\Program Files\Windows AIK\Tools\amd64>imagex /info e:\sources\install.wim

ImageX Tool for Windows
Copyright (C) Microsoft Corp. All rights reserved.
Version: 6.1.7600.16385

WIM Information:
----------------
Path:        e:\sources\install.wim
GUID:        {7bf33c3a-c5ea-442f-bc19-e23bb486a301}
Image Count: 1
Compression: LZX
Part Number: 1/1
Attributes:  0xc
             Integrity info
             Relative path junction


Available Image Choices:
------------------------
<wim>
  <totalbytes>2760348780</totalbytes>
  <img index="1" />
    <dircount>13629</dircount>
    <filecount>64547</filecount>
    <totalbytes>11912905130</totalbytes>
    <creationtime>
      <highpart>0x01CA0446</highpart>
      <lowpart>0xE89FF88A</lowpart>
    </creationtime>
    <lastmodificationtime>
      <highpart>0x01CA0456</highpart>
      <lowpart>0xC6F78534</lowpart>
    </lastmodificationtime>
    <windows>
      <arch>9</arch>
      <productname>Microsoftr Windowsr Operating System</productname>
      <editionid>Enterprise</editionid>
      <installationtype>Client</installationtype>
      <hal>acpiapic</hal>
      <producttype>WinNT</producttype>
      <productsuite>Terminal Server</productsuite>
      <languages>
        <language>en-US</language>
        <default>en-US</default>
      </languages>
      <version>
        <major>6</major>
        <minor>1</minor>
        <build>7600</build>
        <spbuild>16385</spbuild>
        <splevel>0</splevel>
      </version>
      <systemroot>WINDOWS</systemroot>
    </windows>
    <name>Windows 7 ENTERPRISE</name>
    <description>Windows 7 ENTERPRISE</description>
    <flags>Enterprise</flags>
    <hardlinkbytes>4805832700</hardlinkbytes>
    <displayname>Windows 7 Enterprise</displayname>
    <displaydescription>Windows 7 Enterprise</displaydescription>
  </wim>

 
 
imagex shows that there is only one image available (Windows 7 Enterprise). Other DVDs will likely have the other images (Windows 7 Starter, Windows 7 Home Premium, Windows 7 Professional, and Windows 7 Ultimate).

I mounted the Windows 7 Enterprise Image (index 1) to an empty directory that I created, c:\mounted_images.


imagex /mount e:\sources\install.wim 1 c:\mounted_images

ImageX Tool for Windows
Copyright (C) Microsoft Corp. All rights reserved.
Version: 6.1.7600.16385

Mounting: [e:\sources\install.wim, 1] -> [c:\mounted_images]...

[ 100% ] Mounting progress

Successfully mounted image.

Total elapsed time: 7 min 5 sec 
  
From the c:\mounted_images directory, it is apparent that this is a full base install of Windows 7. Files can be copied out of the directory and the image can be unmounted.

c:\Program Files\Windows AIK\Tools\amd64>imagex /unmount c:\mounted_images\

ImageX Tool for Windows
Copyright (C) Microsoft Corp. All rights reserved.
Version: 6.1.7600.16385

Unmounting: [c:\mounted_images\]...

[ 100% ] Mount cleanup progress

Successfully unmounted image.

Total elapsed time: 55 sec
 

Windows Server 2008 R2

To start out, I mounted the Windows Server 2008 R2 ISO using Virtual CloneDrive to E:. The WIM file used for installing new systems is in E:\sources\install.wim. E:\sources\boot.wim is the Windows Preinstallation Environment (WinPE). WinPE is used to start and run the installation process.


c:\Program Files\Windows AIK\Tools\amd64>imagex /info e:\sources\install.wim 

ImageX Tool for Windows
Copyright (C) Microsoft Corp. All rights reserved.
Version: 6.1.7600.16385

WIM Information:
----------------
Path:        e:\sources\install.wim
GUID:        {682adb12-aef3-4ff3-b17e-13764cbdceff}
Image Count: 8
Compression: LZX
Part Number: 1/1
Attributes:  0xc
             Integrity info
             Relative path junction


Available Image Choices:
------------------------
<wim>
  <totalbytes>2643080205</totalbytes>
  <img index="1" />
    <dircount>13393</dircount>
    <filecount>59580</filecount>
    <totalbytes>10124170912</totalbytes>
    <creationtime>
      <highpart>0x01CA0446</highpart>
      <lowpart>0x8E44DCAF</lowpart>
    </creationtime>
    <lastmodificationtime>
      <highpart>0x01CA0457</highpart>
      <lowpart>0xDF05F67A</lowpart>
    </lastmodificationtime>
    <windows>
      <arch>9</arch>
      <productname>Microsoft® Windows® Operating System</productname>
      <editionid>ServerStandard</editionid>
      <installationtype>Server</installationtype>
      <hal>acpiapic</hal>
      <producttype>ServerNT</producttype>
      <productsuite>Terminal Server</productsuite>
      <languages>
        <language>en-US</language>
        <default>en-US</default>
      </languages>
      <version>
        <major>6</major>
        <minor>1</minor>
        <build>7600</build>
        <spbuild>16385</spbuild>
        <splevel>0</splevel>
      </version>
      <systemroot>WINDOWS</systemroot>
    </windows>
    <name>Windows Server 2008 R2 SERVERSTANDARD</name>
    <description>Windows Server 2008 R2 SERVERSTANDARD</description>
    <flags>ServerStandard</flags>
    <hardlinkbytes>3549542525</hardlinkbytes>
    <displayname>Windows Server 2008 R2 Standard (Full Installation)</displayname>
    <displaydescription>This option installs the complete installation of </displaydescription></wim></pre>
<pre>Windows Server. This installation includes the entire user interface, and </pre>
<pre>it supports all of the server roles.
  
  <img index="2" />
    <dircount>6691</dircount>
    <filecount>27989</filecount>
    <totalbytes>3452482925</totalbytes>
    <creationtime>
      <highpart>0x01CA0441</highpart>
      <lowpart>0x2418C48E</lowpart>
    </creationtime>
    <lastmodificationtime>
      <highpart>0x01CA0458</highpart>
      <lowpart>0x0CF4C462</lowpart>
    </lastmodificationtime>
    <windows>
      <arch>9</arch>
      <productname>Microsoft® Windows® Operating System</productname>
      <editionid>ServerStandard</editionid>
      <installationtype>Server Core</installationtype>
      <hal>acpiapic</hal>
      <producttype>ServerNT</producttype>
      <productsuite>Terminal Server</productsuite>
      <languages>
        <language>en-US</language>
        <default>en-US</default>
      </languages>
      <version>
        <major>6</major>
        <minor>1</minor>
        <build>7600</build>
        <spbuild>16385</spbuild>
        <splevel>0</splevel>
      </version>
      <systemroot>WINDOWS</systemroot>
    </windows>
    <name>Windows Server 2008 R2 SERVERSTANDARDCORE</name>
    <description>Windows Server 2008 R2 SERVERSTANDARDCORE</description>
    <flags>ServerStandardCore</flags>
    <hardlinkbytes>1059628766</hardlinkbytes>
    <displayname>Windows Server 2008 R2 Standard (Server Core Installation)</displayname>
    <displaydescription>This option installs a minimal installation of </displaydescription></pre>
<pre>Windows Server without the standard Windows user interface, and with a </pre>
<pre>subset of server roles that can be managed from a command prompt, reducing </pre>
<pre>management requirements and attack surface.
  
  <img index="3" />
    <dircount>13393</dircount>
    <filecount>59572</filecount>
    <totalbytes>10124270277</totalbytes>
    <creationtime>
      <highpart>0x01CA0446</highpart>
      <lowpart>0x8E44DCAF</lowpart>
    </creationtime>
    <lastmodificationtime>
      <highpart>0x01CA0458</highpart>
      <lowpart>0x5CEB62E6</lowpart>
    </lastmodificationtime>
    <windows>
      <arch>9</arch>
      <productname>Microsoft® Windows® Operating System</productname>
      <editionid>ServerEnterprise</editionid>
      <installationtype>Server</installationtype>
      <hal>acpiapic</hal>
      <producttype>ServerNT</producttype>
      <productsuite>Terminal Server</productsuite>
      <languages>
        <language>en-US</language>
        <default>en-US</default>
      </languages>
      <version>
        <major>6</major>
        <minor>1</minor>
        <build>7600</build>
        <spbuild>16385</spbuild>
        <splevel>0</splevel>
      </version>
      <systemroot>WINDOWS</systemroot>
    </windows>
    <name>Windows Server 2008 R2 SERVERENTERPRISE</name>
    <description>Windows Server 2008 R2 SERVERENTERPRISE</description>
    <flags>ServerEnterprise</flags>
    <hardlinkbytes>3549432382</hardlinkbytes>
    <displayname>Windows Server 2008 R2 Enterprise (Full Installation)</displayname>
    <displaydescription>This option installs the complete installation of </displaydescription></pre>
<pre>Windows Server. This installation includes the entire user interface, and </pre>
<pre>it supports all of the server roles.
  
  <img index="4" />
    <dircount>6691</dircount>
    <filecount>27981</filecount>
    <totalbytes>3452375464</totalbytes>
    <creationtime>
      <highpart>0x01CA0441</highpart>
      <lowpart>0x2418C48E</lowpart>
    </creationtime>
    <lastmodificationtime>
      <highpart>0x01CA0458</highpart>
      <lowpart>0x9BE7A284</lowpart>
    </lastmodificationtime>
    <windows>
      <arch>9</arch>
      <productname>Microsoft® Windows® Operating System</productname>
      <editionid>ServerEnterprise</editionid>
      <installationtype>Server Core</installationtype>
      <hal>acpiapic</hal>
      <producttype>ServerNT</producttype>
      <productsuite>Terminal Server</productsuite>
      <languages>
        <language>en-US</language>
        <default>en-US</default>
      </languages>
      <version>
        <major>6</major>
        <minor>1</minor>
        <build>7600</build>
        <spbuild>16385</spbuild>
        <splevel>0</splevel>
      </version>
      <systemroot>WINDOWS</systemroot>
    </windows>
    <name>Windows Server 2008 R2 SERVERENTERPRISECORE</name>
    <description>Windows Server 2008 R2 SERVERENTERPRISECORE</description>
    <flags>ServerEnterpriseCore</flags>
    <hardlinkbytes>1059518629</hardlinkbytes>
    <displayname>Windows Server 2008 R2 Enterprise (Server Core Installation)</displayname>
    <displaydescription>This option installs a minimal installation of </displaydescription></pre>
<pre>Windows Server without the standard Windows user interface, and with a subset </pre>
<pre>of server roles that can be managed from a command prompt, reducing management </pre>
<pre>requirements and attack surface.
  
  <img index="5" />
    <dircount>13393</dircount>
    <filecount>59569</filecount>
    <totalbytes>10124293398</totalbytes>
    <creationtime>
      <highpart>0x01CA0446</highpart>
      <lowpart>0x8E44DCAF</lowpart>
    </creationtime>
    <lastmodificationtime>
      <highpart>0x01CA0458</highpart>
      <lowpart>0xF7827C7C</lowpart>
    </lastmodificationtime>
    <windows>
      <arch>9</arch>
      <productname>Microsoft® Windows® Operating System</productname>
      <editionid>ServerDatacenter</editionid>
      <installationtype>Server</installationtype>
      <hal>acpiapic</hal>
      <producttype>ServerNT</producttype>
      <productsuite>Terminal Server</productsuite>
      <languages>
        <language>en-US</language>
        <default>en-US</default>
      </languages>
      <version>
        <major>6</major>
        <minor>1</minor>
        <build>7600</build>
        <spbuild>16385</spbuild>
        <splevel>0</splevel>
      </version>
      <systemroot>WINDOWS</systemroot>
    </windows>
    <name>Windows Server 2008 R2 SERVERDATACENTER</name>
    <description>Windows Server 2008 R2 SERVERDATACENTER</description>
    <flags>ServerDataCenter</flags>
    <hardlinkbytes>3549388133</hardlinkbytes>
    <displayname>Windows Server 2008 R2 Datacenter (Full Installation)</displayname>
    <displaydescription>This option installs the complete installation of </displaydescription></pre>
<pre>Windows Server. This installation includes the entire user interface, and </pre>
<pre>it supports all of the server roles.
  
  <img index="6" />
    <dircount>6691</dircount>
    <filecount>27978</filecount>
    <totalbytes>3452336241</totalbytes>
    <creationtime>
      <highpart>0x01CA0441</highpart>
      <lowpart>0x2418C48E</lowpart>
    </creationtime>
    <lastmodificationtime>
      <highpart>0x01CA0459</highpart>
      <lowpart>0x3541A358</lowpart>
    </lastmodificationtime>
    <windows>
      <arch>9</arch>
      <productname>Microsoft® Windows® Operating System</productname>
      <editionid>ServerDatacenter</editionid>
      <installationtype>Server Core</installationtype>
      <hal>acpiapic</hal>
      <producttype>ServerNT</producttype>
      <productsuite>Terminal Server</productsuite>
      <languages>
        <language>en-US</language>
        <default>en-US</default>
      </languages>
      <version>
        <major>6</major>
        <minor>1</minor>
        <build>7600</build>
        <spbuild>16385</spbuild>
        <splevel>0</splevel>
      </version>
      <systemroot>WINDOWS</systemroot>
    </windows>
    <name>Windows Server 2008 R2 SERVERDATACENTERCORE</name>
    <description>Windows Server 2008 R2 SERVERDATACENTERCORE</description>
    <flags>ServerDataCenterCore</flags>
    <hardlinkbytes>1059474466</hardlinkbytes>
    <displayname>Windows Server 2008 R2 Datacenter (Server Core Installation)</displayname>
    <displaydescription>This option installs a minimal installation </displaydescription></pre>
<pre>of Windows Server without the standard Windows user interface, and with a </pre>
<pre>subset of server roles that can be managed from a command prompt, reducing </pre>
<pre>management requirements and attack surface.
  
  <img index="7" />
    <dircount>13177</dircount>
    <filecount>58761</filecount>
    <totalbytes>10012085727</totalbytes>
    <creationtime>
      <highpart>0x01CA0446</highpart>
      <lowpart>0x8E44DCAF</lowpart>
    </creationtime>
    <lastmodificationtime>
      <highpart>0x01CA0459</highpart>
      <lowpart>0x904D593C</lowpart>
    </lastmodificationtime>
    <windows>
      <arch>9</arch>
      <productname>Microsoft® Windows® Operating System</productname>
      <editionid>ServerWeb</editionid>
      <installationtype>Server</installationtype>
      <hal>acpiapic</hal>
      <producttype>ServerNT</producttype>
      <productsuite>Terminal Server</productsuite>
      <languages>
        <language>en-US</language>
        <default>en-US</default>
      </languages>
      <version>
        <major>6</major>
        <minor>1</minor>
        <build>7600</build>
        <spbuild>16385</spbuild>
        <splevel>0</splevel>
      </version>
      <systemroot>WINDOWS</systemroot>
    </windows>
    <name>Windows Server 2008 R2 SERVERWEB</name>
    <description>Windows Server 2008 R2 SERVERWEB</description>
    <flags>ServerWeb</flags>
    <hardlinkbytes>3533354252</hardlinkbytes>
    <displayname>Windows Web Server 2008 R2 (Full Installation)</displayname>
    <displaydescription>This option installs the complete installation of </displaydescription></pre>
<pre>Windows Server. This installation includes the entire user interface, and </pre>
<pre>it supports all of the server roles.
  
  <img index="8" />
    <dircount>6676</dircount>
    <filecount>27904</filecount>
    <totalbytes>3443413672</totalbytes>
    <creationtime>
      <highpart>0x01CA0441</highpart>
      <lowpart>0x2418C48E</lowpart>
    </creationtime>
    <lastmodificationtime>
      <highpart>0x01CA0459</highpart>
      <lowpart>0xC6A29976</lowpart>
    </lastmodificationtime>
    <windows>
      <arch>9</arch>
      <productname>Microsoft® Windows® Operating System</productname>
      <editionid>ServerWeb</editionid>
      <installationtype>Server Core</installationtype>
      <hal>acpiapic</hal>
      <producttype>ServerNT</producttype>
      <productsuite>Terminal Server</productsuite>
      <languages>
        <language>en-US</language>
        <default>en-US</default>
      </languages>
      <version>
        <major>6</major>
        <minor>1</minor>
        <build>7600</build>
        <spbuild>16385</spbuild>
        <splevel>0</splevel>
      </version>
      <systemroot>WINDOWS</systemroot>
    </windows>
    <name>Windows Server 2008 R2 SERVERWEBCORE</name>
    <description>Windows Server 2008 R2 SERVERWEBCORE</description>
    <flags>ServerWebCore</flags>
    <hardlinkbytes>1059539949</hardlinkbytes>
    <displayname>Windows Web Server 2008 R2 (Server Core Installation)</displayname>
    <displaydescription>This option installs a minimal installation of Windows Server </displaydescription>

without the standard Windows user interface, and with a subset of server roles that 
can be managed from a command prompt, reducing management requirements and attack 
surface.
  

 
 
imagex shows 8 images available (Full installations and Core installations of each edition of Windows Server 2008 R2 editions).

I mounted the Windows Server 2008 R2 Enterprise Image (index 3) to an empty directory that I created, c:\mounted_images.


imagex /mount e:\sources\install.wim 3 c:\mounted_images

ImageX Tool for Windows
Copyright (C) Microsoft Corp. All rights reserved.
Version: 6.1.7600.16385

Mounting: [e:\sources\install.wim, 3] -> [c:\mounted_images]...

[ 100% ] Mounting progress

Successfully mounted image.

Total elapsed time: 7 min 6 sec 
  
From the c:\mounted_images directory, it is apparent that this is a full base install of Windows Server 2008 R2 Enterprise. Files can be copied out of the directory and the image can be unmounted.

c:\Program Files\Windows AIK\Tools\amd64>imagex /unmount c:\mounted_images\

ImageX Tool for Windows
Copyright (C) Microsoft Corp. All rights reserved.
Version: 6.1.7600.16385

Unmounting: [c:\mounted_images\]...

[ 100% ] Mount cleanup progress

Successfully unmounted image.

Total elapsed time: 56 sec 
 

Windows 8 Developer Preview

To start out, I mounted the Windows 8 Developer Preview using Virtual CloneDrive to E:. The WIM file used for installing new systems is in E:\sources\install.wim. E:\sources\boot.wim is the Windows Preinstallation Environment (WinPE). WinPE is used to start and run the installation process.


c:\Program Files\Windows AIK\Tools\amd64>imagex /info e:\sources\install.wim

ImageX Tool for Windows
Copyright (C) Microsoft Corp. All rights reserved.
Version: 6.1.7600.16385

WIM Information:
----------------
Path:        e:\sources\install.wim
GUID:        {d9bfb29e-c547-4395-a4d3-0d9e562c37d7}
Image Count: 1
Compression: LZX
Part Number: 1/1
Attributes:  0x8
             Relative path junction


Available Image Choices:
------------------------
<WIM>
  <TOTALBYTES>3272285556</TOTALBYTES>
  <IMAGE INDEX="1">
    <DIRCOUNT>15078</DIRCOUNT>
    <FILECOUNT>71371</FILECOUNT>
    <TOTALBYTES>12756775435</TOTALBYTES>
    <HARDLINKBYTES>4870029526</HARDLINKBYTES>
    <CREATIONTIME>
      <HIGHPART>0x01CC6772</HIGHPART>
      <LOWPART>0x7E5E349C</LOWPART>
    </CREATIONTIME>
    <LASTMODIFICATIONTIME>
      <HIGHPART>0x01CC6847</HIGHPART>
      <LOWPART>0x7D8CCFEE</LOWPART>
    </LASTMODIFICATIONTIME>
    <WINDOWS>
      <ARCH>9</ARCH>
      <PRODUCTNAME>Microsoftr Windowsr Operating System</PRODUCTNAME>
      <EDITIONID>Prerelease</EDITIONID>
      <INSTALLATIONTYPE>Client</INSTALLATIONTYPE>
      <SERVICINGDATA>
        <PKEYCONFIGVERSION>6.2.8102.0;2011-08-23T22:28:58Z</PKEYCONFIGVERSION>
      </SERVICINGDATA>
      <HAL>acpiapic</HAL>
      <PRODUCTTYPE>WinNT</PRODUCTTYPE>
      <PRODUCTSUITE>Terminal Server</PRODUCTSUITE>
      <LANGUAGES>
        <LANGUAGE>en-US</LANGUAGE>
        <DEFAULT>en-US</DEFAULT>
      </LANGUAGES>
      <VERSION>
        <MAJOR>6</MAJOR>
        <MINOR>2</MINOR>
        <BUILD>8102</BUILD>
        <SPBUILD>0</SPBUILD>
        <SPLEVEL>0</SPLEVEL>
      </VERSION>
      <SYSTEMROOT>WINDOWS</SYSTEMROOT>
    </WINDOWS>
    <NAME>Windows DEVELOPERPREVIEW</NAME>
    <DESCRIPTION>Windows DEVELOPERPREVIEW</DESCRIPTION>
    <FLAGS>PreRelease</FLAGS>
    <DISPLAYNAME>Windows Developer Preview</DISPLAYNAME>
    <DISPLAYDESCRIPTION>Windows Developer Preview</DISPLAYDESCRIPTION>
  </IMAGE>
</WIM>


 
 
imagex shows that there is only one image available (Windows Developer Preview).

I mounted the Windows 8 Developer Preview Image (index 1) to an empty directory that I created, c:\mounted_images.


imagex /mount e:\sources\install.wim 1 c:\mounted_images

ImageX Tool for Windows
Copyright (C) Microsoft Corp. All rights reserved.
Version: 6.1.7600.16385

Mounting: [e:\sources\install.wim, 1] -> [c:\mounted_images]...

[ 100% ] Mounting progress

Successfully mounted image.

Total elapsed time: 7 min 27 sec 
  
From the c:\mounted_images directory, it is apparent that this is a full base install of Windows 8 Developer Preview. Files can be copied out of the directory and the image can be unmounted.

c:\Program Files\Windows AIK\Tools\amd64>imagex /unmount c:\mounted_images\

ImageX Tool for Windows
Copyright (C) Microsoft Corp. All rights reserved.
Version: 6.1.7600.16385

Unmounting: [c:\mounted_images\]...

[ 100% ] Mount cleanup progress

Successfully unmounted image.

Total elapsed time: 55 sec
 




Have an idea for something that you'd like to see explored? Leave a comment or send an e-mail to razorbackx_at_gmailcom