|
本帖最后由 527104427 于 2023-8-28 12:01 编辑
exec -incmd pecmd team TEXT 长按 S 键快速加载SYSTEM桌面#0xC0C0C0 L36 T24 $24:微软雅黑| Wait 5000| TEXT
Wait 5000
INIT
ENVI $ AppData=X:\Users\Default\AppData\Roaming
SET SYS=FALSE
//加载系统初始化配置
FORX !\PETOOLS\SYSInit.ini,MyIni,1,LOAD %MyIni%
//启动服务
EXEC !=net start ProfSvc
EXEC !=net start gpsvc
EXEC !=net start SENS
IFEX KEY=#0x53,CALL SYS_SHELL
//PE初始化
EXEC !=%SystemRoot%\System32\wpeinit.exe
//预创建管理员账户
EXEC !="x:\Program Files\Admin\PreCreateAdminProfile.bat"
//Admin登录
FIND $FALSE=%SYS%,CALL ADMIN_SHELL
_SUB SYS_SHELL
SET SYS=TRUE
TEXT
//加载初始化配置
EXEC !=PEConfig\Run.cmd Init
//加载Shell
SHEL %SystemRoot%\Explorer.exe
//加载登录后配置
EXEC !PEConfig\Run.cmd Run
//加载外置扩展
EXEC !=REG DELETE HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce /v Init /f
LOAD %SystemRoot%\System32\LoadPEInit.ini
_END
_SUB ADMIN_SHELL
TEXT
EXEC !%SystemRoot%\System32\tsdiscon.exe
EXEC !PEConfig\Run.cmd Init
_END
|
|