Showing posts with label Boot CD. Show all posts
Showing posts with label Boot CD. Show all posts

How To Build Windows PE 3.0 Bootable CD

Tuesday, June 25, 2013

What I understand about Windows PE is the replacement for Microsoft DOS boot disk. Compared to Microsoft DOS boot disk which only can be used to prepare the computer hard disk for installation of old version of Windows OS, the Windows PE can do more than that. With Windows PE you also can capture the Windows OS image for future deployment and troubleshoot the Windows OS that cannot boot.

So far, the Microsoft Corporation has produced FOUR releases of Windows PE. The latest release, Windows PE 4.0 is for Windows 8. But, in this article I will only cover about Windows PE 3.0 which is suitable for use to capture, deploy and troubleshoot the Windows 7 OS. What to be covered about Windows PE 3.0 in this article is related to HOW TO BUILD WINDOWS PE 3.0 BOOTABLE CD. OUR TARGET IS TO BUILD THE WINDOWS PE 3.0 BOOTABLE CD THAT CAN CAPTURE THE WINDOWS 7 64-BIT EDITION IMAGE FILE (.WIM).




What You Need

  1. Microsoft Windows Automated Installation Kit (WAIK) for Windows 7. You can download it here.

    Note:
    If you want to deploy Windows 7 with Service Pack 1 into your target computer, you need to install Microsoft WAIK for Windows 7 SP1.


  2. Software burner. If you want the free software burner, you can download here.


  3. An empty CD / DVD RW disc.


  4. Your computer must have CD / DVD writer, so you can burn Windows PE into the CD or CD-RW.




Before The Procedures

  1. You have to install Microsoft WAIK for Windows 7 into your computer. Your computer can run either Windows XP, Windows Vista or Windows 7. I has installed this software in my laptop that has Windows 7 Professional 64-bit installed. 

    Capture 




The Procedures

  1. Click Capture --> click All Programs –> under the list of programs click folder Microsoft Windows AIK.

    Capture


  2. Right click on the Deployment Tools Command Prompt –> click Run as Administrator.

    Capture


  3. This will open the command prompt interface belongs to Microsoft WAIK for Windows 7. See below

    Capture


  4. Inside the command prompt, type copype.cmd amd64 c:\winpe-amd64 –> press Enter. This process will create the directory folder, winpe-amd64 in the c:\ drive. 

    Capture


  5. Now you will notice the default directory inside the command prompt is replaced. See below

    Capture


  6. Before you start mount the image file (winpe.wim) into the folder directory c:\winpe-amd64, it is good to know the details information about the image file especially its index number. So, you need to type the command below (dism /get-wiminfo) and press Enter 

    Capture

    Capture


  7. Now, you have notice the index number of the image file. In this step, you are going to mount the image file, winpe.wim. Type the command below (dism /mount-wim) and press Enter. 

    Capture  

    Capture

    Note:
    The DISM command in step 7 will mount the image file, winpe.wim that has the index number 1 into the folder directory c:\winpe-amd6\mount. The index number can be viewed by execute the DISM command in step 6.


  8. Now, you have mounted the image file (wimpe.wim). It is necessary to check either it had been mounted correctly or not. To check the status, you need to type the command below (dism /get-mountedwiminfo) and press Enter.

    Capture

    Capture


  9. Now, you notice that the image file you had mounted is in good condition. If you want to add the Windows AIK packages (cabinet file - .cab) to the image file (winpe.wim), you need to use the command dism /add-package. Let say, you want to add the Windows AIK package below.

    Capture

    First of all you need the verify the package path. For example the Windows AIK package, winpe-wmi.cab is located inside c:\Program Files\Windows AIK\Tools\PETools\amd64\WinPE_FPs. Second, you need to add together its language pack. For the example when you add the package winpe-wmi.cab you also need to add its language pack, winpe-wmi_en-us.cab. The path to this file is c:\Program Files\Windows AIK\Tools\PETools\amd64\WinPE_FPs\en-us.

    After you notice the required paths for the package and its language pack, now you can add both of them using dism /add-package command. You have to type both of the commands below and press Enter after you type each of them. 

    Capture

    Capture

    After you type the command above, the winpe-wmi.cab file will be added to the winpe.wim image file. Then, you will add its language pack. Type the command below and press Enter. 

    Capture

    Capture

    After you type the command above, the winpe-wmi_en-us.cab file will be added to the winpe.wim image file.

    Note:
    The step 9 is optional and I just want to show you how to add the Windows AIK package into the image file (winpe.wim) you mounted. If you want to get more information about the other Windows AIK packages you can click here.


  10. If you want to check the packages you had added or the list of package inside the winpe.wim image file, you can use the command (dism /get-package) below and press Enter.

    Capture

    Capture


  11. You also can add the utility that you think useful for you. For example, if you want to use Windows PE 3.0 bootable CD to capture and deploy the Windows 7 image, you need to add the imagex.exe utility.

    For the purpose of that, you need to copy the utility from c:\Program Files\Windows AIK\Tools\amd64\imagex.exe and paste it into c:\winpe-amd64\mount\Windows\System32. Type the command (copy) below and press Enter. 

    Capture

    Capture

    Note:
    This is an optional but for the sake of learning and give information, it is good to present in this article. Besides adding the imagex.exe utility that come in form of command line interface, you also can add the gimagex.exe utility. This utility has the same function like imagex.exe but the difference is, it come in form of graphical user interface.

    If you want to add this utility in the winpe.wim image, you can download it here. After download, you will get the zip file named gimagex.

    Capture
     
    Extract the zip file and you will get the folder named install. To copy the gimagex.exe utility, use the copy command. Type the command (copy) below and press Enter.

    Capture

    Capture

    When you run the command above, you will copy the utility gimagex.exe from c:\install\x64\gimagex.exe and paste it into mount folder, c:\winpe-amd64\mount\windows\system32.


  12. After you finish add the utility and packages required, you can un-mount the winpe.wim image file that you had edited. To un-mount the image file, type the command (dism /unmount-wim) below

    Capture

    Capture


  13. You had finished edit the winpe.wim image file and had un-mounted it. Now you will copy the edited image file into the folder c:\winpe-amd64\ISO\sources and rename it from winpe.wim to boot.wim. To accomplish this task you need to type the command (copy) below and press Enter.

    Capture

    Capture


  14. Now, you can start building the Windows PE 3.0 bootable file. This file actually will come out in form of .ISO file. To build the ISO file for Windows PE 3.0, type the command (oscdimg) below and press Enter

    Capture

    Capture


  15. Please wait until the ISO file building process complete. Then, you will notice the ISO file named winpe-64bit.iso inside the folder c:\winpe-amd64.

    Capture

    Now, you can burn the ISO file using software burner.

How To Build Windows PE 2.0 Bootable CD

Monday, October 24, 2011

I hope you can understand my brief explanation about Windows PE. For me, it is very good for computer technicians to has knowledge about how to use Windows PE. It can give a lot of benefits to them when managing a lot of computers in their workplace.

Windows PE can save a lot of our time when we need to reinstall Windows. With Windows PE, you can capture Windows image from the reference computer and then deploy it into targeted (destination) computers. You can keep the Windows image you captured for future use.

Today we will learn how to create Windows PE Bootable CD before we learn how to use it
. 



What You Need

  1. An empty CD or CD-RW disc.

  2. Your computer is free to run whether Windows Vista, Windows XP SP2, Windows 7 or Windows Server 2003 SP1.

  3. Your computer must equipped with CD writer, so you can burn Windows PE into the CD or CD-RW.

  4. Your must have burning software installed into your Windows system. I suggest you to use ImgBurn. Click Here To Download.

  5. Windows Automated Installation Kit For Windows Vista SP1.

    Note:
    If you want to deploy Windows Vista SP1 into both of your reference computer and destination computers, you need to install Microsoft WAIK For Windows Vista SP1.




Before The Procedures

  1. You need to install the Windows Automated Installation Kit for Windows Vista SP1 into your system (technician computer). Click here for the guidance.




The Procedures

In this procedures, I assume your computer is x86 architecture and have Windows Vista OS installed.

  1. Click images --> click All Programs –-> click Microsoft Windows AIK.


  2. When the drop-down menu appears, right click on Windows PE Tools Command Prompt –-> click Run as administrator –-> click Continue. The Windows PE Tools Command Prompt interface appears. See below.

    Capture


  3. Type the command copype x86 c:\WinPE –-> press Capture --> when you run this command, the single folder named WinPE will be created in drive c:\.


  4. When you open the c:\WinPE folder, you will see the Windows PE image file named winpe.wim.

    Capture 
      
    It contains the basic files which form Windows PE’s basic functionality. You can modify this image file (.wim) using imagex command.


  5. Let say you want to modify Windows PE image. What you have to do first is mounting the winpe.wim using imagex /mountrw.

    Capture 

    To mount the image type the command below and press Capture2. 

    Capture
     
    NOTE:
    Number 1
    is an index number of Windows PE image (winpe.wim) which can be viewed using imagex /info command.


    Capture 

    To view an index number type the command below and press Capture2.

    Capture
     
     
    Don’t forget to unmount the image file first. To unmount the image, type the command below and press Capture2
    . 

    Capture 


  6. Now, you had mounted the image file in the c:\WinPE\mount folder. It contains 3 folders like below.

    Capture 


  7. Let say, you want to install the additional package into the image. First of all you need to know the available packages offered using the command peimg /list.

    Capture

    To view the packages, type the command below and press Capture2.

    Capture


  8. If you want to add both HTA packages (HTML Application Support package) into the image, you need to use the command peimg /install.

    Capture

    To add both HTA packages at once, type the command below and press Capture2.
     
    Capture 

    NOTE:
    Adding the packages into Windows PE image is OPTIONAL. Both steps 7 and 8 that I had showed you is just to teach you how to add package into an image
    . Click here, if you need additional guide to perform these steps.


  9. Now, we are going to add imagex.exe into Windows PE image. To do this you must copy imagex.exe from c:\Program Files\Windows AIK\Tools\x86 folder into c:\WinPE\ISO folder. In order to copy the program, you must use copy command.  

    Capture

    To copy the imagex.exe, type the command below and press Capture2. 

    Capture 

    NOTE:
    It is HIGHLY RECOMMENDED to integrate the Windows PE image with imagex.exe program
    . This program is very useful for you to capture Windows image and deploy it into targeted (destination) computer. In other words I RECOMMEND YOU TO PERFORM STEP 9 IN THIS PROCEDURE.


  10. We have finished adding the package and the program into Windows PE image. Therefore, the functionality and size of Windows PE increase. Now we will save the image using command imagex /unmount. 

    Capture

    To save the image, type the command below and press Capture2.

    Capture


  11. At this step, we will copy the modified image into c:\WinPE\ISO\sources folder.

    We will replace the image file called boot.wim inside the folder, with the image (winpe.wim) we had saved in step 10. For this purpose, you must use copy command.

    Capture

    To replace the boot.wim, type the command below and press Capture2.

    Capture


  12. This is the final step where you must change the winpe.wim file (that you replace in step 11) into ISO file. To accomplish this step you must use oscdimg command.  

    Capture 

    Type the command below and press Capture2.

    Capture


  13. When the process done, you will get the ISO image called winpe inside the folder c:\WinPE.

    Capture




After The Procedures

Burn the Windows PE image (in form of ISO file) into CD or CD-RW. You can use burning software ImgBurn to accomplish the task. Make sure your computer is equipped with CD writer or DVD writer. This bootable CD can be used to capture the Windows Vista 32-bit Edition image file.  

Related Posts Plugin for WordPress, Blogger...