Customize windowsPE image for PXE server
Work Env#
Download Intel LAN Drivers for My PC#
Why need this step:
Sometimes we need using WinPE OS
network to communicate with Internet or access internal CIFS
share like below:
Intel LAN Drivers v29.0:
https://downloadmirror.intel.com/816410/Release_29.0.zip
Extract Release_29.0.zip
to somewhere , I extract to E:\winpe\Release_29.0
Customize Windows PE ISO#
- Start the deployment Cli with admin privilege
- Customize Windows PE ISO
- Add LAN Drivers to WinPE
NOTE
I have the Samba server
running on 192.168.3.200
and its FQDN
is pxe.srv
, make sure the path is accurate.
if you want more auto settings, edit E:\winpe\mount\Windows\System32\startnet.cmd
# E:\winpe\mount\Windows\System32\startnet.cmd
net use M: \\pxe.srv\data\pxe\win /user:jason
echo Windows 10 installer PATH: M:\win10\setup.exe
echo Windows 11 installer PATH: M:\win11\setup.exe
echo Windows 2k22 installer PATH: M:\winsrv\setup.exe
@echo off
echo Please enter OS you want to install (win10,win11,w2k22)
set /p os=
if "%os%"=="win10" (
M:\win10\setup.exe
) else if "%os%"=="win11" (
M:\win11\setup.exe
) else (
M:\winsrv\setup.exe
)
All commands here:
copype amd64 E:\winpe
Dism /mount-image /imagefile:E:\winpe\media\sources\boot.wim /index:1 /mountdir:E:\winpe\mount
Dism /Image:E:\winpe\mount /Add-Driver /Driver:E:\winpe\Release_29.0 /Recurse
echo net use M: \\pxe.srv\data\pxe\win /user:jason >> E:\winpe\mount\Windows\System32\startnet.cmd
Dism /unmount-image /mountdir:E:\winpe\mount /commit
MakeWinPEMedia /ISO E:\winpe E:\winpe\WinPE.iso
本文来自博客园,作者:Jas0n0ss,转载请注明原文链接:https://www.cnblogs.com/Jas0n0ss/p/14324554.html
分类:
SRE
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· winform 绘制太阳,地球,月球 运作规律
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· AI 智能体引爆开源社区「GitHub 热点速览」
· 写一个简单的SQL生成工具
· Manus的开源复刻OpenManus初探