Warning: Use of undefined constant title - assumed 'title' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/data/tmp/tempnews1.php on line 152 自定义winPE脚本的方法
- 分类:u盘教程 发布时间: Warning: Use of undefined constant newstime - assumed 'newstime' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/data/tmp/tempnews1.php on line 156 2013年04月03日 00:00:00
【自定义winPE脚本的方法】WinPE系统提供了三种方法启动自定义脚本:Winpeshl.ini、Startnet.cmd和Unattend.xml。装机吧(www.125315.com)给大家介绍一下自定义winPE脚本的方法吧。
使用Winpeshl.ini添加自定义脚本:
启用自定义 Shell 应用程序。Winpeshl.exe 将在启动期间处理 Winpeshl.ini 中的设置。如果创建自定义 Winpeshl.ini 并需要即插即用或网络支持,则必须包括对 Wpeinit.exe 的调用。Wpeinit.exe 会安装即插即用设备,处理 Autounattend.xml 设置以及加载网络资源。用文本编辑器(如记事本)创建具有以下文件目录结构的Winpeshl.ini文本文件。例如:[LaunchApp]AppPath = %SYSTEMDRIVE%\myshell.exe
[LaunchApps]%SYSTEMDRIVE%\mydir\application1.exe, -option1 -option2application2.exe, -option1 -option2注:将AppPath项设置为外壳应用程序的路径。此路径可以是绝对路径,也可以使用环境变量(相对路径),例如%SYSTEMROOT%\System32\Myshell.exe。AppPath 项不支持命令行
选项。将此文件保存到WinPE系统映像的%SYSTEMROOT%\System32下。
使用Unattend.xml添加自定义脚本:
运行imagex /info d:\boot.wim,查看WinPE系统映像的信息。我们要注意这一行:Image Count: 2说明此WinPE系统映像文件中其实包含了两个映像。每个映像的详细信息在后面有详细的说明。这里要特别说明的是我们需要编辑的是第二个名称为WDS的映像,因为WDS使用此映像来引导计算机。使用imagex命令加参数mountrw将 *.wim 加载到pemount目录中:imagex /mountrw c:\winpe2\pe2.wim 2 c:\pemount使用peimg命令将第三方驱动添加到WinPE 2.0系统中,如需添加多个设备驱动请重复该步骤。peimg /inf=c:\winpe2\netdrv\xxx.inf c:\pemount\windows使用imagex命令加参数unmount及commit将修改写入到 *.wim 中。imagex /unmount c:\pemount /commit
使用Startnet.cmd添加自定义脚本:
使用Startnet.cmd可以在WinPE系统中添加自定义的命令行脚本。默认情况下,Windows PE 包括位于自定义 Windows PE 映像的 %SYSTEMROOT%\System32 中的 Startnet.cmd 脚本。Startnet.cmd 将启动 Wpeinit.exe。如果 %windir%\System32 文件夹中存在 winpeshl.ini,则会忽略 Startnet.cmd 脚本。主要用Startnet.cmd来启动Wpeinit.exe。用于安装即插即用 (PnP) 设备、处理 Unattend.xml 设置以及加载网络资源。编辑Startnet.cmd 以包括自定义命令。注意:对于PnP和网络支持,请确保在自定义Startnet.cmd脚本中包含了对wpeinit的调用。
推荐阅读:u盘PE美化教程:http://www.kkzj.com/
责任编辑:装机吧小鱼 版权所有,转载请说明出处!
猜您喜欢
- 电脑键盘键位图每个键的功能说明..2021/07/08
- 显卡开启高性能模式坏处是什么..2021/01/29
- 如何快速提高win8系统运行速度..2017/01/27
- 免费的wps模板怎么找2021/01/16
- 使用u盘安装系统教程2018/04/20
- 详细教您有效释放电脑内存空间!..2019/05/10
相关推荐
-
Warning: Use of undefined constant islast - assumed 'islast' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/t_functions.php on line 296
Warning: Use of undefined constant tbname - assumed 'tbname' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/t_functions.php on line 305
Warning: Use of undefined constant modid - assumed 'modid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/t_functions.php on line 306
Warning: Use of undefined constant yhid - assumed 'yhid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/t_functions.php on line 307
Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/t_functions.php on line 673
Warning: Use of undefined constant bname - assumed 'bname' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/t_functions.php on line 673
Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/t_functions.php on line 673
Warning: Use of undefined constant bname - assumed 'bname' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/t_functions.php on line 673
Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2418
Warning: Use of undefined constant wburl - assumed 'wburl' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2418
Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2423
Warning: Use of undefined constant listdt - assumed 'listdt' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2423
Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2428
Warning: Use of undefined constant classurl - assumed 'classurl' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2428
Warning: Use of undefined constant newsurl - assumed 'newsurl' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2434
Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2434
Warning: Use of undefined constant classpath - assumed 'classpath' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2434
Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2436
Warning: Use of undefined constant bname - assumed 'bname' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2436
Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2439
Warning: Use of undefined constant bname - assumed 'bname' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2439
- 电脑启动黑屏不进系统怎么办.. 2021-03-21 Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/t_functions.php on line 673 Warning: Use of undefined constant bname - assumed 'bname' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/t_functions.php on line 673 Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/t_functions.php on line 673 Warning: Use of undefined constant bname - assumed 'bname' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/t_functions.php on line 673 Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2418 Warning: Use of undefined constant wburl - assumed 'wburl' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2418 Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2423 Warning: Use of undefined constant listdt - assumed 'listdt' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2423 Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2428 Warning: Use of undefined constant classurl - assumed 'classurl' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2428 Warning: Use of undefined constant newsurl - assumed 'newsurl' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2434 Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2434 Warning: Use of undefined constant classpath - assumed 'classpath' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2434 Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2436 Warning: Use of undefined constant bname - assumed 'bname' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2436 Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2439 Warning: Use of undefined constant bname - assumed 'bname' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2439
- 小白怎么用U盘重装系统Win10?详细图解.. 2024-10-19 Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/t_functions.php on line 673 Warning: Use of undefined constant bname - assumed 'bname' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/t_functions.php on line 673 Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/t_functions.php on line 673 Warning: Use of undefined constant bname - assumed 'bname' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/t_functions.php on line 673 Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2418 Warning: Use of undefined constant wburl - assumed 'wburl' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2418 Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2423 Warning: Use of undefined constant listdt - assumed 'listdt' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2423 Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2428 Warning: Use of undefined constant classurl - assumed 'classurl' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2428 Warning: Use of undefined constant newsurl - assumed 'newsurl' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2434 Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2434 Warning: Use of undefined constant classpath - assumed 'classpath' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2434 Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2436 Warning: Use of undefined constant bname - assumed 'bname' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2436 Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2439 Warning: Use of undefined constant bname - assumed 'bname' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2439
- 电脑蓝屏怎么办 2020-06-01 Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/t_functions.php on line 673 Warning: Use of undefined constant bname - assumed 'bname' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/t_functions.php on line 673 Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/t_functions.php on line 673 Warning: Use of undefined constant bname - assumed 'bname' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/t_functions.php on line 673 Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2418 Warning: Use of undefined constant wburl - assumed 'wburl' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2418 Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2423 Warning: Use of undefined constant listdt - assumed 'listdt' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2423 Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2428 Warning: Use of undefined constant classurl - assumed 'classurl' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2428 Warning: Use of undefined constant newsurl - assumed 'newsurl' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2434 Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2434 Warning: Use of undefined constant classpath - assumed 'classpath' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2434 Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2436 Warning: Use of undefined constant bname - assumed 'bname' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2436 Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2439 Warning: Use of undefined constant bname - assumed 'bname' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2439
- 笔记本开不了机了怎么办 2020-08-12 Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/t_functions.php on line 673 Warning: Use of undefined constant bname - assumed 'bname' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/t_functions.php on line 673 Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/t_functions.php on line 673 Warning: Use of undefined constant bname - assumed 'bname' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/t_functions.php on line 673 Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2418 Warning: Use of undefined constant wburl - assumed 'wburl' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2418 Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2423 Warning: Use of undefined constant listdt - assumed 'listdt' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2423 Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2428 Warning: Use of undefined constant classurl - assumed 'classurl' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2428 Warning: Use of undefined constant newsurl - assumed 'newsurl' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2434 Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2434 Warning: Use of undefined constant classpath - assumed 'classpath' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2434 Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2436 Warning: Use of undefined constant bname - assumed 'bname' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2436 Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2439 Warning: Use of undefined constant bname - assumed 'bname' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2439
- 华硕主板怎么设置u盘启动,详细教您华.. 2018-07-11 Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/t_functions.php on line 673 Warning: Use of undefined constant bname - assumed 'bname' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/t_functions.php on line 673 Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/t_functions.php on line 673 Warning: Use of undefined constant bname - assumed 'bname' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/t_functions.php on line 673 Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2418 Warning: Use of undefined constant wburl - assumed 'wburl' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2418 Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2423 Warning: Use of undefined constant listdt - assumed 'listdt' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2423 Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2428 Warning: Use of undefined constant classurl - assumed 'classurl' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2428 Warning: Use of undefined constant newsurl - assumed 'newsurl' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2434 Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2434 Warning: Use of undefined constant classpath - assumed 'classpath' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2434 Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2436 Warning: Use of undefined constant bname - assumed 'bname' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2436 Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2439 Warning: Use of undefined constant bname - assumed 'bname' (this will throw an Error in a future version of PHP) in /data/www.zhuangjiba.com/web/e/class/connect.php on line 2439
- word打空格键怎么就删除了 2020-09-18