|
本帖最后由 a46872963 于 2020-7-3 09:22 编辑
/////////////////////////////////////////
// Switch to Administrator Init //
/////////////////////////////////////////
TEAM LOGS %WinDir%\System32\PecmdAdmin.log
//CALL ADMIN
CALL SWITCHTOADMINQUESTION
EXIT
////////////////////////////////////////////////////////////////////////////////////////////////
_SUB SWITCHTOADMINQUESTION
// Enable Mouse Cursor RegWrite,HKLM,0x4,Tmp_Software\Microsoft\Windows\CurrentVersion\Policies\System,EnableCursorSuppression,0 or Exec =Winpeshl.exe
EXEC =%WinDir%\System32\winpeshl.exe
// MESS Switch to Administrator? @Switch to Administrator #YN *5000 $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
LOAD %WinDir%\System32\Pecmd.ini
_END
////////////////////////////////////////////////////////////////////////////////////////////////
_SUB ADMIN
LOGO %WinDir%\web\wallpaper\Windows\img0.jpg
TEXT Switch to Administrator, please wait... # 0xFFFFFF L59 T39 $20*
IFEX %WinDir%\System32\winpeshl.log,!EXEC %WinDir%\System32\winpeshl.exe
CALL $Netapi32.dll,NetJoinDomain,,WORKGROUP,,,,1
EXEC !=LogonAdmin.bat PECMD
// TEXT Waiting for SYSTEM session ... # 0xFFFFFF L59 T39 $20*
EXEC ="%ProgramFiles%\WinXShell\WinXShell.exe" -luacode WaitForSession('SYSTEM')
TEXT "" # 0xFFFFFF L59 T39 $20*_END
////////////////////////////////////////////////////////////////////////////////////////////////
以上为pecmdadmin.ini 没有明白调用UI_Logon的语句后面添加-bk bk2.jpg指定背景图。背景图自己随便放到UI_Logon.zip中。这段话的意思 具体是哪句 麻烦给添加下
|
|