无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站广告联系 微信:wuyouceo QQ:184822951
楼主: slore
打印 上一主题 下一主题

[原创] (2022-02-02 更新) Re:WIN10XPE - 从零开始构建的全功能PE

    [复制链接]
3691#
 楼主| 发表于 2020-4-19 22:33:20 | 只看该作者
Matthew_Wai 发表于 2020-4-19 18:18
Where can I find "tsdicon.exe" and "tscon.exe"? Which folder should I copy them into?

They are in:
\Windows\WinSxS\amd64_microsoft-windows-t..es-commandlinetools_*
\Windows\WinSxS\wow64_microsoft-windows-t..es-commandlinetools_*

or you can get them from Windows 10 Pro Edition.
回复

使用道具 举报

3692#
发表于 2020-4-19 23:23:42 | 只看该作者
slore 发表于 2020-4-19 22:33
They are in:
\Windows\WinSxS\amd64_microsoft-windows-t..es-commandlinetools_*
\Windows\WinSxS\wo ...

How can I put them into Win10XPE so as to enable "Switch to Administrator"?
If I just put them into partition X, they will disappear when I shut down Win10XPE, and I still cannot "Switch to Administrator" when I boot into Win10XPE next time.

点评

You need check next option: [Configures]-[Account]-[Enable Administrator account] if you select the Home Edition, tsdiscon.exe and tscon.exe are missing in install.wim\[HOME INDEX]\Windows\System3  详情 回复 发表于 2020-4-20 00:13
回复

使用道具 举报

3693#
 楼主| 发表于 2020-4-20 00:13:08 | 只看该作者
Matthew_Wai 发表于 2020-4-19 23:23
How can I put them into Win10XPE so as to enable "Switch to Administrator"?
If I just put them in ...

You need check next option:
[Configures]-[Account]-[Enable Administrator account]

if you select the Home Edition, tsdiscon.exe and tscon.exe are missing in install.wim\[HOME INDEX]\Windows\System32\, so you have to copy them from WinSxs by yourself.

if you select the Pro Edition, tsdiscon.exe and tscon.exe exist in \Windows\System32\,
WimBuilder2 will add them to X:\Windows\System32\.
回复

使用道具 举报

3694#
发表于 2020-4-20 05:32:32 | 只看该作者
家庭版,进入admin用户
call AddFiles %0 :end_files

goto :end_files
rem 文件列表
\Windows\WinSxS\amd64_*-commandlinetools_*
\Windows\WinSxS\wow64_*-commandlinetools_*

:end_files

MOVE  "%_WB_MNT_PATH%\Windows\WinSxS\amd64_*-commandlinetools_*" "%_WB_MNT_PATH%\Windows\WinSxS\System32"
MOVE  "%_WB_MNT_PATH%\Windows\WinSxS\wow64_*-commandlinetools_*" "%_WB_MNT_PATH%\Windows\WinSxS\SysWOW64"

robocopy /MOV  "%_WB_MNT_PATH%\Windows\WinSxS\System32" "%_WB_MNT_PATH%\Windows\System32" *.exe /s
robocopy /MOV  "%_WB_MNT_PATH%\Windows\WinSxS\SysWOW64" "%_WB_MNT_PATH%\Windows\SysWOW64" *.exe /s

点评

你用了WES 8的fbwf.sys?  发表于 2020-4-20 15:34
是虚拟机金pe之后,我看了,没有admin用户文件夹啊s  发表于 2020-4-20 13:58
Amin是登录才创建  发表于 2020-4-20 08:04
为什么不直接用%X%  发表于 2020-4-20 08:03
但是很奇怪,X:\Users目录,没有admin用户的文件夹 各种设置好像改不了  发表于 2020-4-20 05:56
回复

使用道具 举报

3695#
发表于 2020-4-20 10:02:46 | 只看该作者
谢谢分享!!!
回复

使用道具 举报

3696#
发表于 2020-4-20 13:39:07 | 只看该作者
slore 发表于 2020-4-20 00:13
You need check next option:
[Configures]-[Account]-[Enable Administrator account]

How can I select the Pro Edition? My ISO file is "Win10_1903_V1_Chinese(Traditional)_x64.iso".
回复

使用道具 举报

3697#
发表于 2020-4-20 13:40:45 | 只看该作者
Matthew_Wai 发表于 2020-4-19 22:02
C:\Windows\WinSxS\amd64_microsoft-windows-t..es-commandlinetools_31bf3856ad364e35_10.0.18362.1_non ...

Because I don't know how to select the Pro index of install.wim.
Please tell me how to do so.
回复

使用道具 举报

3698#
发表于 2020-4-20 15:40:01 | 只看该作者
There are no "Pro index" and "Pro Edition" as shown below:








点评

#How to use just click buttons to create PE: wimbuilder.cmd ->select install.wim -> next to PRJECT -> select WIN10PE -> next to Customize -> next to 01-BUILD(cmd) -> make-iso [WimBuilder2 - Chin  详情 回复 发表于 2020-4-21 08:49
you get a Pro ISO from https://uup.rg-adguard.net/  发表于 2020-4-21 01:00
change the index of install.wim (Getting Started page), it will show the description. if your install.wim don't have Pro edition,  发表于 2020-4-21 00:59
Sorry, I can't see the picture.  发表于 2020-4-20 19:29
回复

使用道具 举报

3699#
发表于 2020-4-20 18:55:18 | 只看该作者
老大,今天试了一下最新版,19041显卡自动就装了基本驱动,导致不能安装其他显卡驱动,这个要如何解决?

点评

[驱动],[系统驱动],去掉 基本显卡驱动。  详情 回复 发表于 2020-4-20 19:22
回复

使用道具 举报

3700#
发表于 2020-4-20 19:03:11 | 只看该作者
slore 发表于 2020-4-19 20:48
\Program Files\Windows NT\Accessories\wordpad.exe is 2.91MB.
it is big, and it is infrequentl ...


"WordPad" has been added into "main.html", but why is "_wordpad.bat" absent from the following directory?


  1. <div> Directory of D:\wimbuilder2-master\Projects\WIN10XPE\01-Components\za-Accessories</div><div>
  2. </div><div>20/04/2020  03:41 PM    <DIR>          .</div><div>20/04/2020  03:41 PM    <DIR>          ..</div><div>19/04/2020  07:11 AM               558 ko-KR.js</div><div>19/04/2020  07:11 AM               563 main.bat</div><div>19/04/2020  07:11 AM               869 main.html</div><div>19/04/2020  07:11 AM               666 zh-CN.js</div><div>19/04/2020  07:11 AM               725 _accessibility.bat</div><div>19/04/2020  07:11 AM                43 _mspaint.bat</div><div>19/04/2020  07:11 AM               264 _snippingtool.bat</div><div>19/04/2020  07:11 AM               914 _winphotoviewer.bat</div><div>               8 File(s)          4,602 bytes</div><div>               2 Dir(s)  338,565,292,032 bytes free</div>
复制代码



点评

it didn't have much required files, just one line, so it is in main.bat direct.  发表于 2020-4-20 19:29
回复

使用道具 举报

3701#
 楼主| 发表于 2020-4-20 19:22:28 | 只看该作者
hhh333 发表于 2020-4-20 18:55
老大,今天试了一下最新版,19041显卡自动就装了基本驱动,导致不能安装其他显卡驱动,这个要如何解决?

[驱动],[系统驱动],去掉 基本显卡驱动。

点评

根本就没选它  详情 回复 发表于 2020-4-20 20:24
回复

使用道具 举报

3702#
发表于 2020-4-20 20:24:36 | 只看该作者
slore 发表于 2020-4-20 19:22
[驱动],[系统驱动],去掉 基本显卡驱动。

根本就没选它

点评

难道新版本winre.wim直接自带了? 那就自己删除。 // Load Display drivers // EXEC =@!%WinDir%\System32\Drvload.exe %WinDir%\inf\basicdisplay.inf %WinDir%\inf\basicrender.inf %WinDir%\inf\c_display  详情 回复 发表于 2020-4-20 21:33
回复

使用道具 举报

3703#
发表于 2020-4-20 21:28:00 | 只看该作者
本帖最后由 Matthew_Wai 于 2020-4-21 04:07 编辑

I am running an English version of Windows 10. In the screenshot below, under the WIM file path "K:\sources\install.wim", there are three question marks "???" next to the text "Windows 10". I don't know whether "???" represents "Home Edition" or "Pro Edition" or something else. How can I make it display words instead of question marks "???"?





点评

I replied on github, but it failed. On the top right, there is a button to change the language to English, or access directly: http://hello.wimbuilder.world/en This website is developing  详情 回复 发表于 2020-4-22 07:52
an English version of Windows 10, Can't show the zh-TW characters ... You can use 7z.exe to open install.wim\ [1]\ [2]\ [3]\ check which one has \Windows\System32\tsdiscon.exe. So you can  详情 回复 发表于 2020-4-21 22:04
回复

使用道具 举报

3704#
 楼主| 发表于 2020-4-20 21:33:31 | 只看该作者

难道新版本winre.wim直接自带了?

那就自己删除。

// Load Display drivers
// EXEC =@!%WinDir%\System32\Drvload.exe %WinDir%\inf\basicdisplay.inf %WinDir%\inf\basicrender.inf %WinDir%\inf\c_display.inf %WinDir%\inf\display.inf %WinDir%\inf\displayoverride.inf

你看这些inf中对应的文件,删除看下。我回头构建下19041看看。

点评

直接自动安装了,再安装其他驱动就不能了。更改驱动也得重启才能生效。  详情 回复 发表于 2020-4-21 08:34
回复

使用道具 举报

3705#
发表于 2020-4-21 08:34:34 | 只看该作者
slore 发表于 2020-4-20 21:33
难道新版本winre.wim直接自带了?

那就自己删除。

直接自动安装了,再安装其他驱动就不能了。更改驱动也得重启才能生效。

点评

這個好像從 20H1 的版本就都是這種情況 用立邦電子的WINPE生成器3.2版 . 勾不勾選基本顯卡 , 都會自動安裝基本顯卡驅動 [attachimg]417025[/attachimg] 不過用WINPE生成器3.3版則是正常 x86 要處理 drvinst.ex  详情 回复 发表于 2020-4-21 15:05
删了蓝屏的  详情 回复 发表于 2020-4-21 09:11
构建的时候删除(离线删除)  发表于 2020-4-21 08:48
回复

使用道具 举报

3706#
 楼主| 发表于 2020-4-21 08:49:13 | 只看该作者
Matthew_Wai 发表于 2020-4-20 15:40
There are no "Pro index" and "Pro Edition" as shown below:

#How to use
just click buttons to create PE:
wimbuilder.cmd ->select install.wim -> next to PRJECT -> select WIN10PE -> next to Customize -> next to 01-BUILD(cmd)  -> make-iso

[WimBuilder2 - Chinese Video Tutorial ( 3 MB Animated Gif)](http://lancelot.cwcodes.net/file ... ated_1_Chinese.html)

A small step by step pictures for new users. (by Lancelot)

http://lancelot.theoven.org/TheO ... y_Step_20191111.zip
回复

使用道具 举报

3707#
发表于 2020-4-21 09:11:59 | 只看该作者
hhh333 发表于 2020-4-21 08:34
直接自动安装了,再安装其他驱动就不能了。更改驱动也得重启才能生效。

删了蓝屏的
回复

使用道具 举报

3708#
发表于 2020-4-21 09:40:19 | 只看该作者
没有币,下不了
回复

使用道具 举报

3709#
发表于 2020-4-21 12:23:41 | 只看该作者
slore 发表于 2020-4-21 08:49
#How to use
just click buttons to create PE:
wimbuilder.cmd ->select install.wim -> next to PRJE ...

slore, you have not noticed the question in my post #3769.
Please read it: http://bbs.wuyou.net/forum.php?m ... &fromuid=824299
回复

使用道具 举报

3710#
发表于 2020-4-21 15:05:47 | 只看该作者
hhh333 发表于 2020-4-21 08:34
直接自动安装了,再安装其他驱动就不能了。更改驱动也得重启才能生效。

這個好像從 20H1 的版本就都是這種情況
用立邦電子的WINPE生成器3.2版 . 勾不勾選基本顯卡 , 都會自動安裝基本顯卡驅動


不過用WINPE生成器3.3版則是正常
x86 要處理 drvinst.exe 及 pnpui.dll




x64 要處理 drvinst.exe





点评

大佬 不明白怎么才能装上显卡驱动而不需要重启的  发表于 2020-7-24 22:02
是不是主要是换pnpui.dll  详情 回复 发表于 2020-4-21 16:21
麻烦把这几个文件发过来,我试一下。  详情 回复 发表于 2020-4-21 16:07
回复

使用道具 举报

3711#
发表于 2020-4-21 16:07:54 | 只看该作者
本帖最后由 hhh333 于 2020-4-21 16:10 编辑
nf17b 发表于 2020-4-21 15:05
這個好像從 20H1 的版本就都是這種情況
用立邦電子的WINPE生成器3.2版 . 勾不勾選基本顯卡 , 都會自動安 ...

麻烦把这几个文件发过来,我试一下。就这几个文件可以了吗?

点评

删除注册表DRIVERS里面 display.inf 的服务 Service,就不会自动安装显卡驱动了  详情 回复 发表于 2020-5-6 19:26
不是那幾個文件的問題 , 這個要找時間請教立幫電子大大是怎麼處理的 ? 樓主的 Patch_drvinst , 好像不是很正確 :Drvinst_win10.18908later_x64 call :FULL_PATH 8BF0_85C0_7447 33C0_8BF0_EB47 goto :EOF :  详情 回复 发表于 2020-4-21 17:19
回复

使用道具 举报

3712#
发表于 2020-4-21 16:21:31 | 只看该作者
本帖最后由 hhh333 于 2020-4-21 16:59 编辑
nf17b 发表于 2020-4-21 15:05
這個好像從 20H1 的版本就都是這種情況
用立邦電子的WINPE生成器3.2版 . 勾不勾選基本顯卡 , 都會自動安 ...

是不是主要是换pnpui.dll。看起来是10240的PNP
回复

使用道具 举报

3713#
发表于 2020-4-21 16:45:30 | 只看该作者
给力,感谢楼主分享。
回复

使用道具 举报

3714#
发表于 2020-4-21 17:19:38 | 只看该作者
hhh333 发表于 2020-4-21 16:07
麻烦把这几个文件发过来,我试一下。就这几个文件可以了吗?

不是那幾個文件的問題 , 這個要找時間請教立幫電子大大是怎麼處理的 ?

樓主的 Patch_drvinst , 好像不是很正確
:Drvinst_win10.18908later_x64
call :FULL_PATH 8BF0_85C0_7447 33C0_8BF0_EB47
goto :EOF

:Drvinst_win10.18908later_x86
call :FULL_PATH 8BD8_85DB_742B_53 33C0_8BD8_EB2B_53
goto :EOF  


好像應該是
:Drvinst_win10.18908later_x64
call :FULL_PATH 8BF0_85C0_7423 33C0_8BF0_EB23
goto :EOF

:Drvinst_win10.18908later_x86
call :FULL_PATH 8BD8_85DB_741B_53 33C0_8BD8_EB1B_53
goto :EOF



点评

应该不是这几个文件的问题,或者是注册表或者是其他什么文件。等正式版再处理吧  详情 回复 发表于 2020-4-21 18:01
20h1打算等RTM了更新的。207?下次更新的时候我处理下?  发表于 2020-4-21 17:21
回复

使用道具 举报

3715#
发表于 2020-4-21 17:40:33 | 只看该作者
看看
回复

使用道具 举报

3716#
发表于 2020-4-21 18:01:17 | 只看该作者
nf17b 发表于 2020-4-21 17:19
不是那幾個文件的問題 , 這個要找時間請教立幫電子大大是怎麼處理的 ?

樓主的 Patch_drvinst , 好像不 ...

应该不是这几个文件的问题,或者是注册表或者是其他什么文件。等正式版再处理吧

点评

19041.207 應該是正式版了 如果方便的話 , 是否可以順便研究一下 , 在另一個主題提到的遠端桌面連接 , 近端任務欄的問題 樓主的這個工具 , 製作的 win10 pe 可以 administrator 登入 , 連接遠端電腦 , 任務欄是  详情 回复 发表于 2020-4-22 04:46
回复

使用道具 举报

3717#
发表于 2020-4-21 21:25:12 | 只看该作者
slore 发表于 2020-4-19 22:32
About the ]AOMEI_Partition_Assistant_Standard_Edition, I don't know where you got the Portable on ...

maybe your portable version is missing the native\*\ampa.sys


Your are right. I copied "ampa.sys" into "X:\Windows\System32\ampa.sys". Then, the portable version worked.
Is it possible to put "ampa.sys" into the WIM file, so that I don't have to copy it manually?

点评

Why not package it in your AOMEI_Protable.zip? PASsistant.exe will auto load the driver. The driver is not Windows system file, it maybe upgrade, so won't copy it, you can add it yourself. Or  详情 回复 发表于 2020-4-21 21:54
回复

使用道具 举报

3718#
 楼主| 发表于 2020-4-21 21:54:06 | 只看该作者
Matthew_Wai 发表于 2020-4-21 21:25
Your are right. I copied "ampa.sys" into "X:\Windows\System32\ampa.sys". Then, the portable  ...

Why not package it in your AOMEI_Protable.zip?
PASsistant.exe will auto load the driver.

The driver is not Windows system file, it maybe upgrade, so won't copy it,
you can add it yourself.

Or you can use "02-PEMaterial" to make it easy to be upgraded.

Z:\WimBuilder2\vendor\_PEMaterial_\
    AOMEI_Drivers\
          x64\ampa.sys
          x86\ampa.sys

    PEStartup.bat
    copy "%~dp0AOMEI_Drivers\x%_V8664%\ampa.sys" "%windir%\System32\drivers\"
回复

使用道具 举报

3719#
 楼主| 发表于 2020-4-21 22:04:54 | 只看该作者
本帖最后由 slore 于 2020-4-21 22:06 编辑
Matthew_Wai 发表于 2020-4-20 21:28
I am running an English version of Windows 10. In the screenshot below, under the WIM file path "K:\ ...

An English version of Windows 10 Can't show the traditional Chinese characters ...

You can use 7z.exe to open install.wim\
[1]\
[2]\
[3]\

check which one has \Windows\System32\tsdiscon.exe.

So you can select the [Index] of  install.wim to be it.


Or you can boot the PE that you built(zh-TW, SYSTEM account),
mount the ISO in PE.

Dism.exe /Get-WimInfo /WimFile:G:\source\install.wim /Index:1
Dism.exe /Get-WimInfo /WimFile:G:\source\install.wim /Index:2
Dism.exe /Get-WimInfo /WimFile:G:\source\install.wim /Index:3

to test it.

専業版 => Professional
企業版 => Enterprise
回复

使用道具 举报

3720#
发表于 2020-4-22 02:56:37 | 只看该作者
I can access the Internet via PPPoE connection on Win10XPE.
On installed Windows 10, the following command will start a PPPoE connection.(Rasdial "Broadband Connection" "Username" "Password")
On Win10XPE, it does not work. Is it possible to start a PPPoE connection via a command/script without having to enter the username and password via "rasphone.pbk"?

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2024-5-23 20:33

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表