November 9, 200421 yr Hello,i'm starting WIHU directly from CD-Rom using the RunOnceEx from CD (http://unattended.msfn.org/xp/runonceex_cd.htm) method:my "\OEM$\cmdlines.txt" contains:[COMMANDS]"\WIHU\runonce.cmd"my "\WIHU\runonce.cmd" contains:@echo offSET CDROM=%CD:~0,2%SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Customization..." /fREG ADD %KEY%\001 /VE /D "WIHU..." /fREG ADD %KEY%\001 /V 1 /D "%CDROM%\WIHU\wihu.exe" /fWorks perfectly.What i still don't understand is:Why is the "new user" and "password" input disabled?And "new user has admin rights" is disabled??And the "use logged in user" is selected by default???
November 9, 200421 yr This is because WIHU is started at T-12. At this stage WIHU prevents creating an primary user account because "Secondary Logon" service isn't running at this time.This mean you can't install any software under this newly created user account.Of course, creating additional accounts is still possible on second dialog page of WIHU.Benjamin
November 9, 200421 yr Author Actually the RunOnceExec is running after installation is finished and first logon with Administrator account has occured... so everything should be working normal with this method.But thanks that you mentioned the "Secondary Logon" service. I had actually removed it with NLite. That was the culprit. I just tested it with "Secondary Logon" service enabled and then everything works like a charm. Thanks
Create an account or sign in to comment