donbi Posted August 26, 2004 Share Posted August 26, 2004 Hi,I would like to know if it's possible to do a full unattended install of xp and then at the first boot, the setup prompt for computer name and name & org ?Thanks,Donbi Link to comment Share on other sites More sharing options...
twindude Posted August 26, 2004 Share Posted August 26, 2004 full unatttend ????if you leave these out then it will prompt you for them.....if you want it to build and then ask for new name..........maybe a bat file to load under runonce so after you reboot the first time it could put a admin box......for these.....not sure of the bat file...? Link to comment Share on other sites More sharing options...
IcemanND Posted August 26, 2004 Share Posted August 26, 2004 Here's the VBscript I use to do this. I run it out of RunOnce.It has one argument which is optional:CHGOWN.VBS [NEW COMPUTER NAME]if the argument exists it runs silently.NOTE: A reboot is still required after running.2nd NOTE: it will not let you cancel or close you have to click OK or kill it in the device manager.CHGOWN.vbsOption Explicitset args = WScript.ArgumentsSet ws = WScript.CreateObject("WScript.Shell")Dim args, ws, t, p2, p3, p4, p5, n, j, h, f, k, cjDim itemtype,numnum=args.countif num >0 then cj=args.Item(0)p2 = "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\ComputerName\ComputerName\"p3 = "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters\"p4 = "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName\"p5 = "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\"j = ws.RegRead(p2 & "ComputerName")h = ws.RegRead(p3 & "NV Hostname")f = ws.RegRead(p4 & "ComputerName")k = ws.RegRead(p5 & "NV Hostname")t = "Compuer Name Change Utility"if num=0 then do cj = InputBox("Type new Computer name and click OK", t, j) loop while cj=""end ifIf cj <> "" Thenws.RegWrite p2 & "ComputerName", cjws.RegWrite p3 & "NV Hostname", cjws.RegWrite p4 & "ComputerName", cjws.RegWrite p5 & "NV Hostname", cjEnd If Link to comment Share on other sites More sharing options...
lloydspnm Posted August 27, 2004 Share Posted August 27, 2004 CurrentControlSet is a pointer to the control set that was used to boot the PC (usually ControlSet001) so you only actually need to change CurrentControlSet. There may be up to four control sets. Link to comment Share on other sites More sharing options...
donbi Posted August 27, 2004 Author Share Posted August 27, 2004 Hi Thanks to all for the responses, but i don't want a tool or a script to do this, i would like to use the mini-setup after the welcome screeen...For the tools, i've find this 2 :Compnamehttp://www.willowhayes.co.uk/Baptizehttp://www.univ-st-etienne.fr/pub/systeme/...ers/baptize.txthttp://www.univ-st-etienne.fr/pub/systeme/...ers/baptize.exebut i really want to do this with the mini-setup if possible... i've already seen kind of setup in branded pc when you power on the first time, it's only ask you for your name, company but not installing windows... I think sysprep is used but i don't understand how to integrate in my unattended cd...Donbi Link to comment Share on other sites More sharing options...
sleepnmojo Posted August 27, 2004 Share Posted August 27, 2004 Why don't you write a batch file to do it.@ECHO OFFset /p name="Computer Name:"compname /c %name% Link to comment Share on other sites More sharing options...
evilvoice Posted August 27, 2004 Share Posted August 27, 2004 I have a question...where does the winnt.sif computer name get put into registry? is it the key that IcemanND gave us? Link to comment Share on other sites More sharing options...
donbi Posted August 27, 2004 Author Share Posted August 27, 2004 @sleepnmojo : I've listed this tools for whose that want to use batch...I would like to know if someone use sysprep for doing that...donbi 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