Re: OSD Image Install CD with Static IP



OK, that part sounds good. But unfortunately, with our current
infrastructure, each user is assigned a different range of IP's for
their VLAN. Is there a way that the user can enter in their IP info
instead of me editing winbom.ini?


Johan Arwidmark wrote:
Yes it is...

You can set ip, sub and default gateway via winbom.ini (but not dns)
dns can be set wih a simple vbscript (requires winpe 2005)

sample winbom.ini

[Factory]
WinBOMType=WinPE
Reseal=No

[WinPE]
Quiet=Yes
Restart=No

[WinPE.Net
StartNet = Yes
IPConfig = 192.168.16.250
Gateway = 192.168.16.2
Subnetmask = 255.255.255.0

[PnPDriverUpdate]

[PnPDrivers]

[NetCards]

[UpdateInis]

[FactoryRunOnce]

[Branding]

[AppPreInstall]


Sample script: setdns.vbs

On Error Resume Next

strComputer = "."
strDNSHostName = "client1"
strDNSDomain = "tslab.net"
arrDNSServerSearchOrder = Array("192.168.16.2", "192.168.16.3")
arrDNSDomainSuffixSearchOrder = Array("tslab.net")

Set objWMIService =
GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer
& "\root\cimv2")
Set objNicConf =
objWMIService.Get("Win32_NetworkAdapterConfiguration")

intEnableDNS = objNicConf.EnableDNS(strDNSHostName, strDNSDomain,
arrDNSServerSearchOrder, arrDNSDomainSuffixSearchOrder)

Note: some lines may have been wrapped by the newsreader


regards

Johan Arwidmark
Microsoft MVP - Setup/Deployment


On 14 Jul 2006 10:47:30 -0700, jcaswell@xxxxxxxxx wrote:

Is there any way that I can boot a client up using the OSD Image CD,
and then assign a static IP address before attempting to connect to the
SMS DP? We have a some systems on a network where there is no DHCP
server and all clients have static IP's.

.


Loading