Windows 7 Forums


Windows 7: Windows PE Disk - Create


Windows PE Disk - Create

How to Create a Windows PE Disk
Published 20 Dec 2010
Published by

Featured Tutorial

Microsoft Outlook Desktop Shortcut - Create
Microsoft Outlook Desktop Shortcut - Create

How to Create a Special Outlook Desktop (Office XP style) Shortcut

Dual Boot - Windows 7 and Linux
Dual Boot - Windows 7 and Linux

How to Correctly Setup a Dual Boot with Windows 7 and LinuxMint13

Microsoft Account "Two-step Verification" - Turn On or Off
Microsoft Account "Two-step Verification" - Turn On or Off

How to Turn "Two-step Verification" On or Off for your Microsoft Account

Microsoft Account - Sign up for and Create
Microsoft Account - Sign up for and Create

How to Sign up for and Create a Microsoft Account

Portable OS - Carry your OS on an External Drive
Portable OS - Carry your OS on an External Drive

How to Create a Portable OS on an External Drive

SF Diagnostic Tool - Using for Troubleshooting
SF Diagnostic Tool - Using for Troubleshooting

Using SF Diagnostic Tool for Troubleshooting
How to Create a Windows PE Disk

Let me begin by saying this tutorial does not cover every possible scenario, nor is it intended to. It's pretty basic but, if followed, will create a usable Windows PE disk based upon Windows 7. I'm using Windows 7 professional.

Links were tested and confirmed to be working as of the writing of this tutorial. (December 2010)

I want to thank Jeffrey Schenk of DataSchenk for the training.
and Brian Jackson, who's blog on the subject was a key source of information.




Start by downloading the Windows Automated Installation Toolkit
Download details: The Windows® Automated Installation Kit (AIK) for Windows® 7
You'll find online documentation here:
Windows Automated Installation Kit (Windows AIK) User's Guide
Downloadable documentation here:
Download details: Windows Automated Installation Kit for Windows 7 documentation (May 2010 Update)
and the readme here:
Windows Automated Installation Kit for Windows 7 Readme

Once you have the WAIK downloaded, either burn it to disk or USB, and install.

Once installed, open the AIK Command prompt:
Start – All Programs – Microsoft Windows AIK – Deployment Tools Command Prompt

Begin with a cleanup:
Code:
dism /cleanup-wim
Run the copype.cmd script:
Code:
copype.cmd x86 c:\winpe
NOTE: the syntax for this command is:
Code:
copype.cmd <architecture> <destination>
so you'll need to change “x86” to “amd64” or “ia64” for those architectures. Also, my chosen destination is “c:\winpe” but you can create your folder elsewhere if you want. Just keep in mind that this tutorial uses “c:\winpe” in the examples, so you'll need to adapt that to your choice of destination. The command creates the necessary folder structure within the destination folder.

Now, copy and rename the base image:
Code:
copy c:\winpe\winpe.wim c:\winpe\iso\sources\boot.wim
Mount the wim file:
Code:
dism /mount-wim /wimfile:c:\winpe\winpe.wim /index:1 /mountdir:c:\winpe\mount
Add imagex to the system32 folder so it is pathed:
Code:
copy "c:\Program Files\Windows AIK\Tools\x86\imagex.exe" c:\winpe\mount\windows\system32
NOTE:
I don't add any additional packages or drivers to my Windows PE, however I am including the following two steps for those who might need them.
You can add additional packages by using the following syntax:
Code:
dism / image:<path_to_image> /add-package /packagepath:<path_to_package>
Drivers can be added using the following syntax: (The recurse switch causes the command to add all drivers within the path including those in subdirectories.)
Code:
dism /image:<path_to_image> /add-driver /driver:<path_to_driver> /recurse
Unmount the finished wimfile:
Code:
dism /unmount-wim /mountdir:c:\winpe\mount\ /commit
Copy the finished wimfile:
Code:
copy c:\winpe\winpe.wim c:\winpe\iso\sources\boot.wim /y
Create a bootable iso file:
Code:
oscdimg -n -bc:\winpe\etfsboot.com c:\winpe\iso c:\winpe\winpe.iso
Close the Deployment Tools Command Prompt.

Browse to c:\winpe\ and right-click on winpe.iso and choose Open With – Windows Disk Image Burner to burn the iso to disk.

You now have a usable Windows PE disk. Mine has proven invaluable since I support a herd of over 200 Windows boxen and frequently need to image machines.










Need more help? Try searching our extensive help and support site.
Loading
18 Feb 2011   #1
wptski

W7 Pro 64bit
 
 

Reviving this thread!

Anyone else tried this procedure but for a ia64 architecture?

No problems till I get to the last step. It seems that the AIK doesn't put the etfsboot.com file in the Boot folder so it doesn't get copied into the winpe folder. I manually copied the file over.

Continued, created the image file, burned a disc but it won't boot with a can't find boot manager. I copied the etfsboot.com file into the ia64 folder, so it gets copied with the rest, deleted the winpe folder and tried again.

I got a ISO file that was slightly bigger but still get the same error!

EDIT:
Whoops! Should have used amd64 instead of ia64. That worked for me but I expected a low graphic GUI but it's only a command line prompt.


Last edited by wptski; 18 Feb 2011 at 03:01 PM..
My System SpecsSystem Spec

08 Mar 2011   #2
NoN

Windows 7 Professional SP1 - x64
Lost In Space, Vol 8-New Kind Of Kick
 
 

This Tutorial thread can be updated now, with the AIK for Windows 7 SP1:
Download details: The Windows® Automated Installation Kit (AIK) for Windows® 7 SP1

Overview

Windows® Preinstallation Environment (Windows PE) 3.1 is being released as an Windows Automated Installation Kit (Windows AIK) supplement for Windows 7 Service Pack 1 (SP1). Windows PE 3.1 includes all optional components and language packs. You can apply these optional components and language packs to customize the boot.wim and winre.wim images that are part of the Windows 7 SP1 installation media.

This supplement is optional. If you do not need to modify the SP1 boot.wim and winre.wim files, you can continue to use the Windows 7 RTM tools, including WinPE 3.0, without installing this supplement.

The "ReadMe" document last updated february 22, 2011
http://technet.microsoft.com/en-us/l...50(WS.10).aspx
My System SpecsSystem Spec
18 Mar 2011   #3
kallelurifaks

windows 7 ultimate x64
 
 

Hi
Thanks for a good guide - it solved my problem and I have now managed to capture a .wim file using arcitechture amd64
regards
Kallelurifaks
My System SpecsSystem Spec
.


31 Mar 2011   #4
pricetech

Windows 7 Professional 64 bit
Tennessee
 
 

Quote   Quote: Originally Posted by NoN View Post
This Tutorial thread can be updated now, with the AIK for Windows 7 SP1:
Download details: The Windows® Automated Installation Kit (AIK) for Windows® 7 SP1

Overview

Windows® Preinstallation Environment (Windows PE) 3.1 is being released as an Windows Automated Installation Kit (Windows AIK) supplement for Windows 7 Service Pack 1 (SP1). Windows PE 3.1 includes all optional components and language packs. You can apply these optional components and language packs to customize the boot.wim and winre.wim images that are part of the Windows 7 SP1 installation media.

This supplement is optional. If you do not need to modify the SP1 boot.wim and winre.wim files, you can continue to use the Windows 7 RTM tools, including WinPE 3.0, without installing this supplement.

The "ReadMe" document last updated february 22, 2011
Windows Automated Installation Kit for Windows 7 Readme
Thanks for the post. i'll need to update mine when I get enough fires put out that I have time.
My System SpecsSystem Spec
31 Mar 2011   #5
SIW2

Vista x64 / 7 X64
 
 

I am afrid it is only intended to produce that command line interface.

If you want more - you need to do it yourself - quite a lot of work needed to get exactly what you want.
My System SpecsSystem Spec
Comment

 Windows PE Disk - Create problems?



Tutorial Tools



Similar help and support threads for: Windows PE Disk - Create
Windows 7 Tutorial Category
Solved Why can't I create a password recovery disk in Windows 7 Home 64 Performance & Maintenance
Solved Create second Windows XP Mode using BASE disk. Possible? Virtualization
Create New Disk Parition--Dynamic Disk Only? Installation & Setup
Manage Windows Backup Disk Space - Create Shortcut Tutorials
Can't Create a recovery disk in my windows 7 need some help pls! Performance & Maintenance


All times are GMT -5. The time now is 01:44 PM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32