|
本帖最后由 slore 于 2019-10-20 16:19 编辑
Yes, it is a bug. if you change the PEMaterial to Windows\PEMaterial.
You won't see User Logon UI, and logon SYSTEM account directly.
you can switch to Admin account, but can't switch back to SYSTEM account.
BUT:
The Desktop Contextmenu is OK, and the Pin to taskbar icon is OK. Not like your Gif image.
===============================================================================
gazi06 反馈了一个问题,确认是代码的疏忽。如果更改了PEMaterial的路径,
将无法看到登录界面,直接进入SYSTEM帐户。从SYSTEM帐户可以再切换到Admin用户,但是无法再切换回SYSTEM帐户。
Because, The wrong path for call the UI_Logon.
因为,PecmdAdmin.ini中的路径没有被更新,导致无法打开登录界面。
Z:\WimBuilder2\Projects\WIN10XPE\_CustomFiles_\PEMaterial\PecmdAdmin.ini
// MESS Switch to Administrator? @Switch to Administrator #YN *3000 $N
EXEC ="%ProgramFiles%\WinXShell\WinXShell.exe" -ui -jcfg "X:\PEMaterial\UI_LogonPE.jcfg"
TEAM SET YESNO=NO|IFEX #2=%ERRORLEVEL%,SET YESNO=YES
FIND $%YESNO%=YES,CALL ADMIN
How to Fix this:
修復方法:
Z:\WimBuilder2\Projects\WIN10XPE\00-Configures\Loader\main.bat
call TextReplace "%X_SYS%\Pecmd.ini" "X:\\PEMaterial\\" "X:\%opt[loader.PEMaterial]%\" g
call TextReplace "%X_SYS%\PecmdAdmin.ini" "X:\\PEMaterial\\" "X:\%opt[loader.PEMaterial]%\" g
goto :EOF
Preview Fixed PE:
修复后,预览:
Build a new PE in 37 seconds, and the run the VitualMachine to test it. ALL features is OK. (Before booting PE, there is 20 seconds stop, keep watch please.)
前37秒是 构建PE, 后面是 启动后操作。用户切换没有问题。 (中间怕GIF过大停留处理了下,构建后可能有20秒不动,请等待。)
|
|