ziegler Posted July 27, 2004 Share Posted July 27, 2004 The $OEM$ folder gets copies but the cmdlines.txt does not run?[COMMANDS]"net user test /add""net localgroup Administrators test /add""net accounts /maxpwage:unlimited";SetupMgrTag[Data] MsDosInitiated="0" UnattendedInstall="Yes"[unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=Yes WaitForReboot=No DriverSigningPolicy=Ignore TargetPath=\WINDOWS UnattendSwitch="yes"[GuiUnattended] AdminPassword=* EncryptedAdminPassword=NO OEMSkipRegional=1 TimeZone=35 OemSkipWelcome=1[branding] BrandIEUsingUnattended=Yes[GuiRunOnce] Command0="cmd /c md %systemdrive%\temp"; Command1="%systemdrive%\install\install.bat"; Command2="net user test test /add"; Command3="regedit /e %systemdrive%\temp\install_reg.txt"[identification] JoinWorkgroup=WORKGROUP[components] msmsgs=off zonegames=off[Proxy] Proxy_Enable=0 Use_Same_Proxy=0[Networking] InstallDefaultComponents=Yes[Display] BitsPerPel=24 Xresolution=800 YResolution=600 Link to comment Share on other sites More sharing options...
sfamonkey Posted July 27, 2004 Share Posted July 27, 2004 I know for a fact that you did a lot wrong in this file. I'm no expert on this but my file was I lot different. Here is a webpage that tells you how to do everything with an unattended xp install. http://unattended.msfn.org/ Go from step to step. It will explain everything. Good luck Link to comment Share on other sites More sharing options...
killerbee Posted July 28, 2004 Share Posted July 28, 2004 hi,first thing is to put all commands in cmdlines.txt in a seperate batch you call from cmdlines.txt like this:[COMMANDS]".\prepare.cmd"prepare.cmd:cmdow @ /HIDstart /wait net user test /addstart /wait net localgroup Administrators test /addstart /wait net accounts /maxpwage:unlimitedEXIThope this helps a bitcyaKiller Bee Link to comment Share on other sites More sharing options...
[BM]Crusher Posted July 28, 2004 Share Posted July 28, 2004 I know for a fact that you did a lot wrong in this file. I'm no expert on this but my file was I lot differentWhat is so wrong with his files? I can't see anything wrong with them...I agree with Bee though, it's a lot easier to call batch files from cmdlines.txt, although it shouldn't have caused yours to not work (there is no limitation of cmdlines.txt that states you cannot run dos commands, you can even use rundll inf installation via cmdlines.txt, without putting the commands into a batch file)be sure you have placed your cmdlines.txt in <CDROOT>\$OEM$ folder...maybe try logging the commands to see if they are actually running but with errors, try this:[COMMANDS]"net user test /add >%systemdrive%\cmdlines.log""net localgroup Administrators test /add >>%systemdrive%\cmdlines.log""net accounts /maxpwage:unlimited >>%systemdrive%\cmdlines.log" Link to comment Share on other sites More sharing options...
Alanoll Posted July 28, 2004 Share Posted July 28, 2004 i really don't see what he did wrong. True the batch files would be better however. The Winnt.sif looks fine. It's all about what HE wants his install to do.But, it could be that NET is not in the path that CMDLINES.TXT operates under. A batch file called from CMDLINES.TXT has different functionality then CMDLINES.TXT itself as the batchfile acutally initializes an environment and whatnot. 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