加載網卡驅動程序到wim 裏

加載網卡驅動程序到 Win Pe。

Step 1.

1. download windows AIK \Tools

2. download 7-zip

3. use 7-zip to extract windows AIK -iso file and install it.

Step 2.  加載網卡驅動

1. open PE command

C:\Program Files\Windows AIK\Tools\PETools> DISM.exe /Mount-Wim /WimFile:C:\Boot
.wim /index:1 /MountDir:C:\image1
 
Deployment Image Servicing and Management tool
Version: 6.1.7600.16385
 
Mounting image
[==========================100.0%==========================]
The operation completed successfully.
 
C:\Program Files\Windows AIK\Tools\PETools>dism /image:C:\image1 /add-driver
iver:C:\nic\Win7000\USBMAC64.inf
 
Deployment Image Servicing and Management tool
Version: 6.1.7600.16385
 
Image Version: 6.1.7600.16385
 
Found 1 driver package(s) to install.
Installing 1 of 1 - C:\nic\Win7000\USBMAC64.inf: The driver package was succe
ully installed.
The operation completed successfully.
 
C:\Program Files\Windows AIK\Tools\PETools>dism /unmount-wim /mountdir:C:\ima
 /commit
 
Deployment Image Servicing and Management tool
Version: 6.1.7600.16385
 
Image File : C:\Boot.wim
Image Index : 1
Saving image
[==========================100.0%==========================]
Unmounting image
[==========================100.0%==========================]
The operation completed successfully.
 
C:\Program Files\Windows AIK\Tools\PETools>cp c:\Boot.wim d:\Sources\Boot.wim
'cp' is not recognized as an internal or external command,
operable program or batch file.
 
C:\Program Files\Windows AIK\Tools\PETools>copy c:\Boot.wim d:\Sources\Boot.w
Overwrite d:\Sources\Boot.wim? (Yes/No/All): all
        1 file(s) copied.

 把修改後的Boot.wim copy 到win Pe 後。 在重新打包就可以。

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章