greywolf83 Posted August 1, 2005 Share Posted August 1, 2005 I'm setting up an unattended disc to be deployed on all kinds of machines, and I need a way to input the product key and pc-name before the installation...This way I can insert the information and walk away and return with a fresh install of XP, instead of waiting for it to ask me somewhere in the middle. Any ideas?Thanks! Link to comment Share on other sites More sharing options...
pawan Posted August 1, 2005 Share Posted August 1, 2005 Extract and run setupmgr.exe (from:xpcd\SUPPORT\TOOLS\Deploy.cab).Add all the information needed (product key, computer name,resolution and other setting) this will create a unattend.txt file rename it to winnt.sif and put it in your i386 folder burn a bootable CD and enjoy.Pawan Link to comment Share on other sites More sharing options...
Incroyable HULK Posted August 2, 2005 Share Posted August 2, 2005 DUH! .. ! Link to comment Share on other sites More sharing options...
marko2002 Posted August 2, 2005 Share Posted August 2, 2005 DUH! .. !<{POST_SNAPBACK}>I think the guy actually means inserting the PC name/key 'BEFORE' the installation process starts rather than half way through the process!. Would be nice to have such a facility. Link to comment Share on other sites More sharing options...
Incroyable HULK Posted August 2, 2005 Share Posted August 2, 2005 In that case, he should put the winnt.sif file on a floppy disk... Link to comment Share on other sites More sharing options...
greywolf83 Posted August 2, 2005 Author Share Posted August 2, 2005 The process of creating a WINNT.SIF is well known to me. It is not a viable solution for my deployment. I am creating a CD that will be installed on MANY computers. Using the WINNT.SIF method, when I install it on 50 PCs, they will all have the same product keys and name. Not a good thing. Any ideas? Please don't assume im a total n00b. I have read the enitre MSFN unattended guide. Link to comment Share on other sites More sharing options...
marko2002 Posted August 2, 2005 Share Posted August 2, 2005 In that case, he should put the winnt.sif file on a floppy disk...<{POST_SNAPBACK}>I'm sure we'd all be most grateful for a little more info regarding the process Link to comment Share on other sites More sharing options...
greywolf83 Posted August 2, 2005 Author Share Posted August 2, 2005 By the way, many of the PCs I am installing this on will be laptops...no floppy drive. I'm sure there is a solution that will run from CD alone. Link to comment Share on other sites More sharing options...
Incroyable HULK Posted August 2, 2005 Share Posted August 2, 2005 (edited) I think you can leave your product key empty so it will ask for it later (not during the install) I remember reading something about that long ago.** EDIT ** I think it is related to sysprep... old memory...For the computer name, you can leave a * which will result in a random generated name based on the Organisation Name... Edited August 2, 2005 by Incroyable HULK Link to comment Share on other sites More sharing options...
marko2002 Posted August 2, 2005 Share Posted August 2, 2005 I think you can leave your product key empty so it will ask for it later (not during the install) I remember reading something about that long ago.** EDIT ** I think it is related to sysprep... old memory...For the computer name, you can leave a * which will result in a random generated name based on the Organisation Name...<{POST_SNAPBACK}>I tried using this method a while ago myself, and although it does produce a rather annoying error message (using WINNT.SIF) it still does allow you to carry on and enter the required info. Link to comment Share on other sites More sharing options...
Thinkster Posted August 2, 2005 Share Posted August 2, 2005 I think it would be pretty hard to do because when on CD, winnt.sif is Read only and to do what you need to do, it seems like a portion of winnt.sif would need to be re-written depending on which PC it' being installed to.I was recently faced with the same sort of need, but I ended up just using an OEM 'Master Install' product key and a generic PC Name. After the installation, my postinstall script kicks in and then the cleanup script also checks the PC's hardware address and finds what the correct Computer name & Product key should be and 'writes' that into the sysprep configuration file. Then sysprep kicks in and after it's all done, PC has correct name & Product key! Link to comment Share on other sites More sharing options...
Achdine Posted August 2, 2005 Share Posted August 2, 2005 Multiboot a Bart/Win PE with your Windows install. Boot to the PE, prompt for the data, write it to a WinNT.sif file in the ramdisk, then call Win32.exe /unattend:<path to WinNT.sif> /s:<path to I386 dir> There are several projects here at MSFN that can help you with this, check out this post in the PE forum specifically. Search may bring up some more, similar topics.If that sounds like a lot of work to you, you can just run a program after the install to change dummy settings in your WinNT.sif. You can add users, set passwords, change the owner/organization/computer name/workgroup/serial number, all after the install. This is how I do it; I've written a script that prompts the user to enter the data so they don't have to enter info at various odd times during the install.The computer name is in the registry in these two places (although I'm not entirely sure you need to change the second...?) HKLM\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName\ComputerNameHKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\NV Hostname If you want to do this step entirely unattended, look at compname.exe to generate a computer name based on serial numbers, UUIDs, IPs, hostnames, dates, or random characters.For changing the product key, look at this MS support article. Although it says the method is for SP1 it should still work for SP2.Hope this helps. Link to comment Share on other sites More sharing options...
ZileXa Posted August 7, 2005 Share Posted August 7, 2005 You could also decide to perform these tasks at the end (you still have to create users before you begin, install network etc). In that case you can use WIHU, try a search. Link to comment Share on other sites More sharing options...
musicboy Posted August 7, 2005 Share Posted August 7, 2005 I think you can use the factory mode to do a Master install on one computer,then create an image,ghost to the other computer.This computer will start with oobe,and in this section you can input the product Key and create the computer name and users differently.This just like you buy a computer preinstalled OEM XP. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now