Natio Posted April 19, 2008 Posted April 19, 2008 Greetings, i am Natio.I have a single question for you guys.i am using Cmdlines.txt for my applications that i want installed in an unattended windows XP version.Now i reached the user adding section in the fine guide by Alanoll.It tells me to add another line to Cmdlines.txt, however i dont know which one to put first :/My Cmdlines.txt looks like this:"RunOnceEx.cmd"Can you guys help me here? Thanks very much in advance -Nate.
ricktendo Posted April 19, 2008 Posted April 19, 2008 (edited) You put cmdlines.txt and RunOnceEx.cmd in a folder on your CD named $OEM$WPI can also install apps during 1st login, it also uses cmdlines.txthttp://www.wpiw.net/The_Dark_Side/help.html Edited April 19, 2008 by ricktendo64
Natio Posted April 19, 2008 Author Posted April 19, 2008 Yes i know, but the info the guide wants me to add to the cmdlines.txt is:"useraccounts.cmd"and i dont know which one to put first
ricktendo Posted April 19, 2008 Posted April 19, 2008 You can add multipple commands to cmdlines.txtAnd I don't think the order will matter much
Martin H Posted April 19, 2008 Posted April 19, 2008 (edited) It dosen't matter, so just place it wherever you wan't.It only matters if the batchfiles depends upon eachother, like e.g. if one sets up a user and the other edits something about that user account(ok, a little bad example, but just to show a scenario), then of course the one which sets up the user needs to come first, but in this case it's irrelavant...Edit: Beaten by ricktendo64 Edited April 19, 2008 by Martin H
Natio Posted April 19, 2008 Author Posted April 19, 2008 You can add multipple commands to cmdlines.txtAnd I don't think the order will matter muchOkay, thanks for the advice, i will try But what would be most logical to do for the computer first: make users OR Install programs from RunOnceEx ?
ricktendo Posted April 19, 2008 Posted April 19, 2008 I suspect all RunOnceEx.cmd will do is add a reg entrie... It wont actually do anythingBTW cmdlines.txt will get executed when there are 13 mins left in your install, it will make your user account (useraccounts.cmd) and add a reg entrie to run your silent installs on 1st login (RunOnceEx.cmd)
Martin H Posted April 19, 2008 Posted April 19, 2008 (edited) As i said, then it dosen't really matter what you place first, but i would personally incorporate both the user-accounts batchfile + the RunOnceEx batchfile into one single batchfile.I would then just add something like this to the beginning of my RunOnceEx.cmd file :net user "Martin Hertz" xxxxx /addnet localgroup Administrators "Martin Hertz" /addnet accounts /maxpwage:unlimitedset key="HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon"reg add %key% /v DefaultUserName /d "Martin Hertz" /freg add %key% /v DefaultPassword /d xxxxx /freg add %key% /v AutoAdminLogon /d 1 /f Edited April 19, 2008 by Martin H
Natio Posted April 19, 2008 Author Posted April 19, 2008 As i said, then it dosen't really matter what you place first, but i would personally incorporate both the user-accounts batchfile + the RunOnceEx batchfile into one single batchfile.I would then just add something like this to the beginning of my RunOnceEx.cmd file :net user "Martin Hertz" xxxxx /addnet localgroup Administrators "Martin Hertz" /addnet accounts /maxpwage:unlimitedreg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultUserName /d "Martin Hertz" /freg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultPassword /d xxxxx /freg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoAdminLogon /d 1 /fOk thx a bunch
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