DESKTOP

Automating Windows 7 Installation : Getting Familiar with Microsoft Images (part 2) - Creating Operating System Images

10/27/2013 7:37:01 PM

3. Creating a Bootable WinPE Image

WinPE images are not intended to be a primary operating system. Instead, WinPE provides an interface for the user with enough access to the hardware to complete a full installation. You can boot to a WinPE image using a bootable CD, a USB flash drive, or a hard disk, or you can use a preboot execution environment (PXE) client to connect to a WDS server.

When you start the Windows 7 installation, Setup will load WinPE from the boot.wim file located in the \sources\ folder of the installation DVD. While the WinPE meets the needs of most users, you can customize it. For example, you can create your own bootable USB drive or CD and includes extra files like the ImageX utility to capture an image after booting to the WinRE.

4. Creating Operating System Images

Operating system images are also known as install images. They include a full operating system. A thin image (also called a basic image) is just the default operating system and nothing else. Thick images (also called custom images) include the operating system along with any customization and applications you may need.

A WIM file can hold multiple images. For example, install.wim on the installation DVD typically holds images for multiple editions of Windows 7. You can query the contents of an image file by issuing the following command at the WAIK Deployment Tools command prompt:

ImageX /info targetlmageFile

The target is the location of the image file. For example, if your installation DVD is in the E: drive, the target location is e:\sources\install.wim and the command would look like this:

ImageX /info e:\sources\install.wim

Listing 1 shows a partial output from this query. We left all the details in for the first image (IMAGE INDEX="1") but included only the index number and name for the remaining four images.

Example 1. ImageX information included on the install.wim file
ImageX Tool for Windows
Copyright (C) Microsoft Corp. All rights reserved.
Version: 6.1.7600.16385

WIM Information:
----------------
Path: e:\sources\install.wim
GUID: {4db440bc-7222-4651-9192-1798c4b29bcb}
Image Count: 5
Compression: LZX
Part Number: 1/1
Attributes: 0xc
Integrity info
Relative path junction

Available Image Choices:


------------------------
<WIM>
<TOTALBYTES>2188572852</TOTALBYTES>
<IMAGE INDEX="1">
<DIRCOUNT>9044</DIRCOUNT>
<FILECOUNT>45608</FILECOUNT>
<TOTALBYTES>7936340784</TOTALBYTES>
<CREATIONTIME>
<HIGHPART>0x01CA0443</HIGHPART>
<LOWPART>0x6568BDF8</LOWPART>
</CREATIONTIME>
<LASTMODIFICATIONTIME>
<HIGHPART>0x01CA045F</HIGHPART>
<LOWPART>0x905A47C2</LOWPART>
</LASTMODIFICATIONTIME>
<WINDOWS>
<ARCH>0</ARCH>
<PRODUCTNAME>Microsoftr Windowsr Operating System</PRODUCTNAME>
<EDITIONID>Starter</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 STARTER</NAME>
<DESCRIPTION>Windows 7 STARTER</DESCRIPTION>
<FLAGS>Starter</FLAGS>
<HARDLINKBYTES>3070770507</HARDLINKBYTES>
<DISPLAYNAME>Windows 7 Starter</DISPLAYNAME>
<DISPLAYDESCRIPTION>Windows 7 Starter</DISPLAYDESCRIPTION>
</IMAGE>
<IMAGE INDEX="2">
...


<NAME>Windows 7 HOMEBASIC</NAME>
...
</IMAGE>
<IMAGE INDEX="3">
...
<NAME>Windows 7 HOMEPREMIUM</NAME>
...
</IMAGE>
<IMAGE INDEX="4">
...
<NAME>Windows 7 PROFESSIONAL</NAME>
...
</IMAGE>
<IMAGE INDEX="5">
...
<NAME>Windows 7 ULTIMATE</NAME>
...
</IMAGE>
</WIM>

When working with images using either ImageX or DISM, you'll frequently need to know either the index number or the name. The index number is much easier to enter, but you may want to use the name to ensure you're working on the correct image.

While you probably won't have a need for an image file with multiple editions of Windows 7, you may want to create an image file with multiple versions of Windows 7 installations. For example, you can create one image that includes the software and configuration needed by sales people and name it Windows 7 Sales. You can create another image needed by personnel working in IT and name it Windows 7 IT.

A benefit of storing multiple images in a single WIM file is that the imaging format uses single file storage for efficiency. That way, if five images in a WIM file have an identical application named Notepad.exe, it is stored only once instead of five times.

Other  
  •  Windows 8 : Scheduling Maintenance Tasks - Viewing and Managing Tasks on Local and Remote Systems
  •  Windows 8 : Detecting and Resolving Windows 8 Errors - Using the Event Logs for Error Tracking and Diagnosis, Viewing and Managing the Event Logs
  •  Windows 8 : Using Remote Assistance to Resolve Problems
  •  Windows 8 : Managing Automatic Updates
  •  Windows 8 : Managing Installed and Running Programs (part 3) - Configuring AutoPlay Options, Adding and Removing Windows Features
  •  Windows 8 : Managing Installed and Running Programs (part 2) - Managing the Command Path, Managing File Extensions and File Associations
  •  Windows 8 : Managing Installed and Running Programs (part 1) - Managing Currently Running Programs, Managing, Repairing, and Uninstalling Programs, Designating Default Programs
  •  Windows 8 : Deploying Applications Through Group Policy, Configuring Program Compatibility
  •  Windows 8 : Installing Programs - Working with Autorun, Application Setup and Compatibility, Making Programs Available to All or Selected Users
  •  Windows 7 : Windows Management and Maintenance - Additional Tools
  •  
    Most View
    DirectX 10 Game Programming : Shaders and Effects - Pixel Shaders, Lighting (part 3) - Applying the Light
    Microsoft Dynamics Sure Step 2010 : The Microsoft Solution Selling Process
    LINQ to Objects : Working with Set Data - The HashSet Class
    Sigma 120-300mm F/2.8 DG OS HSM S Lens Review
    OCUK Limited Edition P170EM - A Great Screen And Balanced Setup
    Windows Small Business Server 2011 : Customizing a SharePoint Site - Introducing SharePoint Foundation 2010
    Windows 7 : Programming Multiple I/O Queues and Programming I/O - Handling Requests from a Parallel Queue
    Make The Most Of Your Wi-Fi (Part 1)
    Windows Server 2003 : Designing a Server Cluster (part 2) - Creating an Application Deployment Plan
    Edifier E10 Exclaim - Exclamation Mark
    REVIEW
    - First look: Apple Watch

    - 10 Amazing Tools You Should Be Using with Dropbox
    VIDEO TUTORIAL
    - How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 1)

    - How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 2)

    - How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 3)
    Popular Tags
    Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 Adobe Indesign Adobe Flash Professional Dreamweaver Adobe Illustrator Adobe After Effects Adobe Photoshop Adobe Fireworks Adobe Flash Catalyst Corel Painter X CorelDRAW X5 CorelDraw 10 QuarkXPress 8 windows Phone 7 windows Phone 8 BlackBerry Android Ipad Iphone iOS
    Top 10
    3 Tips for Maintaining Your Cell Phone Battery (part 2) - Discharge Smart, Use Smart
    3 Tips for Maintaining Your Cell Phone Battery (part 1) - Charge Smart
    OPEL MERIVA : Making a grand entrance
    FORD MONDEO 2.0 ECOBOOST : Modern Mondeo
    BMW 650i COUPE : Sexy retooling of BMW's 6-series
    BMW 120d; M135i - Finely tuned
    PHP Tutorials : Storing Images in MySQL with PHP (part 2) - Creating the HTML, Inserting the Image into MySQL
    PHP Tutorials : Storing Images in MySQL with PHP (part 1) - Why store binary files in MySQL using PHP?
    Java Tutorials : Nested For Loop (part 2) - Program to create a Two-Dimensional Array
    Java Tutorials : Nested For Loop (part 1)