win10环境下用dism+7-zip+ultraiso 制作winpe
2017-06-22 17:28
344 查看
工具说明:
1.dism用于提取boot.wim
2.7-zip用于删减boot.wim
3.ultraiso用于打包boot.wim到iso文件
步骤:
1.加载原版镜像并导出x:\source\boot.wim
::rem--cmd.bat----
set wim=winpe.wim
del %wim%
dism /export-image /sourceimagefile:%2\sources\boot.wim /sourceindex:2 /destinationimagefile:%wim%
2.清理wim里的多余文件
set wim=winpe.wim
7z.exe d %wim% @list_Clean.txt
3.添加工具
set wim=winpe.wim
7z.exe a %wim% @list_tools.txt
4.修改并添加winpeshl.ini--------不加这一步,默认弹出cmd窗体
set wim=winpe.wim
7z.exe a %wim% windows\system32\winpeshl.ini
5.打包iso
set wim=winpe.wim
iso.exe -input ".\winpe.iso" -chdir /boot -file ".\winpe.wim"
备注:
winpe.iso-------------------
需要制作成可引导的iso---可以将原有的iso修改获得
winpeshl.ini ----------------------------------------------
[LaunchApp]
AppPath=x:\你的程序.exe
list_clean.txt----------------------------------------------
::rem---------boot------
setup.exe
sources
users
Program Files
Program Files (x86)
ProgramData
::rem---------programdata---
ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools
ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
ProgramData\Microsoft\Windows\Start Menu\Programs\desktop.ini
ProgramData\Microsoft\Windows\Start Menu\desktop.ini
ProgramData\Microsoft\Windows\DeviceMetadataStore
ProgramData\Microsoft\Windows\GameExplorer
ProgramData\Microsoft\Windows\Ringtones
ProgramData\Microsoft\Windows\Templates
ProgramData\Microsoft\Windows\wfp
ProgramData\Microsoft\Windows\wer
ProgramData\Microsoft\Diagnosis
ProgramData\Microsoft\Crypto
::rem---------boot---------
Windows\boot\pxe
Windows\boot\pcat
Windows\boot\pxe
Windows\boot\dvd
Windows\boot\efi
Windows\boot\BootDebuggerFiles.ini
Windows\boot\resources\en-us
Windows\boot\Fonts\wgl4_boot.ttf
Windows\boot\Fonts\chs_boot.ttf
Windows\boot\Fonts\segmono_boot.ttf
::rem---------boot-------
Windows\System32\boot\winresume.exe
Windows\System32\boot\winresume.efi
Windows\System32\boot\zh-cn\winresume.exe.mui
Windows\System32\boot\zh-cn\winresume.efi.mui
Windows\System32\wdi
Windows\System32\wfp
Windows\System32\tasks
Windows\System32\dism
Windows\System32\setup.bmp
Windows\System32\winre.jpg
::rem---------config-------
Windows\System32\config\Journal
Windows\System32\config\RegBack
Windows\System32\config\systemprofile
Windows\System32\config\TxR
Windows\System32\config\FP
windows\system32\config\BCD-Template
Windows\System32\config\bbi
Windows\System32\config\bbi.*
Windows\System32\config\bbi{*
Windows\System32\config\default.*
Windows\System32\config\default{*
::Windows\System32\config\drivers
Windows\System32\config\drivers.*
Windows\System32\config\drivers{*
Windows\System32\config\elam
Windows\System32\config\elam.*
Windows\System32\config\elam{*
Windows\System32\config\sam.*
Windows\System32\config\sam{*
Windows\System32\config\security.*
Windows\System32\config\security{*
Windows\System32\config\software.*
Windows\System32\config\software{*
Windows\System32\config\system.*
Windows\System32\config\system{*
windows\System32\config\COMPONENTS
windows\System32\config\COMPONENTS.*
windows\System32\config\COMPONENTS{*
::rem---------windows------
windows\hh.exe
windows\zh-cn\hh.exe.mui
windows\bfsvc.exe
windows\zh-cn\bfsvc.exe.mui
::rem--windows\boot ::rem--logon desk info
windows\vss
windows\tracing
windows\temp
windows\servicing
windows\security
Windows\schemas
Windows\PolicyDefinitions
Windows\Microsoft.net
Windows\logs
Windows\liveKernelReports
Windows\L2Schemas
Windows\Help
::rem---------Windows\en-us
Windows\cbstemp
Windows\branding
Windows\apppatch
::rem---------system32----------------
Windows\system32\0409
Windows\system32\advancedinstallers
Windows\system32\ar-sa
Windows\system32\bg-bg
Windows\system32\cs-cz
Windows\system32\catroot2
Windows\system32\da-dk
Windows\system32\de-de
Windows\system32\downlevel
Windows\system32\diagsvcs
::windows\system32\drivestore ::rem---net need
Windows\system32\el-gr
Windows\system32\en-gb
::------------Windows\system32\en-us
Windows\system32\es-es
Windows\system32\es-mx
Windows\system32\et-ee
Windows\system32\fi-fi
Windows\system32\fr-ca
Windows\system32\fr-fr
Windows\system32\grouppolicy
Windows\system32\grouppolicyusers
Windows\system32\he-il
Windows\system32\hr-hr
Windows\system32\hu-hu
Windows\system32\it-it
Windows\system32\ja-jp
Windows\system32\ko-kr
Windows\system32\logfiles
Windows\system32\lt-LT
Windows\system32\lv-LV
Windows\system32\migration
Windows\system32\mui
Windows\system32\nb-no
Windows\system32\nl-NL
Windows\system32\Networklist
Windows\system32\oobe
Windows\system32\pl-pL
Windows\system32\pt-br
Windows\system32\pt-pt
Windows\system32\ras
Windows\system32\rastoast
Windows\system32\recovery
Windows\system32\restore
Windows\system32\ro-ro
Windows\system32\ru-ru
Windows\system32\setup
Windows\system32\sk-sk
Windows\system32\sl-sI
Windows\system32\smi
Windows\system32\spp
Windows\system32\sysprep
::Windows\system32\startnet.cmd ::---use wpeinit.exe to start net
Windows\system32\startnet.cmd
Windows\system32\th-th
Windows\system32\tr-tr
Windows\system32\uk-ua
Windows\system32\windowspowershell
Windows\system32\wbem
Windows\system32\sr-latn-cs
Windows\system32\sr-latn-rs
Windows\system32\sv-se
Windows\system32\winevt
Windows\system32\zh-hk
Windows\system32\zh-tw
1.dism用于提取boot.wim
2.7-zip用于删减boot.wim
3.ultraiso用于打包boot.wim到iso文件
步骤:
1.加载原版镜像并导出x:\source\boot.wim
::rem--cmd.bat----
set wim=winpe.wim
del %wim%
dism /export-image /sourceimagefile:%2\sources\boot.wim /sourceindex:2 /destinationimagefile:%wim%
2.清理wim里的多余文件
set wim=winpe.wim
7z.exe d %wim% @list_Clean.txt
3.添加工具
set wim=winpe.wim
7z.exe a %wim% @list_tools.txt
4.修改并添加winpeshl.ini--------不加这一步,默认弹出cmd窗体
set wim=winpe.wim
7z.exe a %wim% windows\system32\winpeshl.ini
5.打包iso
set wim=winpe.wim
iso.exe -input ".\winpe.iso" -chdir /boot -file ".\winpe.wim"
备注:
winpe.iso-------------------
需要制作成可引导的iso---可以将原有的iso修改获得
winpeshl.ini ----------------------------------------------
[LaunchApp]
AppPath=x:\你的程序.exe
list_clean.txt----------------------------------------------
::rem---------boot------
setup.exe
sources
users
Program Files
Program Files (x86)
ProgramData
::rem---------programdata---
ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools
ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
ProgramData\Microsoft\Windows\Start Menu\Programs\desktop.ini
ProgramData\Microsoft\Windows\Start Menu\desktop.ini
ProgramData\Microsoft\Windows\DeviceMetadataStore
ProgramData\Microsoft\Windows\GameExplorer
ProgramData\Microsoft\Windows\Ringtones
ProgramData\Microsoft\Windows\Templates
ProgramData\Microsoft\Windows\wfp
ProgramData\Microsoft\Windows\wer
ProgramData\Microsoft\Diagnosis
ProgramData\Microsoft\Crypto
::rem---------boot---------
Windows\boot\pxe
Windows\boot\pcat
Windows\boot\pxe
Windows\boot\dvd
Windows\boot\efi
Windows\boot\BootDebuggerFiles.ini
Windows\boot\resources\en-us
Windows\boot\Fonts\wgl4_boot.ttf
Windows\boot\Fonts\chs_boot.ttf
Windows\boot\Fonts\segmono_boot.ttf
::rem---------boot-------
Windows\System32\boot\winresume.exe
Windows\System32\boot\winresume.efi
Windows\System32\boot\zh-cn\winresume.exe.mui
Windows\System32\boot\zh-cn\winresume.efi.mui
Windows\System32\wdi
Windows\System32\wfp
Windows\System32\tasks
Windows\System32\dism
Windows\System32\setup.bmp
Windows\System32\winre.jpg
::rem---------config-------
Windows\System32\config\Journal
Windows\System32\config\RegBack
Windows\System32\config\systemprofile
Windows\System32\config\TxR
Windows\System32\config\FP
windows\system32\config\BCD-Template
Windows\System32\config\bbi
Windows\System32\config\bbi.*
Windows\System32\config\bbi{*
Windows\System32\config\default.*
Windows\System32\config\default{*
::Windows\System32\config\drivers
Windows\System32\config\drivers.*
Windows\System32\config\drivers{*
Windows\System32\config\elam
Windows\System32\config\elam.*
Windows\System32\config\elam{*
Windows\System32\config\sam.*
Windows\System32\config\sam{*
Windows\System32\config\security.*
Windows\System32\config\security{*
Windows\System32\config\software.*
Windows\System32\config\software{*
Windows\System32\config\system.*
Windows\System32\config\system{*
windows\System32\config\COMPONENTS
windows\System32\config\COMPONENTS.*
windows\System32\config\COMPONENTS{*
::rem---------windows------
windows\hh.exe
windows\zh-cn\hh.exe.mui
windows\bfsvc.exe
windows\zh-cn\bfsvc.exe.mui
::rem--windows\boot ::rem--logon desk info
windows\vss
windows\tracing
windows\temp
windows\servicing
windows\security
Windows\schemas
Windows\PolicyDefinitions
Windows\Microsoft.net
Windows\logs
Windows\liveKernelReports
Windows\L2Schemas
Windows\Help
::rem---------Windows\en-us
Windows\cbstemp
Windows\branding
Windows\apppatch
::rem---------system32----------------
Windows\system32\0409
Windows\system32\advancedinstallers
Windows\system32\ar-sa
Windows\system32\bg-bg
Windows\system32\cs-cz
Windows\system32\catroot2
Windows\system32\da-dk
Windows\system32\de-de
Windows\system32\downlevel
Windows\system32\diagsvcs
::windows\system32\drivestore ::rem---net need
Windows\system32\el-gr
Windows\system32\en-gb
::------------Windows\system32\en-us
Windows\system32\es-es
Windows\system32\es-mx
Windows\system32\et-ee
Windows\system32\fi-fi
Windows\system32\fr-ca
Windows\system32\fr-fr
Windows\system32\grouppolicy
Windows\system32\grouppolicyusers
Windows\system32\he-il
Windows\system32\hr-hr
Windows\system32\hu-hu
Windows\system32\it-it
Windows\system32\ja-jp
Windows\system32\ko-kr
Windows\system32\logfiles
Windows\system32\lt-LT
Windows\system32\lv-LV
Windows\system32\migration
Windows\system32\mui
Windows\system32\nb-no
Windows\system32\nl-NL
Windows\system32\Networklist
Windows\system32\oobe
Windows\system32\pl-pL
Windows\system32\pt-br
Windows\system32\pt-pt
Windows\system32\ras
Windows\system32\rastoast
Windows\system32\recovery
Windows\system32\restore
Windows\system32\ro-ro
Windows\system32\ru-ru
Windows\system32\setup
Windows\system32\sk-sk
Windows\system32\sl-sI
Windows\system32\smi
Windows\system32\spp
Windows\system32\sysprep
::Windows\system32\startnet.cmd ::---use wpeinit.exe to start net
Windows\system32\startnet.cmd
Windows\system32\th-th
Windows\system32\tr-tr
Windows\system32\uk-ua
Windows\system32\windowspowershell
Windows\system32\wbem
Windows\system32\sr-latn-cs
Windows\system32\sr-latn-rs
Windows\system32\sv-se
Windows\system32\winevt
Windows\system32\zh-hk
Windows\system32\zh-tw
相关文章推荐
- Win10环境安装zip版本mysql-5.7.16
- 教你制作纯净的,原生的WinPE环境【无桌面无任何添加剂】
- 制作并打包一个简单的WinPE环境
- 用UltraISO制作光盘引导盘或者U盘引导盘 && ZIP.001诸文件解压 && ZIP存储文件
- Linux 环境下 Makefile 文件制作浅谈(一)
- Linux 环境下 Makefile 文件制作
- 自己动手打造winpe-只完成了引导的制作和文件夹的构件-仅仅为了学习!
- UltraISO PE V8.6.1.1985_绿色多国语言版_光盘映像制作 下载 附注册码
- 制作USB硬盘启动-WINPE系统
- 在DOS环境下制作Windows启动盘
- 一步一步制作ARM-Linux交叉编译环境
- 自己制作arm-linux交叉编译环境(二)-crosstool篇
- 第一部分 使用iReport制作报表的详细过程(Windows环境下)
- Linux 环境下 Makefile 文件制作浅谈(二)
- Linux 环境下 Makefile 文件制作浅谈
- Linux 环境下 Makefile 文件制作浅谈
- 如何制作图形WINPE2.0
- 制作ARM Linux交叉编译环境
- Windows操作系统图形化维护全攻略[制作WINPE]
- Linux 环境下 Makefile 文件制作浅谈(二)