StormLogiX Posted November 9, 2004 Share Posted November 9, 2004 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??? Link to comment Share on other sites More sharing options...
BenjaminKalytta Posted November 9, 2004 Share Posted November 9, 2004 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 Link to comment Share on other sites More sharing options...
StormLogiX Posted November 9, 2004 Author Share Posted November 9, 2004 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now