Logo
CAR REVIEW
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
PREGNANCY
 
 
Windows Vista

Preparing Windows PE : Setting up the Environment

2/20/2013 5:26:04 PM

You will need to build an environment for customizing Windows PE images before deployment. Having everything in the appropriate location will simplify the task of creating builds and will help you establish repeatable methods for creating and updating builds.

Create this environment on a technician, or lab computer. If you’re using BDD 2007 to deploy Windows Vista, configure the Windows PE customization environment on the build server. In fact, installing and configuring BDD 2007 installs all of the requirements for building custom Windows PE images.

Installing the Windows AIK

Windows PE ships with the Windows AIK, which is available from the Microsoft Download Center at http://www.microsoft.com/downloads. Install the Windows AIK on your Windows PE build system from the installation DVD. (Microsoft provides the Windows AIK as a downloadable DVD image.) Installing the Windows AIK is a requirement for installing and using BDD 2007. Therefore, a build server containing BDD 2007 already has the files necessary to build and customize Windows PE images. 

Before installing Windows AIK, you need to prepare your build system for the Windows AIK installation. In addition to certain system requirements, installing the Windows AIK also has software prerequisites. These requirements are similar to the requirements for installing and using BDD 2007:

  • MSXML Parser 6.0

  • .NET Framework 2.0

  • An x86 or x64 computer running Windows XP Professional Service Pack 2, Windows Server 2003 Service Pack 1, Windows Vista, or Windows Server Code Name “Longhorn”

  • Approximately 1.1 gigabytes of free disk space, plus additional space for images and Windows PE builds

To install the Windows AIK
1.
From the Windows AIK media or a folder containing the Windows AIK, run waikplatform.msi, where platform is either x86 or amd64.

2.
Accept the EULA and choose the default location for the installation files. You must use the default installation location if you’re using BDD 2007.

3.
Complete the installation wizard to install Windows AIK.

Note

The Windows Installer file waikplatform.msi includes the Windows AIK tools. The file winpe.cab actually includes the Windows PE source files. To install Windows PE, winpe.cab must be in the same folder as the .msi file.


Configuring the Build Environment

Windows AIK will install the Windows PE build and imaging tools to the following folders:

  • C:\Program Files\Windows AIK\Tools\ Contains Windows AIK program files

  • C:\Program Files\Windows AIK\Tools\platform\ Contains ImageX program files for different processor architectures

  • C:\Program Files\Windows AIK\Tools\PETools\ Contains Window PE source files

  • C:\Program Files\Windows AIK\Tools\Servicing\ Contains supporting sources files

Windows AIK also provides a command prompt that opens on the Windows AIK tools folders (Figure 1). You can use commands within this command prompt interface to create your Windows PE build environment. The build environment is a copy of the build scripts and Windows PE source files that you customize and then use to create a new Windows PE image file. The Copype.cmd script is designed to create the build environment. Use the following syntax to create the Windows PE environment, where platform is either x86 or amd64 and destination is the folder to which you want to copy the files:

copype.cmd platform destination

Figure 1. Use the Windows PE Tools Command Prompt to work with Windows PE.


Removing the Build Environment

When the Peimg utility installs components, it modifies the access control lists (ACLs) of the Windows PE build files and folders, making it difficult to remove them in the future. You can work around this by using the Windows Server 2003 tool Takeown.exe to take ownership of the affected resources.

To remove the Windows PE build environment
1.
Take ownership of the folder structure using the Takeown command:

takedown /F c:\winpe_x86\* /R

2.
Use the Change ACLs (cacls) command to give yourself permission to remove the folders (user is your user account):

cacls c:\winpe_x86\* /T /G user:F

3.
Remove the folder:

rd /s /q c:\winpe_x86\

Other -----------------
- Preparing Windows PE : Exploring Windows PE
- Planning Deployment : Starting Deployment Workbench, Updating BDD 2007 Components
- Planning Deployment : Installing BDD 2007
- Planning Deployment : Preparing for Development
- Planning Deployment : Planning Low-Volume Deployment, Windows Vista Requirements
- Using BDD 2007 for Deployment Planning
- Developing Disk Images : Manually Preparing Images, Customizing BDD 2007
- Maintaining Security : Authorizing Administrative Actions, Restricting Access to Web Content
- Maintaining Security : Monitoring Your Security Settings, Configuring the Windows Firewall
- Developing Disk Images : Capturing a Disk Image for LTI, Capturing a Disk Image for ZTI
- Developing Disk Images : Creating the Lab Deployment Point
- Adobe Illustrator CS5 : Organizing Your Drawing - Working with Groups
- Adobe Illustrator CS5 : Organizing Your Drawing - Enhancing Appearances with Live Effects
- Adobe Dreamweaver CS5 : Working with Multimedia and Online Tools - Checking for Plug-ins
- Adobe Dreamweaver CS5 : Working with Multimedia and Online Tools - Using Plug-ins
- Adobe Dreamweaver CS5 : Working with Multimedia and Online Tools - Using ActiveX Controls
- Maintaining Security : Restricting User Rights, Protecting Your Account
- Maintaining Security : Setting Your Password, Changing Your Password, Resetting Your Password
- Adobe Photoshop CS5 : The Essentials of Camera Raw - Photoshop Killer Tips
- Adobe Photoshop CS5 : Cropping and Straightening
 
 
Most view of day
- BizTalk Server 2006 : Starting a New BizTalk Project - BizTalk Assembly Naming and Versioning
- Maintaining Desktop Health : Monitoring Reliability and Performance (part 5)
- Maintaining Security : Authorizing Administrative Actions, Restricting Access to Web Content
- Exchange Server 2007 : Migrating from Windows 2000 Server to Windows Server 2003 (part 1) - Beginning the Migration Process
- Microsoft Excel 2010 : Calculating the Mean (part 1) - Understanding Functions, Arguments, and Results
- Communicating with Internet Email : Finding a Message - Simple Searches, Advanced Searches, Finding a Person
- Exchange Server 2007 : Deploying a Cluster Continuous Replication Mailbox Cluster (part 1)
- Installing and Configuring the Basics of Exchange Server 2013 for a Brand-New Environment (part 2)
- Windows Phone 8 : Designing for the Phone - Deciding on an Application Paradigm
- Windows Server 2003 on HP ProLiant Servers : Security Planning and Design (part 3) - Microsoft Software Update Service and Windows Update Service
Top 10
- Windows Phone 8 : Scheduled Tasks - Scheduled Task API Limitations
- Windows Phone 8 : Scheduled Tasks - Updating Tiles Using a Scheduled Task Agent
- Windows Phone 8 : Scheduled Tasks - To-Do List Scheduled Task Sample (part 5) - Editing an Existing To-Do Item
- Windows Phone 8 : Scheduled Tasks - To-Do List Scheduled Task Sample (part 4) - Creating the To-Do Item Shell Tile, Saving a To-Do Item
- Windows Phone 8 : Scheduled Tasks - To-Do List Scheduled Task Sample (part 3) - Debugging Scheduled Tasks
- Windows Phone 8 : Scheduled Tasks - To-Do List Scheduled Task Sample (part 2) - TodoService, TodoItemViewModel
- Windows Phone 8 : Scheduled Tasks - To-Do List Scheduled Task Sample (part 1) - TodoItem,TodoDataContext
- Windows Phone 8 : Scheduled Tasks - Using Scheduled Tasks
- Windows Phone 8 : Scheduled Tasks - Background Agent Types
- Windows Phone 8 : Windows Phone Toolkit Animated Page Transitions - Reusing the Transition Attached Properties
 
 
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
2015 Camaro