Create a bootable WinPE 2.1 DVD with a self-contained restoration image. This was addressed for Linux in a precious Juice Article. I have asked permission from the creator of that article and I modified it for WinPE 2.1
Altiris® Deployment Solution software provides a number of tools to remotely image computers. On occasion, you might encounter situations where you need to image a computer without network connectivity or you want the image and tools available locally.
This article outlines the process to create a bootable DVD using automation tools and a computer image. With these tools you can quickly and easily restore an image from a bootable DVD.
- Deployment Solution 6.9.
- WinPe 2.1 automation. Instructions for installing this are in the Deployment Solution Reference Guide (Deployment Console > Help > Product Guide).
- A computer image captured using Deployment Solution to restore.
- A computer with the capability to burn an .ISO image to a DVD.
- A target computer with the capability to boot to a DVD.
Create a Boot Configuration
- In Boot Disk Creator (Deployment Console > Tools > Boot Disk Creator), create a new WinPE 2.1 automation configuration.
- Complete the Boot Configuration Wizard, leaving Lock Keyboard unselected:
- When the Create Boot Disk screen appears, click Cancel:
You need to make some manual changes to the configuration before creating the disk.
Add the Image File to the Boot Configuration
- Right-click your configuration and select New > Folder.
- Name this folder "images" as shown in the following screen shot:
Files placed in this folder are part of the x: drive when booting up.
- Right-click the folder you created and select Add File. Browse to your image file (.IMG) and click Open.
- Right-click the folder you created and add the Windows rdeployt.exe or rdeploy.exe executable for your platform (x86 or x64) using the same process. Adding this executable directly to the image lets you run the image restore process without accessing the network.
- Your image and rdeploy appear in the "image" folder.
Making a Standalone WinPE Boot
Boot Disk Creator currently does not allow to create a standalone WinPE boot, meaning without network support. I found out that this could be overwritten by creating a file called startnet.cmd.
In the configuration display (Summary) drill down to the Windows\system32\ of the configuration do a right click on the system32 folder and select New | Text File. Name the file "startnet.cmd". Finally, in the right side of the configuration you could add batch file commands for startup. The command that most likely be used would be to restore an image.
Type REM "x:\image\rdeploy.exe -md -fx:\image\name_of_your_image.img"
Remove the REM command once you the boot DVD does what you need.
Build the Bootable DVD
After you have a configuration with the image file added to the "image" folder, you can build the DVD image.
- Click File > Create Network Boot Disk. In a network boot disk, the automation agent does not attempt to connect to your Deployment Server.
- Leave Bootable ISO CD Image selected, and click Next.
- Save the file where it can be accessed by the computer with the capability to write DVDs.
- Burn the .ISO image to a DVD.
Boot and Image the Computer
- Boot the computer using the bootable DVD you created.
Note: During the boot process, the computer attempts to connect to the Deployment Share. If the attempt is unsuccessful, you receive an error 255 which can be ignored.
- After WinPE automation loads, the command prompt appears:
- Enter the following commands:
- cd x:\images
- Your image file appears
- Enter the following command to restore the image:
- rdeployt -md -f[imagename.img]
- When the imaging process completes, enter the following command to shutdown the computer
- Take the bootable DVD out of the drive.
- When the computer restarts it contains the image you just deployed.