WINPE Add Driver

Source: Internet
Author: User

First, download and install the correct WinPE version, you will download and install Windows ADK and install the following features.

1) Deployment Tools: Includes deployment and imaging tools environment.

2) "Windows Preinstallation Environment": Includes files for installing Windows PE

Second, adding drivers

Add drivers to Windows PE, the example driver, or the network driver.

Device drivers typically include a folder that contains multiple files. These files include files with the. inf file name extension. This file manages other files in the device driver package. Many boot-critical drivers are available in both Windows images and Windows PE.

1. Create a set of 32-bit or 64-bit Windows PE files.

Click Start, and enter deployment. Right-click Deployment and Imaging tools environment, and then select Run as Administrator.

650) this.width=650; "title=" clip_image002 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; margin:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" clip_image002 "src=" http://s3.51cto.com/wyfs02/M02/5B/70/ Wkiom1ui8swia26waac37gem3ko505.jpg "" 557 "height=" 359 "/>

2. In Deployment Tools and imaging environment, copy the Windows PE file for the PC you want to start

64-bit version can start 64-bit UEFI and 64-bit BIOS PC

Copype AMD64 E:\WINPE_AMD64

32-bit version bootable 32-bit UEFI, 32-bit BIOS, and 64-bit BIOS PC

Copype x86 e:\WinPE_x86

will produce the corresponding directory in E:\winpe_amd64, as follows.

650) this.width=650; "title=" clip_image004 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; margin:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" clip_image004 "src=" http://s3.51cto.com/wyfs02/m00/5b/6a/wkiol1ui8lcd_- Txaadl4hkdhvg431.jpg "" 558 "height=" 419 "/>

3. Loading the Windows PE image

Boot.wim is the main boot image file of PE, we just need to mount this file, make corresponding changes, update, add the program, you can

Dism/mount-image/imagefile: "E:\WinPE_amd64\media\sources\boot.wim"/index:1/mountdir: "E:\WinPE_amd64\mount"

650) this.width=650; "title=" clip_image006 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; margin:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" clip_image006 "src=" http://s3.51cto.com/wyfs02/M01/5B/6A/ Wkiol1ui8lgbjqlvaadpt9bla94534.jpg "" 558 "height=" 418 "/>

4. Add a device driver (. inf file)

To add a device driver to a Windows PE image

Dism/add-driver/image: "E:\WinPE_amd64\mount"/driver: "C:\SampleDriver\driver.inf"

Note: Although it is possible to add multiple drivers to an image by using a single command, it is often easier to troubleshoot problems by adding individual driver packages individually

Verify that the driver package is part of the image;

Dism/get-drivers/image: "E:\WinPE_amd64\mount"

Review the list of driver results to verify that the list contains the driver packages that you added.

650) this.width=650; "title=" clip_image008 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" clip_image008 "src=" http://s3.51cto.com/wyfs02/M02/5B/6A/ Wkiol1ui8lswumduaahlza-zqu8655.jpg "" 558 "height=" 516 "/>

This figure is the two driver packages that I added.

5. Unmount the Windows PE image and submit the image.

Dism/unmount-image/mountdir: "C:\WinPE_amd64\mount"/commit

After submission, you can view the mounted directory/mount.

6. Create the ISO file.

Makewinpemedia/iso C:\WinPE_amd64 E:\WinPE_amd64\WinPE_amd64.iso

To this, add the driver has been completed, of course, can also add packages, scripts, and so on, you can view the official documents.

Https://technet.microsoft.com/zh-cn/library/dn613857.aspx

In fact, their own process of making PE, more cumbersome and time-consuming, because, by default, PE is a clean wpeinit command line mode, unable to use Expoler, but also need to add applications, write scripts and so on. The operation is more troublesome. Of course, WinPE integrates a number of tools, such as DiskPart. I suggest that we can go online to download the PE that others have done, directly copy the Boot.wim and then add or modify the image files, such as adding drivers, modifying scripts, and so on. Then capture the image and pack the ISO.

Advertise, please patronize my ladies shop: http://shop109572811.taobao.com

WINPE Add Driver

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.