It is a very good PE loader but unfortunately it is in Chinese and since version 3.9.2010.1013 there are in addition the annoying start bar.
I have a doc, a little old, translated into English by Aye Htay.
To continue learning about pecmd, can you share your pecmd.ini.
About switch to Admin account (thanks to Dera), the process is really similar to that of pecmd.
1. Load your display driver and network
2. Switch to admin - (with switch user start menu shortcut) or Automatically (in this case, choose 'Autostart Before Shell' in PENetwork).
3. Switch back to system - (automatically or if needed by using Restart shell as system shortcut in start menu.)
Thanks SIW2 for net stop/start UxSms, I did not have yet in the script.
Anyway: The user switching works but it is a bit long. After the switch, there is no autorun.cmd or RunOnce currently (I believe pecmd allows it more easily)
It is not an ideal solution which would to be able to boot directly in Admin.
For easier use, I modified a bit the script xDisplay
Here are the batch files generated by the script:
SwitchUser.cmd StartMenu shortcut: System Tools\Switch user\Switch user to Admin
@echo off echo. ECHO ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ECHO ³ ³Û ECHO ³ Switch to the Admin user account automatically. ³Û ECHO ³ ³Û ECHO ³ Await the end of Network Startup... ³Û ECHO ³ ³Û ECHO ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ ECHO ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß Echo. Pause start /b /wait secedit.exe /configure /db %systemroot%\security\database\unattend.sdb /cfg %systemroot%\security\templates\unattend.inf /log %systemroot%\security\logs\unattend.log hiderun /w alogon.cmd tsdiscon.exe
Secedit.exe..... allows to Rename the Administrator Account in Admin (for multilanguage support) without password
the patch Security is in attachment with unattend.inf, unattend.sdb copied in %target_win%\Security
alogon.cmd called by SwitchUser.cmd
reg add "hklm\software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "DefaultDomainName" /t REG_SZ /d "Win7pese" /f reg add "hklm\software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "DefaultUserName" /t REG_SZ /d "Admin" /f reg add "hklm\software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "AutoAdminLogon" /t REG_SZ /d "1" /f reg add "hklm\software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "DefaultPassword" /t REG_SZ /d "" /f reg add "hklm\software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "ForceAutoLogon" /t REG_DWORD /d "0x00000001" /f reg add "hkcu\software\Microsoft\Windows\CurrentVersion\RunOnce" /v "psexec" /t REG_SZ /d "hiderun.exe /w psexec.cmd" /f
psexec.cmd (in RunOnce from alogon.cmd)
tskill explorer psexec -i -d -s explorer net stop UxSms net start UxSms