|
Hi, nonameman
Windows explorer shell + Admin + DWM / without DWM + not reduced imageres.dll + Full Winre.wim / light WinSxS + full software hive / merge hive + even more PURE wimbuilder-master version from Github(i.e., original defualt version without my any modification)
- full software hive
- not reduced imageres.dll
This is done auto, you needn't set them.
你不需要选择使用完整的SOFTWARE注册表和替换完整imageres.dll文件
它们已经在下面的批处理中进行了处理。
WimBuilder2\Projects\WIN10XPE\prepare.bat
:BEFORE_HIVE_LOAD
if "x%opt[system.admin_enabled]%"=="xtrue" (
set opt[build.registry.software]=full
)
if "x%opt[build.registry.software]%"=="xfull" (
call AddFiles \Windows\System32\config\SOFTWARE
set REGCOPY_SKIP_SOFTWARE=1
)
goto :EOF
WimBuilder2\Projects\WIN10XPE\00-Configures\System\Admin\SwitchToAdmin.bat
+mui
;need install.wim's imageres.dll
imageres.dll
AuthExt.dll,InputSwitch.dll,twinapi.appcore.dll,Windows.UI.Immersive.dll
- Full Winre.wim / light WinSxS
It works with light WinSxS, so both them OK.
精简的WinSxS就可以启用Administrator帐户,设置成哪个选项都是可以的。
even more PURE wimbuilder-master version from Github(i.e., original defualt version without my any modification)
Win10 v1809 + pure wimbuilder-master + DEFAULT settings + Enable Admin Option + PECMD => Administrator Session
I just download it, copy PECMD patch, it is OK.
(The session confirm dialog don't show, because download from github, the WimBuilder2\Projects\WIN10XPE\00-Configures\System\Admin\X_SYS\PecmdAdmin.ini's line coding be changed to UNIX(LF), next code failed.)
- if %opt[system.admin_countdown]% GTR 0 (
- [b][color=Red]call TextReplace "%X_SYS%\PecmdAdmin.ini" "CALL ADMIN#r#n//CALL SWITCHTOADMINQUESTION" "#//CALL ADMIN#r#nCALL SWITCHTOADMINQUESTION"[/color][/b]
- call TextReplace "%X_SYS%\PecmdAdmin.ini" "#YN *3000 $N" "#YN *%opt[system.admin_countdown]%000 $N"
- )
复制代码
Win10 v1809 加上从github下载的wimbuilder-master,在默认选项的基础上选择 启用 Admin 帐户(需要PECMD补丁),将进入Administrator帐户。
我刚刚测试过是OK的。
(不过我发现 确认 是否使用Administrator还是SYSTEM帐户的对话框将不会显示,因为从github上下载的代码导致PecmdAdmin.ini配置文件的换行符变成了UNIX格式,导致配置文件替换处理失败。)
PECMD (2019-01-02) on reply #71
http://bbs.wuyou.net/forum.php?m ... DEyfDQxMTM5OQ%3D%3D
Do you miss the PECMD patch?
你是否沒有包含PECMD补丁?
@all/所有人
If your build failed, please rebuild with 1-Build(LOG), then "Open log folder", upload the last_wimbuilder.log file.
当你构建PE失败时,请选择 1-运行(日志) 进行构建,然后 “打开日志文件夹” 将 last_wimbuilder.log 文件上传上来。 |
|