Mounting a Windows pe Image
After you set up the build environment, you need to mount one of the base images. This allows you to customize your Windows PE images.
- To prepare 32-bit Windows PE for customization, mount the base image in the build folder by entering imagex /apply c:\winpe_x86\iso\sources\ boot.wim n c:\winpe_x86\mount\, where n is the index position of the image number within the Boot.wim fi le to be applied, and the directory path provided is the location in which to copy the image contents.
- To prepare 64-bit Windows PE for customization, mount the base image in the build folder by entering imagex /apply c:\winpe_x64\iso\sources\ boot.wim n c:\winpe_x64\mount\, where n is the index position of the image number within the Boot.wim fi le to be applied, and the directory path provided is the location in which to copy the image contents.
- To prepare Itanium-based Windows PE for customization, mount the base image in the build folder by entering imagex /apply c:\winpe_ia64\iso\ sources\boot.wim n c:\winpe_ia64\mount\, where n is the index position of the image number within the Boot.wim fi le to be applied, and the directory path provided is the location in which to copy the image contents.
Note there are several other ways to mount images for customization. For example, you can use ImageX /MountrW to mount images. the syntax is the same as with ImageX /apply. DISM has /Mount-wim and /Unmount-wim options as well. For more information, see the section "Customizing Windows Images" later in this tutorial. When you mount an image fi le, you'll see output similar to the following:
ImageX Tool for Windows Copyright (C) Microsoft Corp. All rights reserved. Mounting: [c:\winpe_x86\iso\sources\boot.wim, 1] -> [c:\winpe_x86\mount\]... [ 100% ] Mounting progress Successfully mounted image. Total elapsed time: 10 sec
If ImageX is unable to mount the image, you should check to be sure that you started the Deployment Tools command prompt and are working as an administrator. If you are, check the image fi le properties and ensure that the security settings are confi gured correctly.
Once an image is mounted, you can browse its contents. Simply use Windows Explorer to access the folder to which you've mounted the image. When working with Windows PE, keep in mind that Windows PE images include a limited subset of Windows components-specifi cally, only those components required to start the computer and prepare for installation. Windows Recovery Environment differs from a standard Windows PE confi guration only because it includes additional components that can be used for recovery and for troubleshooting startup.
In this tutorial:
- Deploying Windows 7
- Working with Windows PE
- Understanding Windows pe
- Configuring Windows PE
- Preparing a Build environment
- Creating a Build: the essentials
- Mounting a Windows pe Image
- Customizing a Windows PE Image
- Capturing and Optimizing a Build
- Creating a Bootable ISO Image and Bootable Media
- Creating a Bootable USB Flash Drive
- Booting to an Image from a hard Disk
- Adding Windows pe Images to Windows Deployment Services
- Working with Windows RE
- Creating a Customized Windows RE Image
- Creating Windows re recovery Media
- Adding Windows RE Images to Windows Deployment Services
- Deploying Windows with a Customized Windows RE
- Creating Windows Images for Deployment
- Understanding Windows Imaging
- Creating a Windows Install Image
- Configuring and Using Windows Deployment Services
- Setting Up Windows Deployment Services
- Importing Images
- Installing Windows from an Image
- Capturing Images
- Managing access and prestaging Computers
- Modifying Image File Security
- Customizing Windows Images