Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Using ADK (windows Assessment and deployment Kit) to create PE

2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

The following is a brief record of how to use windows's ADK tool to make a PE system.

First of all, download ADK tools, Baidu ADK can find the download address. Https://docs.microsoft.com/zh-cn/windows-hardware/get-started/adk-install

After installation, open Deployment and Imaging Tools Environment (or "deployment and imaging tool environment") to enter the command line environment.

Input

Copype amd64 C:\ WinPE_amd64

Amd64 means that you choose to make 64-bit PE, and the path behind is the path of the PE disk content file you made, and the path can be customized.

Then mount the boot.wim file in the PE file. Generally, the copied PE path contains a mount file, and you can mount the boot.wim into this folder. Boot.wim is usually under the pe path\ media\ sources\ boot.wim.

Dism / Mount-Image / ImageFile: "C:\ WinPE_amd64\ media\ sources\ boot.wim" / index:1 / MountDir: "C:\ WinPE_amd64\ mount"

(the parameters under win7 are)

Dism / mount-wim / wimfile: "C:\ WinPE_amd64\ media\ sources\ boot.wim" / index:1 / MountDir: "C:\ WinPE_amd64\ mount"

The command to uninstall is

Dism / Unmount-Image / MountDir: "C:\ WinPE_amd64\ mount" / Commit

Modifying the contents of the mount folder will be saved in boot.wim. You can replace / commit with the / discard parameter, and you can discard changes to the file. Why would you do that? )

Add drivers for PE when mounting

Dism / add-driver / Image: "C:\ WinPE_amd64\ mount" / Driver: "C:\ SampleDriver\ driver.inf"

Add driver-https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/winpe-add-drivers

DISM driver Service Command-https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/dism-driver-servicing-command-line-options-s14

Add Package/ language / extra components / .cab file

Dism / Add-Package / Image: "C:\ WinPE_amd64\ mount" / PackagePath: "C:\ Program Files\ Windows Kits\ 10\ Assessment and Deployment Kit\ Windows Preinstallation Environment\ amd64\ WinPE_OCs\ WinPE-HTA.cab"

Reference link: learn about valid additional components and languages-WinPE Add Packages (Optional Components reference) https://docs.microsoft.com/enus/windows-hardware/manufacture/desktop/winpe-add-packages--optional-components-reference

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report