un4given1 Posted October 14, 2003 Posted October 14, 2003 Ok. I do not do unattended CDs, I deal with RIS. It's a completely different beast all together, but basically the same. My question is, what method are you all using to import reg keys during cmdlines.txt? I am unsuccessful each time I try to do it. I do not need to see everyone's regkeys, just the command to import them. I thought it was "regedit /s something.reg" but that does not seem to work for me during cmdlines.txt.Thanks!Edit: I just wanted to point out... the working directory during RIS cmdlines.txt is "$win_nt$.~ls\$OEM$" Just in case anyone asks.
jonnywi Posted October 14, 2003 Posted October 14, 2003 {$oem$\Cmdlines.txt}[Commands]".\cmdlines.bat"{/$oem$\Cmdlines.txt}{$oem$\Cmdlines.bat}call a:\cmdlines.bat{/$oem$\Cmdlines.bat}{a:\cmdlines.bat}@echo offecho Installing Registrytweaksa:cd a:\cd regcall _doit.batecho Creating a New UserNET USER jonny /ADDNET LOCALGROUP ADMINISTRATOREN jonny /ADDecho hier kann noch das programm xpantispay aufgerufen werden, denn die einstellungen gelten für alle user!!!!{/a:\cmdlines.bat}{a:\reg\_doit.bat}for %%A in (*.reg) do regedit /s "%%A"{/a:\reg\_doit.bat}
Numinous Posted October 14, 2003 Posted October 14, 2003 im using the reg command directly from cmdlines.txt.. e.g:REG ADD HKLM\System\CurrentControlSet\Services\Messenger /v Start /t REG_DWORD /d 0x00000004 /f
GreenMachine Posted October 14, 2003 Posted October 14, 2003 It's all relative ... I mean I do it using relative paths, from CMDLINES.TXT[COMMANDS] "REGEDIT /S .\REGFILE.REG"File Path is <DISTRIBUTION ROOT>\$OEM$\REGFILE.REG.
un4given1 Posted October 14, 2003 Author Posted October 14, 2003 Greenmachine: As I said before... it is not a CD build. It is on RIS. The file path is actually c:\$win_nt$.~ls\$OEM$\ I have been trying to launch it from both the cmdlines.txt and a batch file. I will attempt to use the ".\" path as I would have been already, but that is one thing I forgot Thanks for your help guys. I will give it a try and let you all know how it turns out
un4given1 Posted October 14, 2003 Author Posted October 14, 2003 Actually... I don't know if I will be able to give it a try today. We are migrating from a Windows 2K Server box to a new Windows Server 2k3 box some time this morning. I will let you all know when I have had a chance to give it a try.Thanks for your help guys
GreenMachine Posted October 14, 2003 Posted October 14, 2003 Musta misread ... post updated. I remember trying without the ".\", and ran into problems. Knowing me, there must be a reason I left it in.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now