oioldman Posted October 8, 2004 Share Posted October 8, 2004 Hello,Apologies if in wrong section, wasn't sure if best placed in here or the Networks one, though it is unattended related.Anyway,My build works fine and apps install no problems.I have my winnt.sif set to ask me for the ComputerName, this i need and works as expected, install stops at this point, i type it in, it carries on as wanted.I would like this to also happen at the Network Components section as well, so i can manually apply a static IP Address. I know about adding the[Networking]InstallDefaultComponents=Noand adding the params section, which is fine for 1 PC. I have 12 to do and so need to manually do this prefereably during the install, and not at the end.I have tested with,NO - [Networking] sectionYES - [Networking] - set to NO and YESNOT TRIED - [Networking] - NO . params blankSo, would the NOT TRIED, option actually do it or am i going to have to wait and manually do at end.Please don't mention RIS or GHOST etc as these aren't a viable option for many many reasons.Any help, suggestions appreciated. Link to comment Share on other sites More sharing options...
tguy Posted October 14, 2004 Share Posted October 14, 2004 Review the ref.chm help file in the deploy.cab file located in the Support Tools directory on your source CD. It has the answers you are looking for.tguy Link to comment Share on other sites More sharing options...
oioldman Posted October 24, 2004 Author Share Posted October 24, 2004 @tguy,thanks for your response. Unfortunately I couldn't find the bit that made it clear to do what I want.I understand how to do[Networking] InstallDefaultComponents=NoOR[Networking] InstallDefaultComponents=YesThough neither of these work. Have also done BOTH of the above with[NetAdapters] Adapter1=params.Adapter1[NetClients] MS_MSClient=params.MS_MSClient[NetServices] MS_SERVER=params.MS_SERVER[NetProtocols] MS_TCPIP=params.MS_TCPIP[params.MS_TCPIP] DNS=No UseDomainNameDevolution=No EnableLMHosts=Yes AdapterSections=params.MS_TCPIP.Adapter1[params.MS_TCPIP.Adapter1] SpecificTo=Adapter1 DHCP=Yes ----------> Yes or No WINS=No NetBIOSOptions=0and I don't get asked.There must be a way of doing this, just having trouble working it out, and banging hesad on wall is starting to cause large bruises. With DHCP=No, i was asked to enter username and password to add to domain, but having no IP details, it failed, which was expected.Does anybody, have any ides on how i can get it to allow me to enter a static IP Address and DNS please, The IP Address is to cThank you. Link to comment Share on other sites More sharing options...
mikemooney Posted October 24, 2004 Share Posted October 24, 2004 oioldmanhey, it is possible to add an address using the "netsh" command from a dos prompt. Maybe you could add the address to your runonce batch file and it will apply the address after you first log on.....for example, the 3 lines below add Ip, subnet mask and dns server to a connection called "Lan"netsh interface ip add address "Lan" 192.168.1.2 255.255.255.0netsh interface ip add address "Lan" gateway=192.186.1.254 gwmetric=3netsh interface ip add dns "Lan" 192.168.1.1The name "lan" = the name of the network connection you want to apply the address to, i think the default is "Local area Connection"hope this helps.mike. Link to comment Share on other sites More sharing options...
oioldman Posted October 24, 2004 Author Share Posted October 24, 2004 @mikemooneyBut that needs to be done at the end, after it is all built, in which case, i may as well do the usual way.Thanks for idea though Link to comment Share on other sites More sharing options...
edmoncu Posted October 24, 2004 Share Posted October 24, 2004 @mikemooney:tried your advise, seems to work... although i wanna set a static ip on my LAN connections.here's the commands i didnetsh interface ip set address name="Local Area Connection" static 192.168.0.1 255.255.255.0netsh interface ip set address name="Local Area Connection 2" static 192.168.0.2 255.255.255.0 Link to comment Share on other sites More sharing options...
erik_demon Posted October 24, 2004 Share Posted October 24, 2004 This methode works like a charm.This was exactly what I was looking for.You can also install TCP/IP version 6 this way.Add this to your batch.netsh interface ipv6 installNow there is still one thing that I have to know.Is there a way to install the "NWLink IPX/SPX/NetBIOS-compatibelprotecol" in a simular way. (And I don't want to use winnt.sif)?I used the help function of netsh, and I could'nt find it. Link to comment Share on other sites More sharing options...
Yzöwl Posted October 24, 2004 Share Posted October 24, 2004 Try Something like this in your winnt.sif[params.MS_TCPIP.Adapter1] SpecificTo=Adapter1 DHCP=No DisableDynamicUpdate=Yes DNSServerSearchOrder=192.168.1.1 EnableAdapterDomainNameRegistration=No DefaultGateway=192.168.1.1 IPAddress=192.168.1.3 SubnetMask=255.255.255.0 WINS=No NetBIOSOptions=2This should do for most routers still using the default 192.168.1.x range in the factory presets. I would probably be tempted to change the IP Address to something like 192.168.1.12, just to prevent future network conflicts with anything still using DHCP. Link to comment Share on other sites More sharing options...
mikemooney Posted October 24, 2004 Share Posted October 24, 2004 oioldmanthe netsh command works like a charm in the runonce command, i've just deployed alot of servers using this method. the post by Yzöwl looks spot on and just proves how good an uattended file can be........what i want to know now is, just how much can be done in an unattended script? can you completely customize every aspect of a server or client install? if so, please post ur scripts.....thanksmike Link to comment Share on other sites More sharing options...
noclist Posted October 24, 2004 Share Posted October 24, 2004 oioldman@If you put:[Unattended]UnattendMode = GuiAttendedThis should give you the opportunity to fill out the network screen during install.be aware, if you have any custom dirs such as 'Profilesdir=whatever', it will not be implemented and winxp will just create the default dirs. Anyway that's what happened when I used the GuiAttended value. Maybe someone more experienced has a better answer. Link to comment Share on other sites More sharing options...
oioldman Posted October 25, 2004 Author Share Posted October 25, 2004 Guys,Thanks for all your replies.I'll have a look at the one offered by noclist, as doing the one by Yzöwl, is fine, but I have 10 PC's to do this on, and unless I can find a way to choose which .sif file to use.Hopefully i'll be able to do tonight, and will update. Link to comment Share on other sites More sharing options...
Yzöwl Posted October 25, 2004 Share Posted October 25, 2004 but you have, the installation will look for winnt.sif in floppy drive first Link to comment Share on other sites More sharing options...
oioldman Posted October 26, 2004 Author Share Posted October 26, 2004 Could do this way, and change the IP address for each PC on it - bit of a pain though.Well had a go with doing =>all settings no ip - no requestall settings with ip - all worksjust need to start configuring, because i'm sure some settings will trigger it to appear, just gotta work out which ones.Am determined enough that hopefully 'll get a result and will update Link to comment Share on other sites More sharing options...
Krokodox Posted October 26, 2004 Share Posted October 26, 2004 Hi folks!I have added a small tutorial in how to do custom IP settings for multihomed adapters, the example shows how to implement it with RIS based setup, but the principle is the same as for a conventional manual setup :-)Instructions for custom TCP/IP during setup, with or without RISEnjoy! Link to comment Share on other sites More sharing options...
oioldman Posted November 1, 2004 Author Share Posted November 1, 2004 Folks,Thanks for all you help.I have managed to get it to do as wanted =>winnt.sif looks like this[Identification] JoinDomain=domainame => change to suit own CreateComputerAccountInDomain=Yes MachineObjectOU="OU=server1, DC=home, DC=co.uk" => change to suit own DomainAdmin=domainname\administrator => change to suit own DomainAdminPassword=.................. => change to suit own[Networking] InstallDefaultComponents=No[NetAdapters] Adapter1=params.Adapter1[NetClients] MS_MSClient=params.MS_MSClient[NetServices] MS_SERVER=params.MS_SERVER[NetProtocols] MS_TCPIP=params.MS_TCPIP[params.MS_TCPIP] DNS=No UseDomainNameDevolution=No EnableLMHosts=Yes AdapterSections=params.MS_TCPIP.Adapter1[params.MS_TCPIP.Adapter1] SpecificTo=Adapter1 DHCP=No WINS=Yes NetBIOSOptions=0 IPAddress= SubnetMask= DNSServerSearchOrder= WinsServerList=[Proxy] Proxy_Enable=0 Use_Same_Proxy=0[params.Adapter1] INFID=*and it forces the box to appear as the domain info is wrong. So, you click Back once, enter the IP details as needed, and then add into the domain. Works like a charm.Hope it helps anybody else. 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