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

Custom Windows ISO image

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

Share

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

Custom Windows ISO image 1. Introduction to Dism

Deployment Image Services and Management (DISM) is a command-line tool for mounting and maintaining Windows ®images prior to deployment. You can use DISM image management commands to mount and obtain information about Windows image (.wim) files or virtual hard disks (VHD). You can also use DISM to capture, split, and manage .wim files.

Second, use Dism custom image decompression system image file .iso file

View the operating system installation image information. Dism / get-imageinfo / imagefile:E:\ Personal\ WorkData\ Software\ OS\ Windows\ cn_windows_server_2012_r2_vl_with_update_x64_dvd_6052729\ sources\ install.wim

Remember the index here to facilitate subsequent operations.

3. Mount the decompressed installation image file

Dism / mount-image / index:4 / imagefile:E:\ Personal\ WorkData\ Software\ Custom Image\ 2012R2_Drive.wim / mountdir:E:\ Image

4. Add a driver.

E:\ > dism / image:e:\ image / add-driver / driver: "E:\ Personal\ WorkData\ Software\ Drive\ HP\ DL360 Gen9 Win2012R2 driver\ cp029394_ basic system device 1.1

If you specify a folder instead of an .inf file, you can add multiple drivers on a single command line. To install all drivers in the folder and all its subfolders, use the / recurse option

E:\ > dism / image:e:\ image / add-driver / driver: "E:\ Personal\ WorkData\ Software\ Drive\ HP\ DL360 Gen9 Win2012R2 driver\ cp029394_ basic system device 1.1 / recurse

View the installed drivers E:\ > dism / image:e:\ image / Get-Drivers

5. Add Windows updater.

Dism / image:e:\ image / Add-Package / PackagePath:G:\ patch\ 2012 blackmail virus Patch\ windows8.1-kb4012213-x64_5b24b9ca5a123a844ed793e0f2be974148520349.msu

6. Unmount the mounted image, / discard does not save, / Commit saves

7. Repackage the unzipped ISO folder into a bootable ISO image.

7.1Use the PowerISO software to extract the boot file (similar to Boot Loader on disk) from the original image. one

two

three

7.2 add the folder to be packaged to the PowerISO, and be careful to select all the files under this folder. If the following warning message pops up, you can ignore it and press Y all the time. one

two

3 choose the appropriate size in the lower right corner 4 to add the advance boot file to this virtual CD, the lower left corner will become Bootable Image, and then save as can be used.

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: 221

*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